Run it yourself
Trinity Open Source
Free Apache 2.0
- Deploy in five minutes, on a cloud or your own server
- Runs on your servers. Your data stays with you
- Docs, Discord and GitHub when you need help
Trinity is the open-source (Apache 2.0) operating system for your company's AI, 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, Gemini CLI and OpenCode 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.
Organizes your AI agents the way your company works. Agents get departments and roles, share one workspace with your people, and leave a receipt for every action. It runs on your own servers, and what it learns stays yours.
One company · one operating system
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, client intake to proposal to delivery, and nothing crosses a line you have not granted.
See the agents for each department →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
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
Money, client deliverables, 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.
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
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. We run Ability AI this way: nine people and 45 agents across every department.
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.
Deliverable ready: Q4-board-pack-draft.pdf · 14 pages · rate it or tell me what to change▲ ▼ · report a problem
Owned
Your agents live in your own GitHub, and the platform is easy to set up again anywhere. 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, Gemini CLI or OpenCode; swap the model and what the company has built up stays. Open source, Apache 2.0. Export everything and walk away whenever you choose.
Two ways to start
Run it yourself
Free Apache 2.0
Have us run it · 10 spots
$1,495 / month
Larger company? Enterprise · Build for clients? Partner Program
Dive deeper
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.
Questions
Trinity is the open-source operating system for your company's AI. It runs your AI agents on your own servers. Your agents work in departments with roles and goals, and your people work with them in one Workspace.
Claude Code, Codex, Gemini CLI and OpenCode agents. You can use more than one in the same company.
Yes. Trinity is open source under Apache 2.0. You can use it, change it and use it commercially. Open source is the whole platform, not a cut-down version.
Two things, both to other companies. You pay for the server. You also pay for your AI model subscription or API key (Claude, OpenAI or Gemini). We never resell AI models.
No. Trinity runs on your server. Your agents, data and keys stay there. Nothing of yours passes through us.
Yes. Every agent keeps its state in git, so you can see each change. Every action goes into an audit trail that nobody can edit.
From GitHub, in one click from the DigitalOcean Marketplace, or from the AWS Marketplace. To try it first, run it on your own computer with Docker Desktop and 8 GB of RAM. See how to install →
With Trinity Managed, we host it and keep it running, with a weekly build session with a dedicated agent specialist. Enterprise features are included. See Trinity Managed →