# agentscope | AgentScope-AI | Knowledge Base | Instagit

Build and run agents you can see, understand and trust.

GitHub Stars: 17.8k

Repository: https://github.com/agentscope-ai/agentscope

---

## Articles

### [AgentScope Evaluation Frameworks: Built-in Benchmarking and Custom Metrics](/agentscope-ai/agentscope/what-evaluation-frameworks-does-agentscope-support-for-benchmarking)

Explore AgentScope evaluation frameworks for agent benchmarking. Discover parallel benchmarking, sequential debugging, ACEBench, and custom metrics for robust AI agent evaluation.

- Tags: deep-dive
- Published: 2026-03-09

### [How the Embedding Module in AgentScope Works: Vector Storage and Retrieval Explained](/agentscope-ai/agentscope/how-embedding-module-works-in-agentscope-for-vector-storage-and-retrieval)

Understand AgentScope's embedding module for seamless text to vector conversion. Discover efficient vector storage and retrieval with built-in caching to optimize API costs and reduce latency.

- Tags: deep-dive
- Published: 2026-03-09

### [Stateful vs Stateless MCP Clients in AgentScope: Architecture and Usage Guide](/agentscope-ai/agentscope/difference-between-stateful-and-stateless-mcp-clients-in-agentscope)

Understand stateful vs stateless MCP clients in AgentScope. Learn how each handles sessions for tool discovery and execution through explicit connect/close or automatic cleanup.

- Tags: architecture
- Published: 2026-03-09

### [How to Implement Memory Compression in AgentScope for Long Conversations](/agentscope-ai/agentscope/how-to-implement-memory-compression-for-long-conversations-in-agentscope)

Implement AgentScope memory compression to manage token limits and extend agent conversations. Automatically summarize old dialogue, preserving recent interactions for smooth, long-running chats.

- Tags: how-to-guide
- Published: 2026-03-09

### [What Are AgentScope Hooks and How They Integrate With AgentScope Studio](/agentscope-ai/agentscope/what-are-hooks-in-agentscope-and-integration-with-studio)

Discover AgentScope hooks, injection points for custom logic before and after agent operations. Learn how they integrate with AgentScope Studio for seamless workflow enhancement.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Deploy AgentScope Agents as a Serverless Service or on Kubernetes](/agentscope-ai/agentscope/how-to-deploy-agentscope-agents-serverless-or-kubernetes)

Deploy AgentScope agents to serverless platforms or Kubernetes using the official Docker image. Learn how to package your agent code for easy deployment and scalability.

- Tags: how-to-guide
- Published: 2026-03-09

### [Session Module in AgentScope: Managing Conversation State Persistence](/agentscope-ai/agentscope/what-is-session-module-in-agentscope-and-conversation-state-management)

Explore the AgentScope Session module for seamless conversation state persistence. Learn how it manages state across JSON or Redis for robust conversation logic.

- Tags: deep-dive
- Published: 2026-03-09

### [How AgentScope Supports Model Finetuning with Reinforcement Learning: A Complete Guide to the Tuner Sub‑Package](/agentscope-ai/agentscope/how-agentscope-supports-model-finetuning-with-reinforcement-learning)

AgentScope enables model finetuning with reinforcement learning using its tuner sub-package. Learn how to leverage its components and the Trinity-RFT engine for efficient RL.

- Tags: how-to-guide
- Published: 2026-03-09

### [What Are Formatters in AgentScope and How Do They Shape Model Input/Output?](/agentscope-ai/agentscope/what-are-formatters-in-agentscope-and-their-effect-on-model-io)

Explore AgentScope formatters, adapter classes that transform Msg objects into LLM API payloads. Learn how they manage input/output, validation, multimodal content, and token limits.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Configure Token Counting and Usage Tracking in AgentScope](/agentscope-ai/agentscope/how-to-configure-token-counting-and-usage-tracking-in-agentscope)

Learn to configure token counting and usage tracking in AgentScope. Leverage its pluggable architecture for seamless integration and OpenTelemetry tracing of chat usage metrics.

- Tags: how-to-guide
- Published: 2026-03-09

### [ReMe vs Mem0 Long-Term Memory in AgentScope: Architecture and Usage Guide](/agentscope-ai/agentscope/difference-between-reme-and-mem0-for-long-term-memory-in-agentscope)

Explore ReMe vs Mem0 long-term memory in AgentScope. Discover ReMe's structured cloud memory and Mem0's local vector store for semantic search.

- Tags: comparison
- Published: 2026-03-09

### [How to Use the Tracing Module to Observe and Debug Agent Executions in AgentScope](/agentscope-ai/agentscope/how-to-use-tracing-module-to-debug-agent-executions)

