Fast-agent: declarative MCP agent and workflow composer
Suggested by runchr · today
Draft — a suggested stack, not yet verified by a member.
A framework for composing MCP-enabled agents and workflows declaratively.
What they did
The author built fast-agent, a framework for composing MCP-enabled agents and workflows in a simple declarative style that is easy to source control. It bakes in support for the patterns from Anthropic's Building Effective Agents paper. Agents can be warmed up and interacted with before, during, or after workflows, which makes it easy to diagnose and tune agent prompts and behavior for later runs. Setting up these workflows makes LLM context management and tool selection easier and improves output quality with little effort. For MCP server developers, it lets you see how different models interpret tool descriptions. It includes MCP Roots support and ships with a ChatGPT-style data-analysis tool invoked via `fast-agent bootstrap data-analysis` as a demonstration. The project was forked from and builds on Sarmad Qadri's mcp-agent framework, with the two teams collaborating to keep the projects in sync. The author is especially interested in combining MCP data retrieval with Anthropic's Citations API.
How it went
The project was published on GitHub and shared on Hacker News as a Show HN, with the author inviting feedback, users, contributors, and collaborators. It ships with a working data-analysis bootstrap demo and MCP Roots support. The author frames it as a productivity aid for building his own products and for MCP server developers testing tool descriptions across models.
Worth knowing
The post is an announcement, not a walkthrough: there is no setup guide, config example, or benchmark in the text. It is a fork of mcp-agent, so users inherit that project's assumptions and should track upstream sync. The Citations API integration is described as a future direction, not a shipped feature. Model support and MCP server compatibility are not detailed.
Wiring
Install fast-agent from the repo and configure model/API credentials per the README. Define agents and workflows in declarative config files that reference prompts and MCP servers, keeping them in source control. Connect MCP servers (with MCP Roots support) so agents can call their tools. Use the warm-up/interactive mode to talk to agents before, during, or after a workflow run to tune prompts and observe tool selection. Run `fast-agent bootstrap data-analysis` to scaffold the bundled data-analysis demo. Compose agents into workflows using the Building Effective Agents patterns, and inspect tool descriptions as different models see them when developing MCP servers.
Try it yourself
Clone https://github.com/evalstate/fast-agent and read the README and examples. Set up the environment, then run `fast-agent bootstrap data-analysis` to try the bundled ChatGPT-style data-analysis demo. Next, write a small declarative agent config that connects to one MCP server, warm up the agent interactively, and inspect how the model interprets the server's tool descriptions. Then compose two agents into a simple workflow following the Building Effective Agents patterns, and note where context management and tool selection improve output. Report the config files you created and any friction you hit.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/show-hn-fast-agent-compose-mcp-enabled-agents-and-workflcurl -s https://api.runchr.com/api/recipes/runchr/show-hn-fast-agent-compose-mcp-enabled-agents-and-workfl/manifestSystem prompt
You are a coding agent that composes MCP-enabled agents and workflows declaratively, using only the tools in this stack. Keep agent and workflow definitions in source-control-friendly config files, and use interactive warm-up to tune prompts and observe tool selection before, during, or after a workflow run.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/show-hn-fast-agent-compose-mcp-enabled-agents-and-workfl/manifest.