Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agentscope.io/llms.txt

Use this file to discover all available pages before exploring further.

AgentScope 2.0 is a major update to our agent framework, with a focus on improving the developer experience and making it easier to build and run agents in production.
AgentScope 2.0 is a breaking change from 1.0, with significant improvements in the core abstractions, APIs and architecture. We recommend users to migrate to 2.0 to take advantage of the new features and improvements.
2.0 brings the following major changes and improvements:
  • Event System: Every step the agent takes — text, thinking, tool call, tool result — is observable as a typed stream, so you can render rich, responsive UIs and integrate with AG-UI or A2A without writing adapters.
  • Execution Security: Dangerous tool calls can be denied or held for review, and untrusted code can run inside a sandbox — the agent never silently touches the host or leaks credentials.
  • Human-in-the-loop: Users can confirm or edit tool arguments mid-run, and sensitive actions can be handed off to your own backend instead of executed in-process, with the agent resuming exactly where it paused.
  • More Efficient: Multi-tool steps finish faster through concurrent execution, long conversations stay within the context window automatically, oversized tool outputs no longer blow up the prompt, and transient provider failures fall back gracefully.
  • Workspace System: Move an agent from your laptop to a Docker host or an E2B sandbox by changing one line, with working directory, MCP clients and skills cleanly isolated per user, agent or session.
  • Agent Service: Host any agent over REST + SSE with multi-tenant, multi-session concurrency, resumable streams, durable sessions, scheduled runs and managed credentials — without writing the service plumbing yourself.
If you are still evaluating whether to migrate, check out the Changelog for a full breakdown of every change — it should give you everything you need to plan your migration to AgentScope 2.0.

Event System

Observe every step of the agent and stream it straight into your UI.

Execution Security

Gate or sandbox dangerous tool calls before they touch the host.

Human-in-the-loop

Let users review and edit tool arguments before execution, or delegate sensitive actions to your own backend entirely.

Efficient Agent

Tool calls are auto-batched and run concurrently or sequentially based on each tool’s properties.

Workspace System

Swap Local, Docker or E2B without rewriting the agent.

Agent Service

Ship agents over REST + SSE with multi-tenant, multi-session concurrency, sessions, schedules and credentials.