talira

AgentScope

Build and run agents you can see, understand and trust

open sourceApache-2.0self-hostablefree

AgentScope is an open source Python framework for building LLM agents and multi-agent applications. It gives a ReAct agent loop with structured output and interruption, a toolkit over Python tools, MCP servers and skills, model clients for OpenAI, Anthropic, Gemini, DashScope, DeepSeek, Ollama and others, context compaction and memory middleware, an event stream for front ends, permissions with human-in-the-loop confirmation, team pipelines where a leader agent delegates to members, and realtime voice agents. It is the core of a wider AgentScope stack that includes Java and TypeScript frameworks, evaluation, memory and fine-tuning projects.

Problems it solves

  • build a multi-agent application in Python where a leader agent hands tasks to other agents
  • give my agent tools from Python functions, MCP servers and skills in one place
  • my agent's context window fills up with tool output and I need automatic compaction
  • stream an agent's reasoning and tool calls to my web front end as they happen
  • ask a human to confirm before my agent runs a risky tool
  • switch my agent between OpenAI, Claude, Gemini, DeepSeek and local Ollama models without rewriting it
  • build a realtime voice agent that talks over WebRTC
  • interrupt an agent mid-task and resume it later
  • run multi-step business procedures as agent workflows with standard operating procedures
  • route each reply to a cheaper or stronger model depending on the request

Features

  • ReAct agent loop with structured output and realtime interruption and resume
  • toolkit over Python tools, MCP servers and skills, with built-in shell, file edit and search tools
  • model clients for OpenAI, Anthropic, Gemini, DashScope, DeepSeek, Moonshot, Volcengine, xAI and Ollama
  • automatic context compaction, tool-result offload and memory middleware
  • event bus streaming reasoning, tool calls and multimodal content
  • fine-grained tool permissions with human-in-the-loop confirmation
  • TeamPipeline: a leader agent delegates to member agents
  • realtime voice agents over WebRTC
  • model routing middleware

Alternatives

The same job

These do what AgentScope does.

  1. Mastra The modern TypeScript framework for AI-powered applications and agents
  2. LangGraph Low-level orchestration framework for building stateful agents
  3. smolagents A barebones library for agents that think in code
  4. CAMEL Open source multi-agent framework for finding the scaling laws of agents
  5. PraisonAI Open source AI agent framework that can run fully offline on your own computers
  6. OpenAI Agents SDK OpenAI's lightweight framework for multi-agent workflows

Compare AgentScope with the top 3