> ## 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.

> ## Agent Instructions
> For AgentScope Python, use https://docs.agentscope.io/stable/en/index for new projects. For existing projects, check the installed agentscope version and use matching versioned documentation.
> The /latest/ alias points to the newest documentation and may move ahead of /stable/ when a development version exists. Do not mix AgentScope 1.x and 2.x APIs.
> State the AgentScope version when providing installation commands or code examples. ReMe uses its own continuously updated /reme/latest/ documentation.

# FAQ

> Frequently asked questions about AgentScope.

> [!NOTE]
>
> Based on official documentation and community discussions (as of Feb 2026).

## About AgentScope

> [accordion] What is AgentScope?
>
> AgentScope is a multi-agent framework designed to provide a simple yet efficient way to build LLM-empowered agent applications.

> [accordion] What's the difference between AgentScope v1.0 and v0.x?
>
> AgentScope v1.0 is a complete refactoring of the framework, equipped with new features and improvements. The most notable change is the shift to a **code-first development model**—the drag-and-drop Workstation UI from v0.x is **no longer maintained or recommended** for new projects.

> [accordion] Does AgentScope support automated planning like Manus?
>
> Yes. You can refer to the [Plan with ReAct Agent](https://github.com/agentscope-ai/agentscope/tree/main/examples/functionality/plan#plan-with-react-agent) example on GitHub.

> [accordion] Can I use AgentScope with AI coding assistants like Cursor or Claude Code?
>
> Absolutely. AgentScope's clean codebase and tutorials are highly compatible with AI pair programmers. Provide the GitHub repo or tutorial source (`docs/tutorial/en/src/`) as context for best results.

> [accordion] Are there community examples beyond the official demos?
>
> Yes. Explore [agentscope-samples](https://github.com/agentscope-ai/agentscope-samples) for real-world use cases like Werewolf games, debates, and customer service bots built by the community.

> [accordion] How does AgentScope-Java relate to Spring AI Alibaba?
>
> * **AgentScope-Java** is the Java port of AgentScope (under active development), aligned with the Python version in design and features.
> * **Spring AI Alibaba** will adopt AgentScope-Java as its underlying engine. If you use Spring AI Alibaba's Agentic APIs, you'll automatically gain AgentScope capabilities after upgrading—no need to integrate AgentScope-Java separately.

## About Models

> [accordion] What models does AgentScope support?
>
> AgentScope has built-in support for **DashScope**, **Gemini**, **OpenAI**, **Anthropic**, and **Ollama** APIs, as well as `OpenAIChatModel` compatible with DeepSeek and vLLM models.

> [accordion] How do I integrate my own model with AgentScope?
>
> Create a custom model class by inheriting from `agentscope.model.ChatModelBase` and implement the `__call__` method.

> [accordion] How do I monitor token usage in AgentScope?
>
> AgentScope Studio provides visualization of token usage and tracing. See the [Observability](https://docs.agentscope.io/en/versions/1.0.21/observe-and-evaluate/observability.md) section for details.

> [accordion] Why do I need different Formatters for different LLMs?
>
> LLM providers (e.g., OpenAI, Anthropic, DashScope) have **different input format requirements** such as role names and tool call syntax. AgentScope uses **Formatters** to convert internal messages into API-compliant payloads, ensuring correctness even when vendors only partially support OpenAI-style APIs.

> [accordion] What is MultiAgentFormatter used for?
>
> `MultiAgentFormatter` flattens multi-agent conversation history into a single string like `"Alice: Hello\nBob: Hi"` and sends it as a `user`-role message. This preserves global context but **loses per-agent identity and tool semantics** in the LLM's view. It's best suited for summary or coordination tasks—not fine-grained collaboration.

> [accordion] What's the difference between model fine-tuning and memory retrieval?
>
> * **Fine-tuning** updates model weights for better task performance.
> * **Memory retrieval** injects relevant context at inference time (e.g., via vector databases).
>
> The two are **complementary**—you can even fine-tune a model to better leverage retrieved memories.

## About Agents & Tools

> [accordion] How do I create my own agent?
>
> You can use the `ReActAgent` class directly, or create a custom agent by inheriting from `AgentBase` or `ReActAgentBase`. See the [Agent](https://docs.agentscope.io/en/versions/1.0.21/basic-concepts/agent.md) section for details.

> [accordion] What's the difference between agent\_base, react\_agent\_base, and react\_agent?
>
> * `agent_base`: Abstract base class defining the core agent interface.
> * `react_agent_base`: Implements the ReAct (Reason + Act) paradigm, handling thought-action loops.
> * `react_agent`: A concrete, ready-to-use agent that extends `react_agent_base` with tool integration.

> [accordion] Does AgentScope support dynamic Pydantic models for structured output?
>
> Yes. AgentScope supports **dynamic JSON Schema generation** and leverages Pydantic for validation in ReAct agents. See the [Agent](https://docs.agentscope.io/en/versions/1.0.21/basic-concepts/agent.md) page for details.

> [accordion] Can I use Anthropic-style skills in AgentScope?
>
> Yes. Place your skill definitions in a directory following AgentScope's [skill structure](https://github.com/agentscope-ai/agentscope/blob/main/examples/functionality/agent_skill/README.md), then register them via `toolkit.register_agent_skill()`.

> [accordion] How do I forward the streaming output of agents to my own frontend?
>
> Use the pre-hook of the `print` function to forward printed messages. See the [Hooking Functions](https://docs.agentscope.io/en/versions/1.0.21/building-blocks/hooking-functions.md) section for details.

> [accordion] What built-in tools does AgentScope provide?
>
> AgentScope includes a set of built-in tools such as `execute_python_code`, `execute_shell_command`, and `write_text_file`. You can find the full list under the `agentscope.tool` module.

> [accordion] Is MCP (Model Control Protocol) supported?
>
> Yes. AgentScope supports standard-compliant MCP for tool and service integration. See the [Tool Capabilities](https://docs.agentscope.io/en/versions/1.0.21/building-blocks/tool-capabilities.md) page for details.

## About AgentScope Runtime

> [accordion] Why use AgentScope Runtime instead of my own HTTP server + Docker setup?
>
> Your current approach works well for **single-agent, single-environment** deployments. AgentScope Runtime is designed for more advanced scenarios:
>
> * **Decouples business logic from execution environment** via a unified protocol.
> * Enables **independent upgrades** of the runtime engine without touching agent code.
> * Supports **elastic scaling** of multiple agent instances (e.g., on Kubernetes).
>
> If you only deploy fixed agents in one environment, your existing workflow is sufficient. Use Runtime when you need **portability, scalability, or multi-platform deployment**.

> [accordion] What's the relationship between AgentApp and Runner?
>
> * `AgentApp` defines the service interface (similar to FastAPI), using decorators such as `@agent_app.query(framework="agentscope")`.
> * `Runner` implements the actual agent execution logic.
>
> Requests sent to `AgentApp` are delegated to the `Runner`. The **decorator-based pattern** is the recommended approach—see the [QuickStart guide](https://runtime.agentscope.io/en/quickstart.html).

> [accordion] How does the Sandbox work? Can I validate commands in the Sandbox and run them on the host?
>
> The Sandbox provides an **isolated, secure environment** for executing code, file operations, or browser actions.
>
> > [!WARNING]
> >
> > Never re-run sandbox-validated operations on the host system.
>
> Instead, follow these safe practices:
>
> * Mount **read-only host directories** into the sandbox for data access.
> * Let agents write to a **dedicated sandbox workspace**.
> * Use sandbox outputs (e.g., downloaded files) directly in downstream steps.
>
> The goal is **zero risk to the host system**.

> [accordion] Will Runtime simplify Kubernetes deployment?
>
> Yes. Starting with **v1.0.2**, AgentScope Runtime will support **CLI-based deployment**, reducing boilerplate for Kubernetes and other platforms. The aim is to let you deploy the same agent artifact across ModelStudio, AgentRun, K8s, and more—without any code changes.

## Reporting Bugs & Community

> [accordion] How do I report a bug in AgentScope?
>
> If you encounter a bug, open an issue on the [AgentScope GitHub repository](https://github.com/agentscope-ai/agentscope/issues).

> [accordion] How do I report a security vulnerability in AgentScope?
>
> If you discover a security issue, report it through the [Alibaba Security Response Center (ASRC)](https://security.alibaba.com/).

> [accordion] Where can I find the community and get help?
>
> Join the official community group through Discord or DingTalk:
>
> | [**Discord**](https://discord.gg/eYMpfnkG8h) | **DingTalk** |
> | - | - |
> | [![Discord](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/mPdnpEbk9rGLgqw9/img/aae46e38-9875-4867-9de0-01ccbefcd610.png)](https://discord.gg/eYMpfnkG8h) | [![DingTalk](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/mPdnpEbk9rGLgqw9/img/57e53bf1-c52b-457e-9a21-b295a49136a9.png)](https://github.com/agentscope-ai/agentscope/blob/main/assets/images/dingtalk_qr_code.png) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.