Self-hosting
Guide Documentation category

Self-hosting

Plan, configure, and operate Agent Barn on infrastructure you manage.

For
Platform engineers and self-hosted operators

Choose the correct operating path

Self-hosting means running Agent Barn on infrastructure you manage. You provide the Kubernetes cluster, application addresses, persistent storage, and credentials for your installation.

Start by choosing the path that matches your task.

Your taskStart here
Try Agent Barn on your computerRun Agent Barn locally
Prepare an installation for your teamConfigure production
Set the deployment configurationDeployment configuration
Deploy the configured application to KubernetesDeploy to Kubernetes
Maintain an existing installationUpgrade Agent Barn

The AAI Labs hosted-service runbooks describe that team's infrastructure. You do not need access to those clusters or company accounts to plan your own installation. See AAI Labs hosted-service operations for the k3s branch deployments and the Talos public release workflow.

Communications is a separate process on port 8002, not part of Ingest. It owns Communication Connections, canonical Conversation Messages, Communication Deliveries, provider ingress and outbound recovery, and the Runtime-neutral protocol used by Hermes and OpenClaw. Connection credentials remain separate from Agent tool Integration credentials.

Available documentation

Concept

Runtime Assembly and Deployment

Understand Agent runtime assembly, reply and initiated delivery, scheduled-result routing, and recovery.

Guide

Local Development, Operations, and Releases

Understand local services, migrations, runtime images, and separate client-image and hosted-deployment workflows.

Guide

Self-Host the Communications Service

Deploy and operate Agent Barn’s separately served Communications process for provider ingress, durable Communication Deliveries, Runtime communication, diagnostics, and outbound replies.

Reference

Configure a self-hosted platform

Configure Agent Barn’s Product, Ingest, and Communications services, identity, databases, Agent runtimes, networking, storage, integrations, workers, and monitoring.

Guide

Deploy Agent Barn to Kubernetes

Deploy Product, Ingest, Communications, workers, Agent Runtimes, and monitoring to Kubernetes with Helmfile.

Reference

Configure a production deployment

Configure production networking, secrets, service access, and cost synchronization for a self-hosted Agent Barn deployment.

How-to

Manage database migrations

Create, review, apply, verify, and recover Agent Barn migrations for Product, Ingest, Communications, Connection data, and PostgreSQL-backed delivery.

How-to

Monitor the platform

Monitor Agent Barn services, runtime health, communication delivery, and cost synchronization freshness in a self-hosted deployment.

How-to

Upgrade Agent Barn

Plan compatible application and runtime rollouts, preserve session history, and distinguish client-image publication from hosted deployment and recovery.

Guide

Troubleshoot self-hosting

Diagnose Agent Barn local and Kubernetes failures across Product, Ingest, Communications, Connections, Deliveries, Agent Runtimes, providers, and monitoring.

Guide

Configure Agent Email

Configure Cloudflare routing, the inbound Worker, sending access, and environment-specific secrets for Agent Email.

Documentation