
Zoogent
io.github.bepunk由 GitHub 账号 bepunk 发布v0.4.2更新于 Oct 24, 2026
AI agent orchestrator with Architect AI. Multi-team, web dashboard, 35+ MCP tools.
概览
通过 MCP 操作 ZooGent 本地 AI 智能体编排器,可创建团队、设计智能体并迭代其代码。
- 可以做什么
- 创建并配置相互隔离的智能体团队,每个团队有自己的智能体、技能、记忆和密钥
- 设计智能体并生成或改写其 TypeScript 代码,然后触发运行并读取日志
- 管理技能、任务、记忆、团队知识和智能体的键值存储
- 查看按智能体和按团队统计的成本与预算
- 获取内置指南,例如代码生成和智能体模式
- 适用场景
- 适合希望在 Claude Code 中而非网页面板里搭建和运维定时或事件驱动 AI 智能体团队的场景,例如舆情监控、发票处理或客服自动化流程。也适合需要智能体在本地或自托管实例上持续运行的项目。
- 运行要求
- 以本地 stdio 进程运行,命令为 npx zoogent mcp,需要 Node.js 24 以及本地启动或远程部署的 ZooGent 服务器。连接远程实例需设置 ZOOGENT_URL 和在设置界面生成的 ZOOGENT_API_KEY。服务器需 BETTER_AUTH_SECRET,Architect AI 还需团队级 Anthropic API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Zoogent,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ZooGent
Lightweight AI agent orchestrator with built-in Architect AI. Multi-team support - run isolated agent teams in a single instance. Describe what you want to automate, get working agents.
Quick Start
Open http://localhost:3200. Create account > create team > add Anthropic API key in Team Settings > go to Architect and describe what you want to automate.
What is ZooGent
ZooGent is a process manager for AI agent teams. It spawns agents, routes tasks between them, tracks costs, and captures logs. Each agent is a standalone script that calls its own LLM.
Multi-team isolation - one instance, multiple teams. Each team has its own agents, skills, memory, knowledge, Architect chat, and API keys. Teams don't see each other's data.
Two ways to use it:
-
Chat UI - open the Architect page in your browser, describe your task in plain language. The Architect AI designs the team, creates skills, writes agent code, and tests everything.
-
Claude Code + MCP - connect MCP to Claude Code, build agents from the terminal with full control over code and configuration.
Both paths use the same API, same database, same agents. Pick whichever fits your workflow.
Getting Started
Path 1: Web UI + Architect
Local
- Open http://localhost:3200
- Create your account
- Create a team
- Go to Team Settings > add your Anthropic API key
- Go to Architect > describe what you want to automate
Architect designs agents, writes skills, generates code, and tests everything through conversation.
Server
Set BETTER_AUTH_URL to your public URL in .env. Use a reverse proxy (nginx, Caddy) or deploy via Docker (see Deployment section). The web UI is the same - just accessed remotely.
Path 2: Claude Code + MCP
Local
Start the server locally, then connect Claude Code via MCP:
Add the MCP server to Claude Code. Run this from inside the project you want to work in — each project typically binds to its own ZooGent instance (its own SQLite, teams, agents, API keys), so the MCP config should live with the project:
-s project writes the config to .mcp.json in the project root — commit it and teammates who clone the repo get the same MCP setup automatically.
Claude Code auto-discovers the local server. Ask Claude to create a team and design your agents.
Remote server
Deploy ZooGent to a server (see Deployment). Open the web UI, create an account, go to Settings > generate an API key.
Run from inside the project that should connect to this ZooGent instance:
Each project can point at its own ZooGent (local or remote), with its own URL and API key. Keeping the config in the project's
.mcp.jsonmakes that mapping explicit. Use-s userinstead only if you have a single shared ZooGent instance across all projects.
Alternative: configure via .mcp.json
Claude Code connects to the remote server. Create teams, design agents, write code - all through MCP tools. Agents run on the server.
How It Works
- Create a team for your business process
- Describe what you want automated in the team's Architect chat
- Architect creates agents (with goals, schedules, models) and writes their code
- Agents run on schedule or by event, communicate through tasks
- Agents learn from experience (Memory) and share knowledge (Team Knowledge)
- When something breaks, Architect sees the error logs and suggests fixes
Examples
Social media monitoring. Scout agent scans Reddit and Hacker News every 2 hours for relevant posts. Comment writer drafts responses in the right tone. Feedback collector checks next day - which comments got upvotes, which got ignored. Team learns and adapts.
Invoice processing. Watcher agent polls an email inbox for new invoices. Parser extracts amounts, dates, vendor info. Router creates entries in your accounting system via API. Anomaly detector flags invoices that look unusual for human review.
Customer support automation. Intake agent receives customer requests via webhook. Analyzer classifies urgency and type, creates tasks for human team members in your project tracker. Follow-up agent monitors task completion, notifies customers when their request is resolved.
Features
Teams
Multiple isolated teams in one instance. Each team has its own agents, skills, memory, knowledge, Architect chat, and Anthropic API key. Header nav: Teams / Members / Settings. Team sub-nav: Architect / Agents / Tasks / Costs / Skills / Memory / Knowledge / Settings.
Architect AI
Built-in Claude-powered chat that designs and manages your agent team. Creates agents, writes skills, generates TypeScript code, assigns skills, triggers runs, reads logs - all through conversation. SSE streaming with real-time tool execution display. Each team has its own Architect with separate chat history.
Agent Runtimes
For typescript, agents can import from a curated blessed set: @anthropic-ai/sdk, openai, @google/generative-ai, axios, cheerio, googleapis, zod, p-limit/p-retry/p-map/p-queue, date-fns, yaml, csv-parse/csv-stringify, cheerio, fast-xml-parser, marked, turndown, slugify, tiktoken, nodemailer, imapflow, mailparser, jsonwebtoken, plus all Node built-ins. Unknown imports fail at upload with a readable error. The full list lives in the code-generation system skill — call get_agent_guide("code-generation") from MCP.
Agent Types
5 Communication Channels
Skills
Markdown documents with instructions and knowledge, stored in the database per team. Assigned to agents - injected into their context at startup. Create via Architect chat, MCP, or API. System skills (team-design, agent-patterns, code-generation, etc.) are global and used by Architect AI.
Agent Store
Key-value storage for agent working data that persists between runs. Track URLs, save processed IDs, cache state. Optional TTL for auto-expiry.
Cost Tracking
Per-agent and per-team spending. Monthly budgets with hard stops - agent won't run if over budget. Set team budget in Team Settings, per-agent budget in agent config.
Self-Healing
When an agent fails, the error with stderr excerpt appears in the team's Architect chat. Open Architect, see what went wrong, ask it to fix the code.
Web Dashboard
Light and dark themes. Global pages: Teams, Members, Settings. Team pages: Architect (chat), Agents, Tasks, Costs, Skills, Memory, Knowledge.
CLI Commands
Deployment
Server (no Docker)
Docker / Dokploy / Railway
No repository needed. Paste this compose into your hosting platform (Dokploy, Railway, etc.) and deploy.
Set BETTER_AUTH_SECRET (generate: openssl rand -hex 32) and BETTER_AUTH_URL (your public URL) in the platform's environment settings.
To upgrade ZooGent: change [email protected] to the new version and redeploy.
Required Environment Variables
Agent SDK
Typescript agents use zoogent/client for context + task flow:
For runtime="typescript" agents, zoogent hosts these deps — your code just imports them.
For runtime="exec" in any language, call the HTTP API directly: see the /llms-agent-guide.txt endpoint for the reporting contract.
All SDK calls are fail-open (errors caught silently). All functions read ZOOGENT_* env vars automatically.
Workflow
No local agents/ directory to keep in sync. Source of truth is zoogent's DB. On remote deploys,
the same MCP calls work against ZOOGENT_URL without any deployment step for the agent code itself.
Environment Variables
Server
Injected into Agents
Tech Stack
- Runtime: Node.js 24, TypeScript
- HTTP: Hono (JSX SSR)
- Database: SQLite (better-sqlite3, WAL, FTS5) + Drizzle ORM
- Auth: Better Auth (email + password, sessions)
- AI: Anthropic SDK (Claude for Architect)
- UI: htmx + Tailwind CDN (server-rendered)
- MCP: @modelcontextprotocol/sdk (stdio)
- Cron: node-cron
Security
- Agent env vars encrypted at rest (AES-256-GCM)
- Per-team settings (API keys) encrypted in database
- API keys managed in Settings UI (multiple named keys, stored in DB)
- Unified auth: localhost bypass + API key (from DB) + session cookie
- Path traversal protection on skill paths
- Log sanitization (strips API keys from stdout/stderr)
- First user = owner, registration closed after setup
- Team isolation: agents, skills, memory, knowledge scoped per team
- Agent sandbox: TypeScript agents always run with Node.js 24
--permission. Write access restricted to the team shared folder (ZOOGENT_SHARED_DIR = data/teams/{id}/shared/). No child_process spawning, no native addons.--max-old-space-size=512applied. - Shared team folder:
data/teams/{id}/shared/— agents in the same team can exchange files (images, video, CSVs) without cloud storage. Persists across restarts ifdata/is mounted as a Docker volume.
License
MIT
来源:README.md,提交 d75353a
工具
0版本历史
1- v0.4.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分