Code librariesReviewed · evalstate

fast-agent: Python framework and CLI for MCP-enabled LLM agents

fast-agent is an Apache-2.0 Python library and command-line tool for developers building AI assistants and multi-step AI workflows that connect to MCP servers. The README describes using hosted model providers, an OpenAI Codex plan or local models, but supplies no pricing, and it leaves several requirements unstated. It defines agents with Python decorators and offers chain, parallel, router, orchestrator, evaluator-optimizer, MAKER and agents-as-tools workflows. It also provides an interactive terminal session with optional shell access, MCP OAuth, Agent Skills (SKILL.md) support and an ACP entry point.

Researched 14 Nov 2026

In short.

fast-agent is an Apache-2.0 Python library and command-line tool for developers building AI assistants and multi-step AI workflows that work with MCP servers. The README describes using hosted model providers, an OpenAI Codex plan or local models, but supplies no pricing, and it does not state versions, Python requirements or shell-safety guidance. Per the README, agents are declared with Python decorators (@fast.agent, @fast.chain, @fast.parallel, @fast.router, @fast.orchestrator, @fast.evaluator_optimizer, @fast.maker) and configured in fast-agent.yaml. The tool also offers an interactive terminal mode with shell support, a skills registry, MCP OAuth, and model selection across Anthropic, OpenAI, Google and others. Nothing here was executed or tested; this report rests only on the README, LICENSE and NOTICE captured at one source revision.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is the single file README.md in evalstate/fast-agent at revision c551658338782a5fd7feb161902504c8cf429e6d. The repository LICENSE (Apache 2.0) and NOTICE (OpenAI Codex attribution) were read as the related licence notices and sit outside the selected file itself. Everything else in the repository was excluded: source code, the docs/ directory, examples, tests, the PyPI listing and the documentation website. No software was installed or executed, so all behaviour, setup steps, claims about MCP support and model compatibility, costs of model usage and security properties are reported from the README text only and remain untested.

The overview

What this is

fast-agent is an open-source project in the evalstate/fast-agent GitHub repository, published on PyPI as fast-agent-mcp. The README calls it a flexible way to interact with LLMs, suited to use as a coding agent, development toolkit, evaluation tool or workflow platform. It is CLI-first, with an optional prompt_toolkit-based interactive prompt and live streamed output via rich.

The LICENSE file gives the copyright holder as llmindset.co.uk (2025). The README says the project builds on the mcp-agent project by Sarmad Qadri. The README says it can be used from the command line (uvx or an installed fast-agent command) or as a Python library (from fast_agent import FastAgent).

