agentao

Из публичных источников

Локальная среда выполнения ИИ-агентов с управлением для Python — встраивайте её в своё приложение или запускайте как CLI или сервер ACP. Разрешения, MCP, память и воспроизведение аудита встроены.

Машинный перевод · Показать оригинал

Local-first, governed AI agent runtime for Python — embed it in your app, or run it as a CLI or ACP server. Permissions, MCP, memory and audit replay built in.

MCP-серверКатегория: MCP-серверы · ИИ и память · SDK и фреймворкиOpen sourceданные проверены 15 окт. 2026 г.

Обзор

  • acp
  • agent-framework
  • ai-agent
  • cli
  • llm
  • local-first
  • mcp
  • model-context-protocol
  • openai-compatible
  • python

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    agentao.cn/ ↗
  • Реестр пакетов языкаpythonИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    pipx install agentao

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    pypi.org/project/agentao/ ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/jin-bo/agentao ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———
PythonСовместимо—манифест пакета: pyproject.toml name0.60

Релизы

проверено 29 окт. 2026 г.
v0.5.18Последний29 окт. 2026 г.Официальный источник ↗

Файлы версии 0.5.18

К релизу не приложены файлы.

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 15 окт. 2026 г.
Оценка качества93
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 1 days ago
Документация · 1515
README 10506 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 4 days ago
Точность категории · 107
classifier confidence 0.65
Популярность · 106
309 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 14 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/jin-bo/agentaoОсновной★ 309 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

fast-agentПохожий
Создавайте, собирайте и оценивайте агентов — отличная поддержка моделей и Skills/MCP/ACP/A2AApache-2.0 · MCP-серверы
OpenOSINTПохожий
ИИ-агент для OSINT с интерактивным REPL, сервером MCP и CLI. 20 инструментов. Работает с Claude, GPT-4 или локальными моделями. Только для санкционированных исследований в области безопасности.MIT · MCP-серверы
atomic-agentПохожий
Atomic Agent — локальный ИИ-агент, ориентированный на работу на вашем устройстве. Запускает открытые модели с открытыми весами на вашем собственном компьютере через llama.cpp.MIT · MCP-серверы
wigoloПохожий
Основной веб-инструмент для вашего ИИ-агента по написанию кода — локальный поиск, загрузка, обход и исследование через MCP. Без API-ключей, без облака, $0 за запрос. Публичная бета-версия.MCP-серверы
agent-bridgeПохожий
Локальный мост для двусторонней совместной работы Claude Code и Codex. 连接 Claude Code 与 Codex 的本地实时协作桥接工具。MIT · MCP-серверы
mcp-agentПохожий
Создание эффективных агентов с использованием Model Context Protocol и простых шаблонов рабочих процессовApache-2.0 · MCP-серверы

README

Из jin-bo/agentao · лицензия MIT · загружено 29 окт. 2026 г.

Agentao (Agent + Tao)

   ___                      _
  / _ \ ___ _ ___  ___  ___| |_  ___  ___
 /  _  // _` / -_)| _ \/ _ \  _|/ _` / _ \
/_/ |_| \__, \___||_// \___/\__|\__,_\___/
        |___/        (The Way of Agents)

"Order in Chaos, Path in Intelligence."

Agentao is a Governed Agent Runtime — a local-first, private-first, embeddable agent harness for Python hosts. Permissions, protocols, memory, plugins, and multi-session control are all first-class.

中文版本 README.zh.md


📚 Documentation — read this first

The full handbook lives in developer-guide/ (VitePress, bilingual). Production site: agentao.cn.

AudienceReadSite
Coding agents — Claude Code / Codex / … embedding Agentao into another projectdocs/guides/embed-for-agents.md (distilled, copy-paste playbook)—
CLI users — driving agentao in the terminaldeveloper-guide/en/cli/ (13 chapters: slash commands · plan mode · memory · replay · …)agentao.cn/en/cli/
Embedding developers — building Agentao into your appdeveloper-guide/en/ (Parts 1–7 + Appendix)agentao.cn
中文developer-guide/zh/cli/ · developer-guide/zh/agentao.cn/zh/cli/ · agentao.cn/zh/

Browse locally:

cd developer-guide && npx vitepress dev

For schema-level reference (every config file, every env var, every public API), the canonical doc is docs/reference/configuration.md. Everything else is in the Developer Guide.


Embed in 30 lines

pip install agentao
from pathlib import Path
from agentao import Agentao
from agentao.llm import LLMClient
from agentao.transport import NullTransport

with Agentao(
    working_directory=Path("/tmp/agent-run-1"),
    llm_client=LLMClient(
        api_key="sk-...",
        base_url="https://api.openai.com/v1",
        model="gpt-5.4",
    ),
    transport=NullTransport(),
) as agent:
    reply = agent.chat("Summarize today's logs.")
    print(reply)

This constructs an agent with no env-discovery, no implicit network, no global state — the host owns every input. For env-driven discovery (the path the CLI uses), call agentao.embedding.build_from_environment(working_directory=...) instead.

Embedding details: Developer Guide · Part 2 (Lifecycle) and Part 4 (Host Contract).

Coding agent (Claude Code, Codex, …) tasked with embedding Agentao into another project? Read docs/guides/embed-for-agents.md — a distilled, copy-paste integration playbook with construction skeletons, import rules, and a checklist.


CLI Quickstart

pip install 'agentao[cli]'

# .env in your project (all three are required):
printf "OPENAI_API_KEY=sk-your-key\nOPENAI_BASE_URL=https://api.openai.com/v1\nOPENAI_MODEL=gpt-5.4\n" > .env

# Smoke test — non-interactive
agentao -p "Reply with the single word: OK"

# Interactive REPL
agentao

Upgrading from 0.4.x? 0.5.0 removes what 0.4.x deprecated — agentao.harness (use agentao.host), agentao.session (use agentao.embedding.sessions) and the eight callback kwargs on Agentao(...) (use transport=, or build_compat_transport) — and two things that never warned: project_root is required on the session functions, and Agentao(...) takes only its first five parameters positionally. See docs/migration/0.4.x-to-0.5.0.md.

Upgrading from 0.3.x? From 0.4.0 the CLI deps moved into the [cli] extra. Use pip install 'agentao[full]' for zero behaviour change. See docs/migration/0.3.x-to-0.4.0.md.

First commands once the REPL is up:

/help       Every slash command + tools the agent has
/status     Model, mode, tokens, active skills
/model      Switch model on the current provider
/mode       Switch permission mode (read-only · workspace-write · full-access · plan)
/plan       Enter plan mode (read-only thinking with .agentao/plan.md)
/memory     Inspect persistent memory
/mcp list   MCP server status
/exit       Leave cleanly (don't Ctrl+C)

CLI handbook: agentao.cn/en/cli/ — 13 chapters covering every slash command and the mental model behind them.


Why Agentao?

The name encodes the design: Agent (capability) + Tao (governance). Three pillars of a governed runtime:

PillarWhat it meansHow Agentao implements it
Constraint (约束)Agents must not act without consentTool confirmation · permission modes (read-only / workspace-write / full-access / plan) · macOS sandbox-exec
Connectivity (连接)Agents must reach the world beyond trainingMCP (stdio / Streamable HTTP / SSE) · ACP (full-agent JSON-RPC) · plugins · hooks
Observability (可观测性)Agents must show their workLive thinking display · streaming tool output · full LLM logging · JSONL replay

How this compares with the Claude Agent SDK, the OpenAI Agents SDK and Strands — and when one of those is the better fit: Compared with Vendor SDKs.


Feature Overview

AreaWhat you getDeep dive
GovernanceTool confirmation, four permission modes, plan mode, macOS sandboxCLI ch. 3 · ch. 4
ContextToken tracking, LLM-summarized compaction, overflow recovery, file re-injectionCLI ch. 7
MemorySQLite-backed persistent memory with two scopes (user / project), automatic recall, jieba 中文 segmentationCLI ch. 6
SkillsAuto-discovered from skills/, GitHub-installable (agentao skill install owner/repo[:path][@ref]), plus /crystallize workflowCLI ch. 5
ProtocolsMCP (stdio / Streamable HTTP / SSE) for tools · ACP (stdio JSON-RPC) for full agents · plugin lifecycleCLI ch. 8
Sub-agentsBuilt-in codebase-investigator / generalist · custom .agentao/agents/<name>.md · foreground/background dashboardCLI ch. 11
Replay & OutputJSONL session recordings under .agentao/replays/ · markdown-toggle · /copy last replyCLI ch. 9
EmbeddingAgentao(...) constructor · events() stream · active_permissions() · capability injection · ACP Pydantic schemasDG Part 2 · Part 4

Installation

# Embedding host (Python `from agentao import Agentao`) — smallest closure
pip install agentao

# CLI user (`agentao` console script) — adds rich/prompt-toolkit/readchar/pygments
pip install 'agentao[cli]'

# Zero-behaviour-change upgrade from 0.3.x — full closure
pip install 'agentao[full]'

Required Python: 3.10+. Required env: OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL — all three, or startup raises ValueError.

For Anthropic / Gemini / DeepSeek / any OpenAI-compatible provider, set <NAME>_API_KEY + <NAME>_BASE_URL + <NAME>_MODEL and pick it via LLM_PROVIDER or /provider at runtime. To talk to Anthropic's own API natively (Messages API — working prompt caching, signed thinking), add <NAME>_API_FORMAT=anthropic-messages; for OpenAI's Responses API (a reasoning model's reasoning kept across requests), <NAME>_API_FORMAT=openai-responses. It is never inferred from a URL or a name. Full list: docs/reference/configuration.md.


For contributors

git clone https://github.com/jin-bo/agentao
cd agentao
uv sync
cp .env.example .env

# Run the CLI from source
uv run agentao
# or
./run.sh

# Tests
uv run python -m pytest tests/

Contributor entry points:

WhatWhere
Project layout, code conventionsCLAUDE.md
Adding a tool / agent / skillDeveloper Guide · Part 5
Plugin author guideDeveloper Guide · §5.7
Embedding contract & ACP schemasDeveloper Guide · Part 4
Examples (skills · personas · integration blueprints)examples/

Design Principles

  1. Minimalism (极简) — pip install agentao and you're running. No databases, no cloud dependencies.
  2. Transparency (透明) — Reasoning chain on screen in real time. Every LLM call and tool call logged to agentao.log.
  3. Integrity (完整) — Context never silently dropped: LLM-summarized compaction, automatic memory recall, conversation continuity across restarts.

Etymology

Agentao = Agent + Tao (道) — the natural order that underlies all things. Three intertwined meanings:

  • Laws (法则) — rules that constrain and shape behavior
  • Methods (方法) — paths and techniques for accomplishing goals
  • Paths (路径) — routes through which things flow and connect

An agent without Tao is powerful but unpredictable. Agentao is the structure that makes that power trustworthy.


License

Open source. Use and modify as needed.

Acknowledgments

Открыть репозиторий ↗