Is AgentScope 2.0 compatible with 1.0?
Is AgentScope 2.0 compatible with 1.0?
No. AgentScope 2.0 changes the agent, message, event, tool, and state APIs. Existing applications need code changes; upgrading the package alone does not migrate them.Start new projects with 2.0. For existing applications, follow the 1.x to 2.x changes or keep using documentation matching the installed 1.x version.
Does AgentScope support sandboxed execution?
Does AgentScope support sandboxed execution?
Yes. Sandboxed workspace backends include Docker, Bubblewrap, Apple Container, Kubernetes, E2B, Daytona, and OpenSandbox, among others.
LocalWorkspace runs on the host and does not provide sandbox isolation.Workspaces manage the execution environment, MCP server lifecycles, skills, and context offloading. See Workspaces to choose a backend and Workspace Management to allocate workspaces across users, agents, and sessions.How do I deploy an agent as a service with a web UI?
How do I deploy an agent as a service with a web UI?
Use the built-in Agent Service and its matching web UI. Run the backend example and web UI example from the same checkout to try the application.Follow the Agent Service setup guide for prerequisites and startup commands. You can also build your own frontend using the service’s HTTP APIs and event streams.
Does AgentScope 2.0 support RAG and long-term memory?
Does AgentScope 2.0 support RAG and long-term memory?
Yes. RAG provides document parsing, chunking, embedding, and vector retrieval. RAG Service adds document management and indexing for hosted applications.Long-term memory supports file-based agentic memory, ReMe, and Mem0 through middleware. Use RAG to retrieve knowledge and long-term memory to retain information across sessions; both can be used together.
Do I have to use Qwen or DashScope?
Do I have to use Qwen or DashScope?
No. AgentScope supports model APIs including OpenAI, Anthropic, Gemini, DashScope, and Ollama. Choose a model class and matching credentials; available features depend on the selected model and API.See Model Configuration and Chat Models.
Does AgentScope support MCP and skills?
Does AgentScope support MCP and skills?
How do I build a multi-agent application?
How do I build a multi-agent application?
You can compose agents in Python or use Agent Team for service-based collaboration. A leader creates workers, delegates tasks, and exchanges messages with them; each worker runs in its own session.Use teams when a task benefits from delegation or separate agent contexts. A single agent is sufficient when one model and toolkit can complete the task.
How do I build a multi-tenant, multi-session service?
How do I build a multi-tenant, multi-session service?
Use Agent Service under
agentscope.app to manage user-owned resources and persistent sessions. Storage backends include Redis and SQLAlchemy databases such as PostgreSQL, MySQL, and SQLite; workspace allocation can be configured per user, agent, or session.Integrate your own authentication to establish user identity. See Agent Service and Workspace Management for configuration.Does AgentScope support A2A?
Does AgentScope support A2A?
Yes, from version 2.0.8.
A2AAgent connects to remote A2A agents and translates their responses into AgentScope messages and events; the remote service controls its own models and tools.See the A2A guide and client/server example.How do I approve tool calls or interrupt an agent?
How do I approve tool calls or interrupt an agent?
Configure the permission system to allow, deny, or request confirmation for tool calls. When confirmation is required, present the request to the user and return their decision through the human-in-the-loop events.To stop an ongoing run, use the separate interruption flow.
How do I use AgentScope with an AI coding assistant?
How do I use AgentScope with an AI coding assistant?
Install the official agentscope-skill to provide AgentScope guidance, API references, and examples. Give the assistant your installed SDK version and use the documentation index to find matching pages.Ask it to verify API names against that version and run the resulting example.
Are there implementations other than Python?
Are there implementations other than Python?
Yes. AgentScope also has TypeScript and Java implementations, each with its own repository and release schedule.Use the selected implementation’s documentation and examples. Their APIs are not interchangeable; this documentation describes the Python SDK.