The reviewed file is the repository README.md at source revision c551658338782a5fd7feb161902504c8cf429e6d. The README points to [https://fast-agent.ai] for the latest documentation and says docs are also kept under docs/ in the repository; neither the docs site nor the source code was part of the material reviewed.

Overall assessment

On the evidence of the README, fast-agent is a substantial and actively described project, not a stub. It has many concrete code examples, parameter listings for every workflow type, configuration snippets for OAuth, ping and sampling, and a docs-generation process. That makes it a plausible fit for developers who want a lightweight, declarative way to compose agents around MCP servers.

This is an assessment of documentation only. Nothing was installed or run, so reliability, output quality, performance and the accuracy of the README's claims are not assessed. Several statements are the maintainers' own marketing claims: it is described as the first framework with complete, end-to-end tested MCP feature support, and as the only tool that lets you inspect Streamable HTTP transport usage. These are not independently verified here.

Main catches: you need to configure model access yourself, and the README gives no pricing for it. The README documents shell commands entered with ! and shell-enabled launch flags; agent-initiated execution permissions and safeguards are not established by this file. The README also does not state a version, supported Python versions or operating-system support beyond a Windows note.

Who it is for

The README targets developers comfortable with a terminal and Python who want to build agent applications, run a coding agent in a shell, test how different models interact with MCP servers, or prototype workflows such as routing, fan-out/fan-in and evaluator loops. It also mentions use for evaluation work and for exposing an agent as an MCP server (uv run agent.py --transport http --port 8001).

Beginners can start with the single-agent sizer.py example and the one-line interactive launch, but the tool assumes you can edit YAML config files and understand concepts like MCP servers and model strings. If you choose a hosted model provider, you may also need whatever credentials that provider requires; the README does not detail them. People wanting a graphical interface are not served by this README, which stresses a CLI/TUI-style experience without full-screen GUI overlays.

Windows users are warned that the Filesystem and Docker MCP server examples need configuration changes, which the README says are detailed in the configuration files (not reviewed here).

What it can do

Agents and workflows: define agents with an instruction, optional MCP servers, a model, history setting, request parameters and human-input permission. Compose them with chain (sequential), parallel (fan-out then optional fan-in), router (LLM picks an agent), orchestrator (LLM plans a task across agents, full or iterative), evaluator-optimizer (generator and evaluator loop up to a refinement limit) and MAKER (repeated sampling of a worker agent until one answer leads by k votes, referencing arXiv 2511.09030). Agents can also be exposed as tools to another agent, with multiple tool calls per turn executed in parallel and configurable limits such as max_parallel and child_timeout_sec.

Tools and MCP: connect to stdio or streamable HTTP MCP servers (the /connect command or fast-agent.yaml), register plain Python functions as tools with @agent.tool or @fast.tool, apply MCP prompts, configure sampling per server, and use MCP elicitations. The README lists support for MCP Apps and the OpenAI Apps SDK, and says it includes transport diagnostics and optional MCP ping (default 30 seconds, 3 missed pings).

Interactive use: a terminal session with shell support (the ! prefix), a /skills command with a default registry of skills (the README mentions LSP setup, agent and tool hooks, compaction strategies and automation), Agent Skills via SKILL.md, card packs started with --pack (examples named hf-dev, codex and analyst), and ACP client compatibility through fast-agent-acp.

Models: native support is claimed for Anthropic, OpenAI and Google, plus Azure, Ollama, Deepseek and dozens of others via TensorZero, a generic provider for local models, and a command (fast-agent model llamacpp) to generate llama.cpp configuration. Structured outputs, PDF and vision input are described as supported. Passthrough and Playback LLMs are described for developing and testing Python glue code. Model strings accept query overrides such as ?reasoning=low or ?web_search=on.

Using it

What you need

Stated in the README: the uv Python package manager (linked at [https://astral.sh/uv]), the fast-agent-mcp package, and a model to talk to. With no configured model an interactive run opens a model picker, while automation and server runs must pass --model, set FAST_AGENT_MODEL, set default_model in config, or declare a model on the agent.

Provider credentials are implied for hosted models (a secrets file named fast-agent.secrets.yaml sits beside fast-agent.yaml in the fast-agent home), but the README does not list exact environment variables or key names. Hugging Face inference providers and an OpenAI Codex plan are named as options for the --pack hf-dev and --pack codex starts; account requirements for those are not detailed.

Not stated in the README: the minimum Python version, supported operating systems other than the Windows note, prerequisites for launching example MCP servers (for instance @modelcontextprotocol/server-everything), the current release version, and hardware needs for local models. These remain unknown from this evidence.

How it works

Agents are declared in a Python file with decorators on an async main function. A FastAgent application object runs them inside an async context (async with fast.run() as agent) and you call an agent by name, send a message, or open interactive chat. Prompts and configurations are described as living in simple files for version control, and MCP servers are named in fast-agent.yaml and referenced from agents by name.

Workflow types are built from other agents by name: a chain lists a sequence, a parallel lists fan_out agents, a router lists candidate agents and auto-generates its routing prompt from agent instructions and available servers, and an orchestrator asks an LLM to plan then aggregate. MAKER wraps a worker and samples it until a vote margin is reached or max_samples is hit.

For remote MCP servers over HTTP or SSE, OAuth is on by default. It uses PKCE and a local callback server (default port 3030, path /callback), with a paste-URL fallback if the port is unavailable. Token handling is described in the README in two slightly different ways: one bullet says in-memory token storage with no tokens written to disk, another says tokens are stored in the OS keychain through keyring by default, with in-memory storage used if no keychain is available. Setting persist: memory forces in-memory only. Which behaviour applies in a given version is not established by this README.

The README says the docs are generated partly from source code (configuration field descriptions, model aliases and API references), so the docs site may be more precise than the README on configuration.

Setup steps from the README

Quickest try: install uv, then run uvx fast-agent-mcp@latest -x for an interactive session with shell support. For packaged starts, run uvx fast-agent-mcp@latest --pack hf-dev or --pack codex.

Recommended install: uv tool install -U fast-agent-mcp, then for example fast-agent --model opus -xx (the README says this gives shell support and built-in subagents). Library route: uv pip install fast-agent-mcp, then fast-agent go to start a session. To attach a remote MCP server, use fast-agent go --url with endpoint [https://hf.co/mcp]. Use fast-agent scaffold to create an example agent and config files, and fast-agent quickstart workflow to create the building-effective-agents examples.

Inside a session, /connect attaches an MCP server (stdio or streamable HTTP with OAuth) and /skills manages skills. Configuration goes in fast-agent.yaml, with secrets in fast-agent.secrets.yaml in the active fast-agent home; the home can be changed with --home or FAST_AGENT_HOME, and a workspace with --workspace.

These steps are quoted from the README and were not run. Whether they work on a given machine, and which package version they install, is unknown.

Worked example from the README

The smallest complete program in the README is sizer.py. It imports FastAgent from fast_agent, creates fast = FastAgent('Agent Example'), declares one agent with the instruction 'Given an object, respond only with an estimate of its size.', and in main opens fast.run() and calls agent.interactive(). It is run with uv run sizer.py, and a model can be selected with --model, for example --model sonnet.

A workflow example chains two agents: url_fetcher (given the MCP server name fetch, summarises a URL) and social_media (writes a 280-character post without hashtags), joined by @fast.chain(name='post_writer', sequence=['url_fetcher','social_media']). It is run with uv run workflow/chaining.py --agent post_writer --message '<url>', and --quiet suppresses progress display so only the final response is returned.

These examples are taken from the README. They were not executed for this report, so their output is unknown.

Assessment & evidence

Limitations and risks

Unverified claims: nothing was run, so the README's statements about end-to-end tested MCP support, being the only tool to inspect Streamable HTTP transport usage, comprehensive model support and well-tested structured outputs and vision are taken as the maintainers' claims only.

Shell and tool access: the interactive mode lets you run shell commands with the ! prefix, and the -x and -xx flags are described as enabling shell support and subagents. The README does not describe sandboxing, permission prompts or other safeguards for agent-initiated commands, so how much control you keep is unknown. Connecting third-party MCP servers or skills also extends what an agent can do, and the README gives no vetting guidance.

Documentation gaps and inconsistencies: no version number, no Python requirement, and conflicting wording on whether OAuth tokens are written to disk or stored in the OS keychain. One example says 'Saved as social.py' but then runs workflow/chaining.py. The README says full contribution guidelines and a roadmap are coming very soon, suggesting incomplete project documentation. It also says the docs site has the latest documentation, so details here may lag.

Model strings in the examples (for instance gpt-5.4-mini, claude-sonnet-4-6) and provider feature notes such as the Anthropic 1M context opt-in are tied to specific vendors and will age; whether they are valid for you depends on your provider. Windows needs extra configuration for some MCP servers.

How these conclusions were reached

The findings come from reading the full README plus the LICENSE and NOTICE captured alongside it. Capabilities, setup commands, config keys and parameters are reported as the README states them. Where the README makes a performance or uniqueness claim, it is attributed to the maintainers instead of being confirmed.

The cost, risk and fit judgements are inferences from what the README describes: for example, multiple model calls follow from how MAKER, evaluator-optimizer and parallel workflows are defined, and the shell-risk point follows from the documented shell mode combined with the absence of safeguard documentation in this file. Anything the README does not say, such as version, Python support, pricing and sandboxing, is recorded as unknown.

Related projects named in the README

The evidence contains no side-by-side comparison, so no ranking is offered. The README itself names related work: mcp-agent by Sarmad Qadri, which fast-agent builds on; the OpenAI Agents SDK, whose agents-as-tools feature inspired the agents-as-tools workflow; and Anthropic's Building Effective Agents guidance at [https://www.anthropic.com/research/building-effective-agents], which the declarative style is meant to serve. It also mentions Toad as an ACP client that can host fast-agent-acp.

How fast-agent compares with these or with other agent frameworks on features, stability or ease of use is not assessed here.

Evidence reviewed

Three captured files at source revision c551658338782a5fd7feb161902504c8cf429e6d: README.md (27,802 bytes, the selected file), LICENSE (Apache License 2.0 with a third-party notice) and NOTICE (OpenAI Codex attribution for the apply_patch port). The README text covers installation, workflows, agent parameters, OAuth, ping, sampling, secrets location and documentation workflow. LICENSE and NOTICE provide the rights information.

Not reviewed: the source code, the docs/ directory, the documentation site at [https://fast-agent.ai], the PyPI listing, issue tracker, release history, test results and any security audit. No behaviour was executed.

Access & freshness

Costs

The software is distributed under Apache 2.0 with a no-charge, royalty-free grant, so the framework itself carries no licence fee. The README does not mention any paid tier of fast-agent.

Model usage costs are unknown. The README describes hosted providers (such as Anthropic, OpenAI, Google, Azure and Hugging Face inference providers), use of an OpenAI Codex plan, and local models through Ollama, llama.cpp or a generic provider, but it gives no prices or billing details for any of them. Billing arrangements and operating costs, including hardware requirements for local models, are unknown from this evidence.

Some workflows multiply model calls by design: MAKER samples up to max_samples times (the README example uses 25 and the parameter listing uses 50), evaluator-optimizer loops up to max_refinements, parallel fans out to several agents, and agents-as-tools allows parallel child calls (max_parallel up to 128 is mentioned). Token use and spend for these patterns are not quantified in the README.

Licence and reuse rights

The repository LICENSE is the Apache License 2.0 with the notice 'Copyright 2025 llmindset.co.uk'. Subject to its terms and conditions, it grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free copyright licence to reproduce, prepare derivative works, publicly display, publicly perform, sublicense and distribute the work, plus a patent licence. That patent licence terminates for you if you institute patent litigation (including a cross-claim or counterclaim) alleging that the work or a contribution incorporated within it constitutes direct or contributory patent infringement.

Redistribution is permitted when you meet the section 4 conditions: give recipients a copy of the licence; make modified files carry prominent notices that you changed them; retain, in the source form of derivative works you distribute, all copyright, patent, trademark and attribution notices from the source form of the work, excluding those that do not pertain to any part of the derivative works; and, because the work includes a NOTICE file, include a readable copy of the NOTICE attribution notices that pertain to the derivative works. The licence does not grant permission to use the licensor's trade names, trademarks, service marks or product names, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file. Unless required by applicable law or agreed to in writing, the work is provided on an as-is basis without warranties or conditions, and contributors are not liable for damages arising from its use.

The LICENSE has a third-party note: the repository includes a Python port of the apply_patch tool from openai/codex, which is Apache 2.0 licensed. The NOTICE file's attribution is 'OpenAI Codex, Copyright 2025 OpenAI', with the statement that the repository includes a Python port of the openai/codex apply_patch tool licensed under Apache 2.0; it applies to derivative works that include any part of that port. The README's licence badge links to [https://github.com/evalstate/fast-agent-mcp/blob/main/LICENSE], a different repository path from the selected evalstate/fast-agent repository; whether that file is the same as the captured LICENSE is not established, so these rights findings rest on the captured LICENSE and NOTICE. The README itself carries no separate licence header. This is a summary of the captured texts, not legal advice, and licences of dependencies or of the model providers you connect are not covered.

Freshness

The files were captured on 2026-11-14 at revision c551658338782a5fd7feb161902504c8cf429e6d. The README has badges that show live values (PyPI version, issues, downloads), but the captured text contains no fixed version number or release date, so the current release and its date are unknown.

The README names features it calls recent: Agent Skills (SKILL.md), MCP Apps, OpenAI Apps SDK, Shell Mode, advanced MCP transport diagnostics and MCP elicitations. It links to MCP specification version 2025-11-25 for ping. It tells readers to consult [https://fast-agent.ai] for the latest documentation, so this README may trail the live docs, and model names and provider behaviour in the examples can change quickly.

Suggested next steps

Before adopting: read the current docs at [https://fast-agent.ai], check the PyPI page for the latest version and supported Python versions, and review the repository's open issues for known problems.

If you try it, use a disposable environment or project folder and start with the sizer.py or fast-agent go examples. If you use a hosted provider, you will need whatever credentials it requires, and if that provider supports spending limits, consider setting one. Be cautious with shell mode (-x, -xx) and with connecting MCP servers or skills from sources you have not reviewed, since the README gives no sandboxing guidance. For OAuth, check which token storage behaviour your installed version uses.

If you plan to redistribute or build on the code, follow the Apache 2.0 conditions and carry forward the NOTICE attribution for the openai/codex apply_patch port.

Evidence for this report

LICENSEnotice · checked 2026-11-14
NOTICEnotice · checked 2026-11-14
README.mdselected · checked 2026-11-14