← Back to Leaderboard
TAbilityai

Abilityai/trinity

Self-hosted, containerized agent orchestration with approvals and audit trails

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated today
Latest Release
v1.0.5
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCP
Total Stars
★ 827
24h Growth
+1
7d Growth
+21
Forks
165

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Abilityai/trinity Star History (2025-12-11 - 2026-12-03) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +826 in 357d · avg +2/day 873 437 0 2025-12-11: ★ 12026-01-03: ★ 42026-01-31: ★ 122026-02-28: ★ 182026-03-28: ★ 282026-04-25: ★ 422026-05-23: ★ 842026-06-20: ★ 2852026-07-18: ★ 3942026-08-15: ★ 4592026-09-12: ★ 5342026-10-10: ★ 6352026-11-03: ★ 7292026-12-03: ★ 827 ★ 827 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Runtime continuity: Claude Code, OpenAI Codex and Gemini CLI can be selected per chat without changing the agent’s state, history or permissions.
Human approvals: A named skill can be held before the agent sees the request; the Inbox supports Approve, Discuss and Reject.
Orchestration: Manifests define agents, schedules and permission edges; v1.0.5 adds wake-ups when a question is answered or delegated work ends.
Auditability: Git commits track work products, a searchable ledger records runs, and an optional SHA-256 hash chain makes audit logs tamper-evident.
Integration: REST, CLI and scoped MCP keys support external tooling; Slack, Telegram, WhatsApp and voice provide user-facing channels.
Operations: Compose logs default to 10 MB per file and three files per service container; Docker-SDK-created agent containers have a separate log cap.
Best For

Platform and operations teams running several persistent agents that need explicit delegation, human approvals and traceable execution on infrastructure they control.

Skip If

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.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCP
curl -fsSL https://raw.githubusercontent.com/abilityai/trinity/main/install.sh | bash

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
trinity ★827+21PythonApache-2.0Self-hosted, containerized agent orchestration with approvals and audit trails
paperclip119.3k+1.6kTypeScriptMITSelf-hosted control plane for coordinating AI agents, tasks, approvals, and spen
AutoGPT188.3k+74Python—Coordinate specialist AI agents through chat and build repeatable visual workflo
pentagi35.7k+489GoMITSelf-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.

Raw .md ↗
curl -sL https://repoforai.com/repo/Abilityai/trinity.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Abilityai/trinity Star History on RepoForAI

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?

Use MCP for agent, schedule and execution operations, or deploy a multi-agent system manifest through MCP or 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?

Size the Docker host for the control plane, PostgreSQL, Redis and the number of agent containers you expect to run concurrently. Use a representative workload to measure memory, CPU and disk growth from agent repositories, execution records and logs. There is no fixed RAM or VRAM figure to plan around: self-hosting the orchestrator does not by itself put model inference on that host.

Can a company self-host it commercially, and what still needs compliance review?

The Apache-2.0 core supports commercial self-hosting and includes approval gates, audit logging and optional hash chaining. OIDC, advanced RBAC, SIEM export and retention tooling are Enterprise additions. No telemetry is sent by default, but that is not a guarantee that prompts, files or tool outputs stay local: review what each model provider and enabled integration receives.

When is Trinity a better fit than running coding CLIs directly?

Start with the coding CLI and a scheduler if one or two jobs only need a timer and a Git checkout. Trinity earns its operational overhead when several long-lived agents need delegated work, shared approval workflows and run histories that operators can search without assembling those components themselves.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Abilityai/trinity? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Abilityai/trinity on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare