Trinity is the open-source (Apache 2.0), self-hosted runtime for production AI agents — built by Ability.ai, it 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.

Trinity · open source · Apache 2.0

The runtime for
production agents.

Agents that work while nobody watches — on your hardware, inside your perimeter, on the record. Claude Code lets you create assistants. Trinity turns them into autonomous employees.

402 on GitHubSelf-hostedClaude Code · Codex · Gemini
cornelius avatar
corneliusSYSTEM
acme/cornelius
Running
▶ consolidating graph12,408 nodes
Activity · 14d312
Context · 7d51%
Success97%$41.20 · 2m ago
chief-of-staff avatar
chief-of-staff
acme/chief-of-staff
Running
cron 07:00▶ morning brief
Activity · 14d74
Context · 7d46%
Success92%$12.40 · 14m ago
marketing avatar
marketing
acme/marketing
Running
▶ drafting campaign2 in queue
Activity · 14d61
Context · 7d44%
Success88%$9.85 · 41m ago
sales avatar
sales
acme/sales
Running
⏸ gate · email.send31 drafted
Activity · 14d129
Context · 7d70%
Success84%$18.02 · 3m ago
customer-support avatar
customer-support
acme/support
Running
▶ ticket #4312queue 3
Activity · 14d210
Context · 7d39%
Success96%$22.60 · just now
market-research avatar
market-research
acme/research
Running
cron Mon 08:00watching 14 rivals
Activity · 14d47
Context · 7d52%
Success90%$7.44 · 1h ago
back-office avatar
back-office
acme/back-office
Running
▶ CRM hygieneinbox zero 2d
Activity · 14d96
Context · 7d62%
Success81%$11.90 · 22m ago

Open source · Apache 2.0 · self-hosted

Run your first agent tonight.

Clone the repo and deploy on your own hardware — the whole platform, free to self-host. Or talk to Ability.ai and we set up Trinity, build your agents, and run them for you.

Open source

Start here — self-host.

  • Free forever — no seats, no platform fees.
  • Bring the agents you’ve built — Claude Code, Codex, and Gemini CLI agents run as-is.
  • Community at your back — GitHub issues and Discord.
git clone https://github.com/abilityai/trinity

Enterprise

Run it with us.

  • Run by our engineers — a dedicated, single-tenant instance in your perimeter; uptime, upgrades, and monitoring around the clock.
  • Clears procurement — pentested Grade A (UnderDefense); SOC 2 underway.
  • Still yours — same core as the public release; export and leave anytime.

Deliver agents to your clients? Become a Trinity partner.

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.

Cornelius rendering its own mind — a live 3D graph of notes, edges, and activity

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.

Trinity Platform — architecture explainedDeep dive · Eugene Vyborov
Production-grade hosting for the agents you've already builtDemo · Eugene Vyborov
Trinity v0.8: grid dashboard, Cornelius integration, guardrails & reportingRelease · Eugene Vyborov

Prefer reading? Best AI agent platforms to run agents in production — the flagship guide.