# Trinity

> Trinity is a self-hosted, open-source platform for running AI agents in production with human approval gates, git-native state, and audit trails.

- **Category:** AI Agents
- **Licence:** Apache-2.0
- **Latest version:** v1.0.0
- **Open source:** open_core
- **Languages:** JavaScript, Python
- **Platforms:** Docker Compose, AWS, DigitalOcean
- **Tags:** Mcp, Mcp Server, Ai Agents, Llm Observability, Observability, LLMOps, Agentic Ai, LLM, Anthropic, Claude, Slack Integration, Open Source, Audit log, Self Hosted, Codex, Ai Agent, Model Context Protocol, Autonomous Agents, Multi Agent, Ai Observability, Agent runtime, Claude code, Workspace, Ai governance, Telegram integration, Approval workflow, Agent orchestration, Gemini Cli, Apache 2, Git Native, Whatsapp Integration

## Description

Trinity is an Apache 2.0 licensed platform for running AI agents in production on your own hardware. It supports three execution environments — Claude Code, OpenAI Codex, and Gemini CLI — each running in its own isolated container. Agents are grouped into departments that reflect your organizational chart, complete with roles, measurable objectives, and reporting hierarchies. Every agent maintains its memory as a git repository you control, and all tool invocations are recorded in an immutable audit trail with an optional cryptographic hash chain. Actions that cannot be undone — such as sending funds, transmitting messages, or deleting data — are blocked until a designated human approves them through an Inbox interface. The built-in Workspace offers threaded chats, a live task card, a shared canvas, drag-and-drop file sharing, voice conversations, and the ability to rate deliverables. Agents can also be reached through messaging apps, voice calls, MCP, REST endpoints, and a command-line interface. Deployment options include a single-command Docker Compose installer, one-click images on DigitalOcean and AWS Marketplace, or manual setup on any server with Docker. The control plane consists of a Vue frontend, FastAPI backend, MCP server, scheduler, Redis for secrets and locking, and PostgreSQL (with SQLite as the default). The Enterprise tier adds OIDC and SAML single sign-on, two-factor authentication, role-based access control, a credential vault, compliance reporting, and cross-agent Projects. The vendor, Ability AI, operates their own business on Trinity with dozens of agents.

## Links

- [Homepage](https://github.com/abilityai/trinity)
- [Website](https://www.ability.ai/trinity)
- [Docker](ghcr.io/abilityai/trinity-agent-base)
- [Documentation](https://docs.ability.ai)
- [GitHub Repository](https://github.com/abilityai/trinity)
- [Discord Community](https://discord.gg/yQUqyp39)
- [Workshops](https://www.ability.ai/workshops)
- [Cornelius (Cognitive Architecture)](https://www.ability.ai/cornelius)

---
Source: https://selfhost.directory/project/trinity