Debug agent executions in AgentScope with the tracing module. Easily observe agent interactions by enabling and applying tracing decorators for comprehensive debugging.

- Tags: how-to-guide
- Published: 2026-03-09

### [RAG Module Architecture in AgentScope: A Deep Dive into Retrieval-Augmented Generation](/agentscope-ai/agentscope/architecture-of-rag-module-in-agentscope-for-rag)

Explore the RAG module architecture in AgentScope. Learn how it transforms data into vector indexes for efficient retrieval during agent conversations.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Implement Human-in-the-Loop Interruption and Resumption in AgentScope](/agentscope-ai/agentscope/how-to-implement-human-in-the-loop-interruption-and-resumption)

Implement human-in-the-loop interruption and resumption in AgentScope. Learn how to cancel replies for manual input and seamlessly resume agent conversations with a simple code example.

- Tags: how-to-guide
- Published: 2026-03-09

### [How the Realtime Voice Agent Works in AgentScope with TTS Integration](/agentscope-ai/agentscope/how-realtime-voice-agent-works-in-agentscope-with-tts)

Discover how AgentScope's realtime voice agent works with TTS integration. Learn how it streams audio using bidirectional queues for seamless speech-to-text and text-to-speech.

- Tags: how-to-guide
- Published: 2026-03-09

### [Supported Model Providers in AgentScope: Configuration Guide and Code Examples](/agentscope-ai/agentscope/supported-model-providers-in-agentscope-and-configuration)

Explore supported model providers in AgentScope including OpenAI, Anthropic, and Gemini. This guide offers configuration details and code examples for seamless integration.

- Tags: configuration-guide
- Published: 2026-03-09

### [How to Integrate MCP Tools into AgentScope Agents: Complete Implementation Guide](/agentscope-ai/agentscope/how-to-integrate-mcp-tools-into-agentscope-agent)

Learn to integrate MCP tools into AgentScope agents using the Toolkit class. Follow our three-step guide for seamless async tool call implementation and enhance your agent's capabilities.

- Tags: how-to-guide
- Published: 2026-03-09

### [How the A2A Protocol Enables Agent-to-Agent Communication in AgentScope](/agentscope-ai/agentscope/how-a2a-protocol-works-in-agentscope-for-agent-to-agent-communication)

Discover how AgentScope's A2A protocol facilitates agent-to-agent communication. Learn about its three-layer architecture for seamless message streaming and translation.

- Tags: internals
- Published: 2026-03-09

### [SequentialPipeline vs FanoutPipeline in AgentScope: Key Differences and When to Use Each](/agentscope-ai/agentscope/difference-between-sequentialpipeline-and-fanoutpipeline-in-agentscope)

Understand the core differences between AgentScope's SequentialPipeline and FanoutPipeline. Learn when to use each for efficient agent communication and workflow management.

- Tags: deep-dive
- Published: 2026-03-09

### [How to Implement Streaming Responses in AgentScope Agents: A Complete Guide](/agentscope-ai/agentscope/how-to-implement-streaming-responses-in-agentscope-agents)

Implement streaming responses in AgentScope agents easily. Set stream=True and use stream_printing_messages for real-time output. Get started with this complete guide.

- Tags: how-to-guide
- Published: 2026-03-09

### [How MsgHub Enables Multi-Agent Communication and Message Routing in Agentscope](/agentscope-ai/agentscope/how-msghub-facilitates-multi-agent-communication-and-message-routing)

Discover how MsgHub centralizes agent communication and message routing in Agentscope. Learn how it automatically routes replies to all registered participants.

- Tags: internals
- Published: 2026-03-09

### [Comparing InMemoryMemory, RedisMemory, and AsyncSQLAlchemyMemory in AgentScope](/agentscope-ai/agentscope/difference-between-inmemorymemory-redismemory-and-asyncsqla-lchemy-memory-in-agentscope)

Explore AgentScope's InMemoryMemory, RedisMemory, and AsyncSQLAlchemyMemory. Understand their differences for prototyping, distributed systems, and production-ready databases.

- Tags: deep-dive
- Published: 2026-03-09

### [How ReActAgent Handles Tool Selection and Execution in AgentScope](/agentscope-ai/agentscope/how-reactagent-handles-tool-selection-and-execution-in-agentscope)

Discover how AgentScope's ReActAgent expertly handles tool selection and execution. Learn about its reasoning acting loop, tool choice parameter, and dynamic function resolution for efficient agent workflows.

- Tags: how-to-guide
- Published: 2026-03-09

