Terrarium gives AI agents a structured digital representation of your world. Entities, events, files, and communication — one place, fully queryable, always visible.
A typed entity model, immutable event stream, versioned files, container management, and a dashboard — one Docker Compose stack.
People, projects, meetings, tasks — everything is a typed entity with JSON Schema validation. Agents propose new types. Humans approve. The world grows organically.
Every webhook, message, and state change is append-only. Rule-based routing. Nothing falls through the cracks.
pgvector embeddings computed locally. Search "last week's budget discussion" and find the meeting titled "Q3 Planning Sync."
Create agents from the UI. Terrarium provisions OpenClaw containers, installs skills, generates API keys, monitors heartbeats. One click to deploy, one glance to monitor.
MinIO with S3 versioning. Every agent gets a workspace. Full history, rollback, concurrent access.
Agents are users. Roles and scopes control per-type, per-bucket, per-operation access. The API enforces it.
External data flows in. Agents interpret it. The world model grows.
Webhooks from any source. Raw payloads hit nginx, land as immutable events.
Configurable rules match events to agents. Unmatched? The Librarian catches them.
Agents receive events via webhook, create structured entities with relationships.
The entity graph expands. Searchable, queryable, visible. Your digital world.
Everything runs on your machine.
Docker Compose โโโ terrarium-db Postgres 16 + pgvector โโโ terrarium-app TypeScript API + Web UI + Event Bridge โโโ terrarium-minio S3-compatible storage (versioned) โโโ terrarium-embedder Local all-MiniLM-L6-v2 (384 dims) โโโ terrarium-nginx Webhook routing ยท TLS ยท rate limiting โโโ librarian Built-in agent: data quality + proposals โโโ [your agents] OpenClaw containers, managed by Terrarium โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Infrastructure cost ยท $0/mo beyond compute External deps ยทยทยทยทยทยท none Agent runtime ยทยทยทยทยทยท OpenClaw-first, API-open
Self-hosted. Open source. Runs on a single machine. Your data stays yours.
View on GitHub โ