Featured answer
Give me an overview of agentscope
Read the answerHide the answer
AgentScope is an agent framework for building and running agents that you can see, understand and trust, and it relies on the reasoning and tool use of LLMs rather than strict prompts and fixed orchestration. The core package lives under src/agentscope, where building blocks such as the ReAct loop, tools, models and middleware are composed into agents, and src/agentscope/agent/_realtime/_agent.py handles realtime interruption and resume. The hosted setup starts from examples/agent_service/main.py, a FastAPI backend whose chat session handling is in src/agentscope/app/_service/_chat.py, and examples/web_ui pairs that backend with a TypeScript frontend. For terminal runs, examples/console/main.py and examples/tui/main.py are the alternative entry points. The codebase is mainly Python, requires Python 3.11 or higher, and contains 1304 files, grouped into Application with 683, Docs & Tooling with 312, Middleware with 38, Config with 20, and Types with 5. To start reading, begin with the core package under src/agentscope and then the examples/agent_service/main.py entry point.
| Layer | Files |
|---|---|
| Middleware | 38 |
| Config | 20 |
| Types | 5 |
| Application | 683 |
| Docs & Tooling | 312 |
Basis: Inferred · knowledge graph· as of a17937b