Trinity is the open-source (Apache 2.0) operating system for AI-native companies, with Cornelius, its cognitive architecture, built in. It is a self-hosted AI agent platform to run agents in production - built by Ability AI, it runs Claude Code, Codex, and Gemini CLI agents inside your own perimeter, organised into departments with roles, objectives and reporting lines; your people work with them in the Workspace (chats, projects, an Inbox of asks and approvals, a canvas, voice); every agent keeps git-versioned state and every action lands in an append-only audit trail. Install it from GitHub, in one click from the DigitalOcean Marketplace, or from the AWS Marketplace.
The operating system
for AI-native companies
Runs your AI agents the way your company runs: departments with roles, one workspace shared with your people, and receipts for every action. All on your own infrastructure, compounding into intelligence you own.
One company · one operating system
Organised the way your company is.
Trinity draws your business as departments, each with its own agents and reporting lines. Every agent holds a role defined once, with objectives it is measured against and the people it answers to. Agents hand work to each other along the lines you draw, research to draft to outreach, and nothing crosses a line you have not granted.
Compounds
The work compounds.
Cornelius, Trinity's cognitive architecture, sits at the centre of the fleet. It turns what your agents do every day into knowledge the company keeps and builds on, without retraining a model. Every department feeds it; every agent reads from it. The longer it runs, the more of your company it holds, and that asset stays yours.
Explore Cornelius →With receipts
Every agent has a history you can read.
Each agent runs in its own isolated container and keeps its memory in a git repository you own: every decision, note and fix is a commit you can read, audit or roll back. Every action lands in an append-only audit log, with a hash chain you switch on in compliance mode.
a3f19cmemory: 14 leads scored, 2 objections learnedb7e02dmemory: weekly brief template refinedc91a44skill: follow-up cadence v3d15f08memory: pricing objection playbookMemory commits back to git every 15 minutes. Update is a push; undo is a revert. Kill the container — the mind survives in the repo.
#482409:13:40marketinggit.commitauto · 15 mind15f08… → e88b31…#482509:14:11back-officecrm.updateautoe88b31… → f42c77…#482609:14:56market-researchreport.publishapproved · eugenef42c77… → 0aa9e2…#482709:15:20corneliusgraph.mergeauto0aa9e2… → 1bc4d9…Shaped to your company
Anything irreversible waits for a person.
Money, messages, deletions: an agent that reaches one of them stops and asks the person in the approving role, in their Inbox, before it starts; the answer wakes it back up. Objectives have an owner and a number, measured from what the agents record. Your company's facts, policies and positioning are written once, read by every agent, and changed only by decision.
Northwind renewal: send the offer at 12% discount?
Finance recommends 12% (margin holds at 61%). Sales asked for 15%. The email is drafted and goes out only when you answer.
email.sendto cfo@northwind.example · “Your renewal — revised terms”frozen to this exact actionWhere your people work
One workspace. Every agent.
Your team works with agents the way they work with colleagues: a chat per topic, a live card while the work happens, deliverables as files, a canvas with the numbers, ratings on what comes back. Projects keep people and agents on one outcome. Also over Slack, WhatsApp, Telegram and voice; the platform itself stays behind your VPN.
On it. I asked sales for the renewal forecast and back-office for the cost lines; both came back in the last 4 minutes. The canvas on the right has pipeline vs target; the pack draft follows.
Northwind renewal: send the offer at 12% discount?
Deliverable ready: Q4-board-pack-draft.pdf · 14 pages · rate it or tell me what to change▲ ▼ · report a problem
Owned
Inside your perimeter. On any model.
Trinity deploys on hardware you own: a workstation, a rack, a VM behind your VPN. Models, keys, memory and audit trail stay inside, and nothing leaves unless you opt in. Agents run on Claude Code, Codex or Gemini CLI; swap the model and what the company has built up stays. Open source, Apache 2.0. Export everything and walk away whenever you choose.
Editions
Open source is the whole platform. Enterprise adds governance.
Self-host the open-source edition free under Apache 2.0. Enterprise adds the identity, permission and compliance controls a larger organisation needs.
Open source — Apache 2.0, free
- Agent platformfleet, chat, voice, web terminal, shared workspace
- Multi-runtimeClaude Code, Gemini CLI, OpenAI Codex
- Orchestrationscheduling, agent loops, agent-to-agent calls, recovery
- System agentbuilt-in ops agent: health, restarts, schedules, costs
- Channels & APIsSlack, Telegram, WhatsApp, voice calls, MCP, REST, CLI
- Git-native agent stateGitHub sync, commit history, reset to upstream
- Marketplace & librariesplugins per agent, skills library, templates
- Security coreencrypted credentials, hardened containers, audit log
- Guardrails & cost controlssafety rules, read-only mode, quotas, loop budgets
- Tamper-evident audit logopt-in SHA-256 hash chain with verification
- Roles & sharingfour roles, per-agent sharing
- Self-hosted deploymentyour hardware, no telemetry unless you opt in
Enterprise adds
- User & org managementinvite, deactivate, reactivate, activity per user
- Single sign-on (OIDC)Okta, Entra ID, Google Workspace
- Two-factor authenticationauthenticator apps, recovery codes, policy per role
- SAML 2.0 SSOSAML single sign-on
- SCIM provisioningautomated user lifecycle from your identity provider
- Advanced RBACteams, granular roles
- Fleet permissions matrixone view of which agent may call which
- Compliance suiteaudit dashboard, SIEM webhook export, auditor export
- Managed data retentionconfigurable retention windows beyond the defaults
- Credential vaultnamed encrypted secrets, deny-by-default grants per agent
- A2A managementexposure control, inbound allowlist, outbound endpoints
- Cross-model validationa second model reviews an agent's result
- Advanced DevOps agentoperates your Trinity instances
- Ephemeral agentsshort-lived agents with a lifetime and budget limit
- 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 & AWS Marketplace
Deploy it in five minutes.
Pick an instance in your own cloud account and the platform brings itself up — Trinity, Caddy, and Redis on Ubuntu 24.04, with its own HTTPS certificate. Nothing to configure, nothing of yours passing through us.
DigitalOcean Marketplace
- 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 · 4 vCPU / 8 GB recommended · your account, your bill, your data
AWS Marketplace
- Subscribe and launch into EC2. The image is free — you pay AWS for the instance, as you would for anything else in your account.
- Pick a size and open 80/443. A Large instance (t3a.large · 2 vCPU / 8 GB) runs the platform and a few agents; XLarge (4 vCPU / 16 GB) runs several at once. First boot issues its own certificate.
- Open the HTTPS address. Claim the admin account with the instance ID and your fleet is live.
Ubuntu 24.04 · Elastic IP optional · your account, your bill, your data
Somewhere else? 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/trinityDigitalOcean guide · AWS guide · single-server, hardening, upgrades
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.
Workshops
Learn Trinity live, step by step.
Eugene Vyborov, who created Trinity, builds on it live and you build along. One registration covers the whole series, and every past session is recorded.

Next live · Oct 22 · 12 PM ET / 9 AM PT
The agent-native agency workshop
Build an agency that runs on agents. Whatever you run today — Claude Code and Codex agents, n8n flows, a few scripts — we bring it onto a platform you own, then build what’s missing. Six live sessions, step by step…
- 01What Trinity is, and your own instance running by the endSep 17 · Recording
- 02Bring your existing agents, then build the departmentsOct 1 · Recording
- 03Give your agency one shared brainOct 8 · Recording
- 04Orchestration: one agent to run them allOct 15 · Aired
- 05Workspace: the interface for your teamOct 22 · Next live
- 06Operations & the commercial modelOct 29 · Live