MCP Hub
Back to servers

zoogent

AI agent orchestrator with Architect AI. Multi-team, web dashboard, 35+ MCP tools.

Registry
Stars
1
Updated
Apr 17, 2026

Quick Install

npx -y zoogent

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

npx zoogent create my-agents
cd my-agents
npx zoogent 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:

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

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

npx zoogent create my-agents
cd my-agents
npx zoogent start
  1. Open http://localhost:3200
  2. Create your account
  3. Create a team
  4. Go to Team Settings > add your Anthropic API key
  5. Go to Architect > describe what you want to automate

Architect designs agents, writes skills, generates code, and tests everything through conversation.

Server

npx zoogent create my-agents
cd my-agents
npx zoogent start -d

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:

npx zoogent create my-agents
cd my-agents
npx zoogent start -d

Add the MCP server to Claude Code (-s user makes it available in every project):

claude mcp add zoogent -s user -- npx zoogent mcp

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.

claude mcp add zoogent -s user \
  -e ZOOGENT_URL=https://your-domain.com \
  -e ZOOGENT_API_KEY=zg_your-key-from-settings \
  -- npx zoogent mcp

Without -s user the MCP is registered only for the current working directory (local scope) and won't appear in other projects. Use -s project instead if you want to commit the config into the repo's .mcp.json.

Alternative: configure via .mcp.json
{
  "mcpServers": {
    "zoogent": {
      "command": "npx",
      "args": ["zoogent", "mcp"],
      "env": {
        "ZOOGENT_URL": "https://your-domain.com",
        "ZOOGENT_API_KEY": "zg_your-key-from-settings"
      }
    }
  }
}

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

  1. Create a team for your business process
  2. Describe what you want automated in the team's Architect chat
  3. Architect creates agents (with goals, schedules, models) and writes their code
  4. Agents run on schedule or by event, communicate through tasks
  5. Agents learn from experience (Memory) and share knowledge (Team Knowledge)
  6. 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 Types

TypeHow it runsExample
cronOn scheduleNews scanner every 2 hours
manualOn demand or via taskContent writer triggered by scanner
long-runningPersistent processTelegram bot, webhook listener

5 Communication Channels

ChannelWhatWho sees it
TasksMessages between agentsSender + receiver
Team KnowledgeShared facts (moderated)All agents in team
MemoryPersonal learningsOnly the agent
StorePersistent working data (URLs, IDs, state)Only the agent
SkillsInstructions from humansAssigned agents

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.

await storeSet('seen_urls', ['https://...'], 604800); // expires in 7 days
const urls = await storeGet('seen_urls');

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

zoogent create <name>  # Create new project (recommended)
zoogent init           # Initialize in current directory
zoogent start          # Start server (foreground)
zoogent start -d       # Start server (daemon)
zoogent stop           # Stop daemon
zoogent status         # Check if running
zoogent logs           # View server logs (-f to follow)
zoogent mcp            # Start MCP server (stdio)

Deployment

Server (no Docker)

npx zoogent create my-agents
cd my-agents
npx zoogent start -d

Docker

Dockerfile:

FROM node:24-slim
WORKDIR /app
RUN echo '{"name":"app","private":true,"type":"module","dependencies":{"zoogent":"*","@anthropic-ai/sdk":"*"}}' > package.json && npm install
RUN mkdir -p /app/data
ENV DATABASE_URL=./data/zoogent.db PORT=3200
EXPOSE 3200
CMD ["sh", "-c", "npx zoogent init && npx zoogent start"]

docker-compose.yml:

services:
  app:
    build: .
    expose:
     - "3200"
    environment:
     - DATABASE_URL=./data/zoogent.db
     - PORT=3200
     - BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
     - BETTER_AUTH_URL=${BETTER_AUTH_URL}
      # ZOOGENT_API_KEY - generate in Settings UI after first login
      # ANTHROPIC_API_KEY - per-team, set in Team Settings UI
    volumes:
     - zoogent-data:/app/data
    restart: unless-stopped

volumes:
  zoogent-data:

All env vars use ${VAR} syntax - set actual values in your hosting platform (Dokploy, Railway, etc.).

Required Environment Variables

VariableRequiredDescription
BETTER_AUTH_SECRETYesSession secret. openssl rand -hex 32
BETTER_AUTH_URLRemote onlyPublic URL (e.g., https://your-domain.com)

Agent SDK

import {
  // Tasks
  createTask, getMyTasks, checkoutTask, completeTask, failTask,
  // Reporting
  reportCost, reportMemory, reportTeamKnowledge,
  // Context
  getGoal, getSkills, getMemories, getTeamKnowledge,
  // Store
  storeGet, storeSet, storeDelete, storeKeys,
  // Skills
  loadSkill, loadSkills,
  // Consensus
  submitEvaluation,
  // Health
  heartbeat,
} from 'zoogent/client';

@anthropic-ai/sdk is bundled - agents can import Anthropic from '@anthropic-ai/sdk' directly.

All SDK calls are fail-open (errors caught silently). All functions read ZOOGENT_* env vars automatically.

Environment Variables

Server

VariableDescriptionDefault
DATABASE_URLSQLite file path./data/zoogent.db
PORTServer port3200
BETTER_AUTH_SECRETSession encryption keyAuto-generated
BETTER_AUTH_URLPublic URL for authhttp://localhost:3200

Injected into Agents

VariableDescription
ZOOGENT_API_URLServer URL
ZOOGENT_AGENT_IDAgent ID
ZOOGENT_AGENT_GOALAgent's mission
ZOOGENT_AGENT_MODELAI model
ZOOGENT_RUN_IDCurrent run ID
ZOOGENT_TEAM_IDTeam ID
ZOOGENT_API_KEYAPI key (from Settings)
ZOOGENT_AGENT_SKILLSRequired skills content
ZOOGENT_INTEGRATIONSAgent integrations (JSON)
INTEGRATION_{NAME}_{FIELD}Individual integration credentials
ZOOGENT_MEMORIESPast learnings (JSON, scored)
ZOOGENT_TEAM_KNOWLEDGEShared knowledge (JSON)
ANTHROPIC_API_KEYFrom team settings (auto-injected)

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

License

MIT

Reviews

No reviews yet

Sign in to write a review