deer-flow vs mcp-agent
AI agent frameworks compared
deer-flow and mcp-agent both help developers build AI agents that use tools and coordinate work across multiple steps. deer-flow is a self-hosted runtime for longer tasks with subagents, memory, and sandboxes, while mcp-agent focuses on MCP integrations and composable workflows, with optional Temporal durability.

deer-flow: Orchestrate Long-Running AI Agent Tasks
DeerFlow is a self-hosted harness for AI agents that coordinate subagents, memory, tools, and sandboxes on tasks that can run from minutes to hours. It suits teams building research, coding, and content workflows that need an extensible agent runtime.

mcp-agent: Build Agents with Model Context Protocol
A Python framework for building LLM agents around Model Context Protocol servers and composable workflow patterns. It suits developers who need MCP integrations, multi-agent workflows, or durable execution with Temporal.
| deer-flow | mcp-agent | |
|---|---|---|
| Language | Python | Python |
| License | MIT | Apache-2.0 |
| Stars | 83.4k | 8.6k |
| Forks | 11.6k | 893 |
| Last analyzed | Oct 3, 2026 | Oct 3, 2026 |
Key differences
- deer-flow is a broader agent runtime for long-running tasks, while mcp-agent centers on connecting agents to MCP servers and composing workflow patterns.
- deer-flow includes local, Docker, and Kubernetes-backed sandbox modes; mcp-agent offers asyncio execution or Temporal-backed workflows, with Temporal requiring a runtime and worker setup.
- deer-flow supports a web interface, messaging channels, and a terminal workbench, while mcp-agent provides a CLI for scaffolding and deployment and can expose applications as MCP servers.
- deer-flow is licensed under MIT, while mcp-agent uses Apache-2.0.
- Both are Python projects, but deer-flow also lists Node.js 22+ as a project requirement alongside Python 3.12+.
Choose deer-flow if you…
- need a self-hosted runtime for extended research, coding, or content tasks with delegated subagents.
- want sandbox options and a combination of skills, memory, and configurable tool integrations.
- need a shared agent workspace with web, messaging, or terminal interfaces.
Choose mcp-agent if you…
- need agents to use capabilities exposed through MCP servers.
- want reusable patterns such as routers, map-reduce, or orchestrator-workers workflows.
- need durable pause, resume, and retry behavior through Temporal, or want an application callable by MCP clients.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.