The runtime for production agents.
Trinity is the self-hosted AI agent platform to run agents in production - on your hardware, inside your perimeter, on the record. You build the agents; Trinity keeps them running, recoverable, and audited.
Trinity is the open-source (Apache 2.0), self-hosted AI agent platform to run agents in production - a runtime built by Ability.ai that runs Claude Code, Codex, and Gemini CLI agents inside your own perimeter with git-versioned state, multi-agent orchestration, governance, and an append-only audit trail.
Inside your perimeter.
Trinity deploys on hardware you own — a workstation, a rack, a VM behind your VPN. Models, keys, memory, audit trail: all of it stays inside. The platform never faces the internet; the only public surface is the channels you choose to open. Your infrastructure, your data, your agents — owned, not rented. Your competitors rent the same AI; this is the version you own.
Bring the agents you already build.
Claude Code locally is a developer tool. Trinity is a runtime. An agent is a git repo of prompts and skills — Trinity runs Claude Code, Codex, and Gemini CLI agents side by side. Same repo, same skills, no rewrite.
Its own sandbox. Its own repo.
Every agent runs in an isolated container and commits its memory back to git every 15 minutes. State accumulates — the agent is better at the job every month, closer to an employee than a script. Self-Improving Cognitive Systems: the more a system improves itself, the more it matters who owns it.
They work as a team.
Agents message each other, delegate, and hand off — research to draft to outreach — only across permissions you've granted. Multi-step workflows run end to end with no human relaying context between steps.
A mind at the center.
Cornelius is the fleet's cognitive core — a living knowledge graph that accumulates your company's entities, decisions, and hard-won insight, and serves them back to every agent. The longer it runs, the more of your company it holds.
Full control from your favorite AI.
The whole platform is exposed as an MCP server — 90+ tools. Connect Claude, ChatGPT, or Cursor and run the fleet in plain language: create agents, trigger runs, read logs, wire schedules, rotate credentials. Everything the dashboard can do, your AI can do.
Who can do what — enforced.
Permissions for users and agents alike: who can see, who can call, who can approve. Guardrails cap tools, time, and budget per run. Every action lands in an append-only, hash-chained audit trail no one can quietly edit.
It runs on schedule — and pauses for you.
Cron schedules, loops, event triggers, pipelines — and fan-out, one task dispatched across many agents at once. A 3 a.m. run fires unattended; the one irreversible step waits at a human gate. You approve from your phone over coffee, and the run resumes exactly where it paused.
Meet them where your team lives.
Expose agents to your team — or your clients — over Slack, WhatsApp, Teams, or Telegram. One identity gate on the perimeter; the platform itself stays behind the VPN.
Build once. Deliver to clients.
Every agent you build is a portable git repo. Deliver it as a service — clients reach it through a gated channel or a portal, with exactly the permissions you grant. Or install it inside their perimeter, on their own Trinity, where the client owns the install. What you build for one client compounds into the next.
Open source is the whole platform. Enterprise adds governance.
Open source — Apache 2.0, free
- Agent platformfleet, chat, voice, terminal
- Orchestrationscheduling, monitoring, recovery
- Channels & APIsSlack, Telegram, WhatsApp, MCP, CLI
- Security coreencryption, hardened containers, audit log
- Sovereign deploymentyour hardware, no phone-home
Enterprise adds
- User & org managementinvite, deactivate, activity view
- SSO, 2FA & SCIMSAML/OIDC, automated provisioning
- Advanced RBACworkspaces, granular roles
- Compliance suiteaudit dashboard, SIEM export
- Data retentionpolicy enforcement, configurable windows
- Advanced DevOps agentoperates your Trinity instances
- License managementoffline-verified, air-gap friendly
Open core — Enterprise includes everything in open source.
Deliver agents to your clients? Become a Trinity partner.
One-click · DigitalOcean Marketplace
Deploy it in five minutes.
Pick a droplet and the platform brings itself up — Trinity, Caddy, and Redis on Ubuntu 24.04, inside your own DigitalOcean account. Nothing to configure, nothing of yours passing through us.
- Hit “Create Trinity Droplet”. Pick a region and a size — the image is already chosen for you.
- Give it 90 seconds. First boot installs the stack, closes everything but 22/80/443, and issues a Let’s Encrypt certificate — no domain required.
- Open the HTTPS address. Claim the admin account in the browser and your fleet is live.
Ubuntu 24.04 · Trinity 0.9.5 · 4 vCPU / 8 GB recommended · your account, your bill, your data
Not on DigitalOcean? Clone it onto a Mac mini in the closet, bare metal in your rack, any other cloud — Docker Compose and one script.
git clone https://github.com/abilityai/trinityThe full install guide · single-server, hardening, upgrades

The cognitive core
Trinity runs the body. Cornelius is the mind.
Cornelius is the self-improving cognitive core that lives on Trinity — the orb you met in the scenes above. Pictured is not a mockup: it is Cornelius rendering its own mind, a live 3D graph of notes, edges, and activity that reshapes itself as the system learns your business.
Explore Cornelius →Dive deeper
Watch Trinity in motion.
Just shipped: the latest release notes - everything in the release, in writing. Running it already? star it on GitHub - it is how other people find Trinity.
Prefer reading? Best AI agent platforms to run agents in production — the flagship guide.