Agent Barn is an open-source, self-hosted AI agent control plane for teams that want to operate OpenClaw and Hermes agents on their own Kubernetes infrastructure. It does not replace these two runtimes itself; instead, it provides a unified management layer for them.
Key capabilities include: connecting agents to Slack, Microsoft Teams, Telegram, or Discord so users can interact with AI colleagues in their everyday chat tools; assigning each agent an independent role, model, and tool access permissions; generating an independent virtual key for each agent through the LiteLLM proxy to enable per-agent token consumption and cost attribution rather than an opaque monthly total; supporting multi-tenancy with organization roles and per-agent access roles, with isolation at the data layer; and recording conversation history, tool call logs, and domain event traces for auditing.
In terms of usage, the project provides Helm charts, Helmfile, and a local quick-start script. Local startup requires Git, Docker Compose v2.24+, bash, kubectl, uv, OpenSSL, and curl, as well as an OpenRouter API key. Running ./run.sh validates .env, bootstraps persistent private Garage storage, starts the k3d cluster and LiteLLM, builds and loads the agent base images, starts the database and Redis, runs database migrations, and starts services including the API, worker, sync-engine, communications, memory, artifact-purge, workflow-maintenance, and UI. The first run requires building two agent base images, which takes a long time. After startup, you can log in via http://localhost:3000 to first create an organization and then hire agents based on templates.
Use cases include: teams that need to centrally manage multiple AI colleagues; organizations that want to connect agents to existing chat platforms and control their tool permissions; enterprises that need per-agent cost tracking, auditing, and access control; and users who want full control over the data plane and to run agents on their own Kubernetes.
Limitations: users still need to operate the Kubernetes cluster, connected tools, and model provider configurations themselves; agent command approval behavior varies by runtime; the credential lifecycle for some skills (such as Excel, Google Drive, HubSpot, OpenPanel, PostHog) is not yet modeled, and they can be attached but will not be attached automatically; the memory gateway requires a running Hindsight backend to list or save memories; the local development path has specific configuration requirements (such as DB_CONNECTION_URL must be correct, and LITELLM_BASE_URL needs to be set to http://127.0.0.1:7070),否则智能体可能创建成功但无法应答。项目未提供具体的收费、价格或性能基准信息。