Abilityai/trinity
Self-hosted, containerized agent orchestration with approvals and audit trails
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Trinity is a single-host control plane for persistent agents. Vue provides the operator UI; a Python/FastAPI backend, MCP server and scheduler sit on a network separated from agent containers. PostgreSQL stores platform data, while Redis handles secrets and locks. Each agent gets its own Docker container, Git repository, credentials and schedule. Vector ships logs, and OpenTelemetry exports metrics.
A scheduled task runs in the agent container. If the request names a gated skill, the platform holds it before the agent sees it and routes it to the designated approver. Agent-to-agent calls are limited by configured permission edges. Git repositories and local directories serve as template sources, a tag-pinned skills library distributes reusable playbooks, and scoped MCP keys and REST connect external tooling. A system manifest groups agents, schedules and permissions for deployment and reconciliation.
Key Capabilities & Differentiators
Operators can select Claude Code, OpenAI Codex or Gemini CLI per chat without replacing the agent’s state, history or permissions. The platform runs schedules, work loops, delegation and fan-out. In v1.0.5, agents can wake when a question is answered or delegated work completes. Workspace provides topic chats, files, a canvas and voice; Slack, Telegram, WhatsApp and public chat links extend access beyond the UI.
Roles tie agents to objectives and declared metrics. Skill approvals, cost limits, loop budgets and an outbound-call kill switch constrain different parts of execution. Git commits preserve work products; the searchable execution ledger records triggers, duration, cost and outcomes. Tool calls go to an append-only audit log with optional SHA-256 hash chaining. Cornelius keeps reusable knowledge as repository files, and v1.0.5’s searchable memory is opt-in. Cross-agent Projects, including boards, task runs and steward modes, are Enterprise features.
Trade-offs & Limitations
Compared with running a coding CLI directly under cron or CI, Trinity adds persistent agent state, explicit delegation, approvals and a fleet-wide execution ledger. That is useful when runs span multiple agents and owners, but it also means operating a Docker host, PostgreSQL, Redis, agent containers and access paths. Compared with a managed agent service, you control the host and the routes you expose, but backups, upgrades, capacity and access policy are your responsibility. The described topology is single-host; do not treat per-agent container isolation as high availability.
Skill gates apply to requests that name the gated skill, so use them alongside credential scoping and outbound controls rather than assuming every sensitive action waits for approval. The Apache-2.0 core includes audit logs and optional hash chaining; OIDC, granular RBAC, SIEM export, retention tooling and the named credential vault are Enterprise features. Verify those edition boundaries early if they are adoption requirements rather than conveniences.
Hardware & Deployment Guide
Use Docker and Docker Compose v2. For a reviewable install, clone the repository, inspect scripts/deploy/start.sh, then run it; --hosted pulls prebuilt images. The Compose configuration builds the backend from docker/backend/Dockerfile. PostgreSQL comes bundled or can be supplied via DATABASE_URL; SQLite is no longer supported in 1.0, so older installations need a migration plan. After startup, claim the admin account and connect a model runtime.
Use a VPN for operator access and publish only the public or webhook routes you need through the outbound tunnel. v1.0.5 keeps external MCP access and agent SSH on the host unless an administrator opens them; it also adds manifest reconciliation and trinity update. Check existing integrations before upgrading if they expect remote MCP or SSH. Size the host for the control plane plus peak concurrent agent containers, repository and database growth, and logs. Self-hosting the platform does not establish offline inference; validate the connectivity needs of your chosen runtime and channels.
Platform and operations teams running several persistent agents that need explicit delegation, human approvals and traceable execution on infrastructure they control.
A coding CLI and scheduler already cover the work, you cannot operate a multi-service Docker host, or you need fully managed infrastructure or turnkey offline inference.
Quick Start & Installation
curl -fsSL https://raw.githubusercontent.com/abilityai/trinity/main/install.sh | bash
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| trinity ★ | 827 | +21 | Python | Apache-2.0 | Self-hosted, containerized agent orchestration with approvals and audit trails |
| paperclip | 119.3k | +1.6k | TypeScript | MIT | Self-hosted control plane for coordinating AI agents, tasks, approvals, and spen |
| AutoGPT | 188.3k | +74 | Python | — | Coordinate specialist AI agents through chat and build repeatable visual workflo |
| pentagi | 35.7k | +489 | Go | MIT | Self-hosted multi-agent penetration testing with logs and reports for human revi |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Abilityai/trinity.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about trinity
How should an existing tool connect to Trinity?
POST /api/systems/deploy. Trinity provides agent- and user-scoped MCP keys. In v1.0.5, remote MCP access is closed by default, so plan network reachability separately from key provisioning.How much RAM or GPU capacity does a deployment need?
Can a company self-host it commercially, and what still needs compliance review?
When is Trinity a better fit than running coding CLIs directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy