← Back to all projects

AgentScope

A reasoning-and-acting agent shipped with the production parts: sandboxed tools, context control, a service layer

Apache-2.0
Stars
35k
Forks
3.8k
Open issues
724
Last commit
30 Oct 2026

What is AgentScope?

AgentScope starts where most frameworks start — an agent that reasons, calls a tool, looks at the result and goes round again — and then supplies the parts that usually have to be built afterwards. Tools run inside an isolated environment rather than in your process; context is compressed and offloaded as it grows instead of simply overflowing; a person can be asked to approve a step; and the finished agent can be served as a multi-tenant backend with its own interface. The price of that reach is that version 2.0 was a deliberate break from 1.0, so material written for the older releases does not carry over.

What can you do with AgentScope?

  • Run tools somewhere they cannot hurt you — Tool execution is isolated in a container or a remote sandbox, and the isolation can be scoped per user, per agent or per session.
  • Keep one toolkit for functions, MCP servers and skills — Your own functions, tools reached over MCP and packaged skills are registered in the same place, so the agent sees one list.
  • Compress context instead of overflowing it — Long histories are summarised or moved out of the prompt and retrieved again when needed, rather than being truncated at the limit.
  • Put a person in the path — A run can stop and ask for review before a tool is allowed to proceed, which is the check that matters once an agent can change things.
  • Change behaviour without editing the agent — Middleware wraps calls at runtime, so logging, limits or overrides can be added around an agent you would rather not modify.
  • Serve it as a backend, not a script — The same agent can be exposed as a service with tenant separation, distributed execution and a browser interface for watching runs.

Before you choose AgentScope

  • Version 2.0 is described by the project as a breaking change from 1.0, so tutorials, blog posts and sample code written for the earlier releases will not run as written.
  • Most of what distinguishes it — sandboxed execution, the service layer, tenant separation — assumes Docker or Kubernetes, so a single script exercises only a small part of the framework.

Star history

27 Aug to 30 Oct · +5.2k

29.7k35k

Frequently asked questions

Is AgentScope free for commercial use?

AgentScope is released under the Apache-2.0 licence — OSI-approved open source, which permits commercial use.

How can AgentScope be deployed?

AgentScope is available as Self-hosted / Runs locally.