repowiserepowise

Library

agentscope-ai / agentscope

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

PythonApache-2.0

github.com/agentscope-ai/agentscopeIndexed

What is agentscope?

AgentScope is an agent framework for building and running agents that you can see, understand and trust. Its core idea is to rely on the reasoning and tool use abilities of LLMs rather than constraining them with strict prompts and fixed orchestration. It requires Python 3.11 or higher, and the codebase is mainly Python with a TypeScript web UI. To install it, run git clone https://github.com/agentscope-ai/agentscope.git and follow the steps below. Its code health is 7.9 out of 10 (Good), ranked #82 of 265 ranked repos. The last commit to agentscope was on Nov 23, 2026, and 150 people have contributed.

As of commit a17937b, indexed Nov 23, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsagentscope.md

Repo facts: type, license, health, rank, contributors
agentscope facts
TypeLibrary
LicenseApache-2.0
Code health7.9 / 10 (Good)
Health rank#82 of 265 ranked repos
Last commitNov 23, 2026
Contributors150
Bus factor2
Size1,304 files, 309,547 lines

Ask about agentscope

Answers come from agentscope's README and source, with the files they cite. Two free answers a day without an account.

Install agentscope

Commands copied from the README

  1. 1Clone the agentscope repository.
    git clone https://github.com/agentscope-ai/agentscope.git
  2. 2Move into the agentscope folder.
    cd agentscope
  3. 3Install AgentScope from PyPI with uv.
    uv pip install agentscope
  4. 4From the examples/agent_service directory of the repository, start the agent service backend.
    python main.py
  5. 5In the examples/web_ui directory, install the web UI dependencies with pnpm.
    pnpm install
  6. 6Start the web UI in a second terminal.
    pnpm dev

Releases on GitHub (latest v2.0.12, Nov 16, 2026)

Full install notes on GitHub

Ask about this code in your agent

This connects Repowise to agentscope's code. It does not install agentscope. To install agentscope, use the install steps.

Useful if you want to change or fork agentscope: your agent can ask how it is put together and get answers that cite its files.

Explore agentscope

Code health

7.9out of 10Good

Hotspots average 6.8, the place fixes pay off most.

On the leaderboards:#19 of 73 Python repos

agentscope-ai/agentscope FAQ

What is AgentScope?

AgentScope is an agent framework for building and running agents that you can see, understand and trust. It lets the model's reasoning and tool use drive the agent instead of strict prompts and fixed orchestration.

How does AgentScope work?

AgentScope composes an agent from building blocks such as a ReAct loop, a Toolkit, model adapters, middleware and memory. An agent service with a FastAPI backend and a Web UI can run these agents as multi-session applications.

How do I install AgentScope?

AgentScope is installed from PyPI with the command uv pip install agentscope. It requires Python 3.11 or higher. See the install steps

What language is AgentScope written in?

AgentScope is written mainly in Python, and its pre-built Web UI is written in TypeScript. It requires Python 3.11 or higher.

How is the AgentScope code organized?

The core package is under src, while examples holds runnable entry points such as examples/agent_service/main.py and the examples/web_ui application. Tests are kept in a separate tests directory.

When should I use AgentScope?

Use AgentScope to build agents that call tools, use MCP servers and memory, or run as a multi-tenant application with a Web UI. It is designed for agentic LLMs that reason and act on their own.

What license does AgentScope use?

AgentScope is licensed under Apache-2.0. The license applies to the repository's source code.

About this page

Get a page like this for your own codebase

Repowise built this map of agentscope-ai/agentscope from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

Key features of agentscope

  • Provides a ReAct reasoning and acting loop with structured output, realtime interruption and resume, and batched tool acting.
  • Manages tools built from Python functions, MCP servers and skills, and ships built-in coding, file edit, search and planning tools.
  • Connects to LLM, embedding and TTS models from major providers such as OpenAI, Anthropic, Gemini and Ollama.
  • Runs an agent service with a FastAPI backend and a pre-built Web UI that supports multi-tenant, multi-session applications.
  • Lets a leader agent spawn worker agents as a team and move long-running tools to the background.

How agentscope-ai/agentscope works

The agentscope package sits under src and holds the core agent, model, toolkit and service code. Agent building blocks such as the ReAct loop, tools, models and middleware are composed into an agent, and src/agentscope/agent/_realtime/_agent.py is a central file for realtime interruption and resume. For the hosted setup, examples/agent_service/main.py is the entry point that starts the FastAPI agent service backend. The service's chat handling lives in src/agentscope/app/_service/_chat.py, which manages sessions for the frontend. The pre-built Web UI in examples/web_ui pairs a backend with a TypeScript frontend that connects to that service. examples/console/main.py and examples/tui/main.py are alternative entry points for running agents from a terminal.

The codebase has 1,304 files and 13,438 symbols in 5 modules, led by Python, TypeScript and JavaScript. Code health is 7.9 out of 10, rated good.

Featured answer

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

Files per layer in agentscope5 layers.

Basis: Inferred · knowledge graph· as of a17937b

Repowise maps public repos from their source. Not affiliated with agentscope-ai. What is Repowise?