AgentScope

Open-source Python agent framework with a ready-made agent service — ReAct agents, agent teams, MCP and A2A, sandboxed tools

AgentScope is an open-source (Apache 2.0) framework for building and running LLM agents. Version 2.0 (2026) rebuilt it around agentic models: a ReAct agent loop with structured output and interruption, a toolkit that manages Python tools, MCP servers and skills, context compaction, middleware hooks, fine-grained permissions with human-in-the-loop, and isolated execution in local, Docker or cloud sandboxes. Long-term memory has switchable backends (ReMe, Mem0). Beyond the SDK it ships an agent service — a FastAPI backend with a web UI — that adds multi-tenant sessions, leader–worker agent teams, a RAG service, IM channels and scheduling. It can call remote agents over A2A, supports major model providers including local models through Ollama, and has an experimental realtime voice agent. This card covers the Python framework (Python 3.11+); a Java edition is developed in a separate repository. Works well with: MCP · A2A · Ollama · Docker

When to use

  • You want a Python framework plus a ready-made service layer (sessions, web UI, teams) for agent apps
  • You need agents that run tools and code in sandboxes with permission controls
  • You want MCP tools and A2A remote agents in one framework

When not to use

  • You want a minimal SDK with few abstractions — see OpenAI Agents SDK or Pydantic AI
  • Your stack is TypeScript-only — see Mastra
  • You need graph-based durable workflows as the core model — see LangGraph or Microsoft Agent Framework

At a glance

Pricing
Free
Deployment
Self-hosted
Difficulty
Intermediate
License
Apache-2.0
Languages
python
Use cases
multi agent, agent framework, agent orchestration, voice assistant
Last verified
2026-10-22 (official documentation)

Works well with

Alternatives in this category

See all 10 tools in Agent Frameworks — Building AI Agents →

⚖️ Compare Agent Frameworks

Sources

v7.0