Skip to main content

Trinity · run it yourself

Run Trinity on your own servers.

Free and open source (Apache 2.0). Open source is the whole platform, not a cut-down version. Deploy it in five minutes on DigitalOcean or AWS. Or clone it from GitHub and run it on any Linux server or your own computer.

Before you start

What you need.

Four things to have ready. The DigitalOcean and AWS routes include Docker for you.

  • 01

    A machine with 8 GB of RAM.

    Your own computer with Docker Desktop (macOS, Linux or Windows). Or any Linux server, from Hetzner or GCP to your own hardware. Or a DigitalOcean or AWS account. 4 GB runs the platform and one or two agents.

  • 02

    Docker and Git.

    Docker with the Compose v2 plugin, plus Git. The DigitalOcean and AWS images include Docker, and the DigitalOcean routes install Git for you. Prebuilt images are x86-64; on an ARM server you build from source.

  • 03

    A Claude credential for your agents.

    A subscription token from claude setup-token (Pro or Max) or an Anthropic API key. Connecting one is the one required step on first sign-in. OpenAI Codex, Gemini CLI and OpenCode agents are supported too.

  • 04

    Claude Code and a browser.

    Claude Code on your computer, to connect to your instance and deploy agents onto it. A browser to claim the admin account. A domain is optional: the cloud routes issue a certificate for the server’s own address.

Three ways to install

Same system, your infrastructure.

Trying it? DigitalOcean, or Docker Desktop on your own computer. Already on AWS? The Marketplace. Your own servers, a private cloud or an air-gapped network? GitHub. It is the same platform on every route.

GitHub · self-host

Clone and run it anywhere.

For teams with their own machines: a Linux server at any provider, your own hardware, a private cloud or an air-gapped network. To try it, a Mac or Windows laptop with Docker Desktop also works.

The full source under Apache 2.0, free for commercial use, with the cognitive architecture built in. One script pulls the prebuilt images and brings up the whole platform on any Linux host you control, in about two minutes. Nothing of yours passes through us.

  1. Clone the repository. git clone https://github.com/abilityai/trinity.git
  2. Copy .env.example to .env . Set the admin password, your Anthropic API key and the URL it will serve at. Then pin the release tag.
  3. Run the installer. ./scripts/deploy/start.sh --hosted starts Trinity and everything it needs.
  4. Open the address and sign in as admin. The starter fleet is already there.

Apache 2.0 · Docker with Compose v2 · 8 GB RAM for a fleet · free for commercial use

DigitalOcean · 1-Click

Running in about 90 seconds.

The fastest route. One server in your own DigitalOcean account, nothing to configure, and a certificate issued on first boot. Right for a first instance or a small team.

Pick a droplet and the platform brings itself up: Trinity, Caddy, and Redis on Ubuntu 24.04, inside your own DigitalOcean account. Your account, your bill, your data.

  1. Hit “Create Trinity Droplet”. Pick a region and a size. The image is already chosen for you.
  2. 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.
  3. Open the HTTPS address. Create the admin account in the browser. The starter fleet is already there.

Ubuntu 24.04 · Trinity 0.9.5 · 4 vCPU / 8 GB recommended

AWS Marketplace

Launch in your AWS account.

For organizations already on AWS. Trinity runs inside your own account and network. You subscribe through the AWS Marketplace, which your procurement team already knows.

The same open-source platform, delivered as a Marketplace product. It stays in the region and network you choose, next to the data and systems your agents will work with.

  1. Subscribe on the listing in your AWS account.
  2. Launch the Trinity AMI from the EC2 console into your own VPC, in the region you choose.
  3. Open the HTTPS address at the instance IP and claim the admin account with the instance ID.

Your AWS account · your region and network · subscribed through AWS Marketplace

Editions

Open Source, or the Enterprise Edition.

Both run on your own servers, and it is the same platform. Open source is free and you run it yourself. The Enterprise Edition adds sign-in with your company account, detailed permissions and compliance tools, and we run it for you under contract.

CapabilityOpen SourceApache 2.0 · freeEnterpriseadds governance
Agent platformfleet, chat, voice, web terminal, shared workspace✓✓
Multi-runtimeClaude Code, OpenAI Codex, Gemini CLI, OpenCode✓✓
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✓✓
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—✓
Pick your editionInstall it freeTalk to us

Open Source — Apache 2.0, free

  • Agent platformfleet, chat, voice, web terminal, shared workspace
  • Multi-runtimeClaude Code, OpenAI Codex, Gemini CLI, OpenCode
  • 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.

Questions

Before you install.

Is it really free? Can I use it for my business?

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.

What will I pay for?

Two things, both to other companies. You pay for the server (your cloud provider, or your own machine). You also pay for your AI model subscription or API key (Claude, OpenAI or Gemini). We never resell AI models.

Does my data go to Ability AI?

No. Trinity runs on your server. Your agents, data and keys stay there. Nothing of yours passes through us.

What is the difference between open source and Enterprise?

Same platform. Enterprise adds company sign-in (SSO), automatic user setup, detailed permissions and compliance tools. We run it for you on your servers, under contract. Compare editions ↑

Can I move to Enterprise later?

Yes. Start with open source today. When you move, your agents and data stay where they are.

Can I try it without a server?

Yes. Run it on your own computer with Docker Desktop (macOS, Linux or Windows) and 8 GB of RAM. Move it to a server when it is worth keeping. Same platform, same agents.

Where do I get help?

Docs, Discord and GitHub discussions. Start with the first-time setup guide. You can also learn live in a workshop.

Can I earn money with Trinity?

Yes, if you build AI for clients. Join the Partner Program. You keep your services revenue, and we pay you a share of every Trinity license you bring. See the Partner Program →

Want an expert beside you while you self-host?

Ask us about Advisory. An Ability AI engineer works with your team while you run Trinity on your own servers. Ask about Advisory →

Rather not run it yourself?

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 →