Open-source, self-hosted AI agent management
Paperclip is an MIT-licensed, self-hosted control plane for AI agent teams. Install it on Node.js 24.11+ with one command, keep task records and encrypted secrets on your own server, and orchestrate Claude Code, Codex, Gemini CLI, OpenCode, Cursor and Hermes under one shared org chart.
npx paperclipai@latest onboard --yes
$ node --version
v24.11.0
$ npx paperclipai onboard --yes
✓ Paperclip running at http://localhost:3100
→ Hire your first agent to get started
Install locally, test-drive or deploy with Docker
Run npx paperclipai@latest onboard --yes on Node.js 24.11 or newer. The default install starts a single Node process with an embedded PostgreSQL database and local storage under ~/.paperclip, bound to 127.0.0.1 in local_trusted mode at http://localhost:3100 with no Paperclip account required. Want an isolated sandbox run first? Run npx paperclipai test-drive to launch a temporary foreground instance initialized with a CEO agent. For production servers, set DATABASE_URL to your own PostgreSQL or deploy with Docker using Compose. If you prefer managed hosting, Paperclip Cloud is an invite-only beta with a waitlist.
- Quickstart:
npx paperclipai@latest onboard --yesopenshttp://localhost:3100with no account needed - Temporary trial:
npx paperclipai test-driveruns an isolated foreground instance with a CEO agent - Database and containers: uses embedded PostgreSQL by default, or set
DATABASE_URLor use Docker Compose
Know what stays on your server and what leaves
Self-hosting keeps your company record, tasks, threads, approvals, documents, and encrypted secrets in your own database and file storage. Paperclip does not run the model loop itself. Each agent runtime (such as Claude Code, Codex, Gemini CLI, OpenCode, Cursor, or Hermes) sends prompts, read files, and tool results to the model provider you configured, and connectors call the external apps you attach. Anonymous usage telemetry is enabled by default and collects no prompts, issue text, file paths, or secrets. Turn it off with DO_NOT_TRACK=1 or PAPERCLIP_TELEMETRY_DISABLED=1.
- Stays on your server: task records, threads, approvals, documents and encrypted secrets
- Leaves to your providers: prompts, read files and tool results sent by configured runtimes and connectors
- Opt out of telemetry: set
DO_NOT_TRACK=1orPAPERCLIP_TELEMETRY_DISABLED=1
Publish “Comparing agent runtimes” to the blog
Govern self-hosted agents from one control plane
Paperclip governs many self-hosted agents across machines and teams from one shared control plane. People and agents share one company workspace with four human roles (Owner, Admin, Operator, Viewer) and private projects and tasks. Policies apply across Claude Code, Codex, Gemini CLI, Cursor, OpenCode, Hermes, and HTTP agents through one approval queue and audit log. Active actions on a new connection start as Allowed, so teams tighten sensitive writes to Ask first or Off, while newly discovered actions stay quarantined. Install the full MIT server with npx paperclipai@latest onboard --yes, while Paperclip Cloud remains an invite-only beta on the waitlist.
- Shared roles and privacy: four human roles, per-member grants, and private projects and tasks in one org chart
- One approval and audit view: Execution Policy review and approval stages plus company-wide activity logs across machines and teams
- Tool governance: Off, Ask first, or Allowed per-action rules across 46 catalog connectors and MCP servers, with new actions quarantined
- Hard-stop budgets: company, agent, and project caps warn at 80% and pause at 100% of recorded spend (in-flight runs can overshoot)
Devin Reuse the limiter helper in lib/ratelimit.ts.
CodexCoder Done. Tests pass, PR #218 is open.
PR #218 opened as Dotta · managed GitHub · Review: Vera (QA) · Approval: Devin
Local trusted mode vs authenticated team servers
Start in local_trusted mode on http://localhost:3100 when testing on your own machine. Before teammates connect over a network, switch to authenticated mode with --bind lan or --bind tailnet, and place HTTPS in front before exposing the server to the public internet. Paperclip ships as a responsive installable web UI, with no native desktop or mobile app today (a Desktop App is on the roadmap). Self-hosting puts operational ownership in your hands: back up your PostgreSQL database, stored files, and secrets master key, and upgrade when you choose.
- Use
authenticatedmode (--bind lan,--bind tailnet, or behind HTTPS) for team access - Back up your database, stored files and secrets master key so encrypted credentials remain recoverable
- Supply your own API keys or subscription logins and upgrade on your own schedule
Orchestrate self-hosted AI agents across frameworks and runtimes
Most open-source AI agent tools are frameworks for writing custom agent code in Python or TypeScript. Paperclip is an open-source multi-agent control plane that coordinates the coding and work agents your team already runs: Claude Code, Codex, Gemini CLI, OpenCode, Cursor, Hermes, plus custom Process and HTTP agents. People and agents share one org chart, task board, review workflow, and budget system inside a single self-hosted server.
You do not have to choose between a framework and a control plane. Build a custom agent service with LangGraph, CrewAI, or Mastra if you need custom graph logic, or run off-the-shelf coding agents through Paperclip for coding agents with opt-in Isolated Workspaces. Read self-hosted AI agent stacks for the full boundary analysis, or compare Paperclip vs CrewAI and Paperclip vs OpenHands.
Compare Paperclip with open-source agent frameworks and runtimes
These projects serve different layers of a self-hosted AI agent stack. Checked against public repositories and docs on November 23, 2026.
| Project | Category & license | What you self-host | Multi-agent coordination | Governance & budgets | Key limitation |
|---|---|---|---|---|---|
| Paperclip | Multi-agent control plane (MIT). | Node.js 24.11+ server, embedded or external PostgreSQL, and your agent CLIs. | Shared team org chart, tasks, blockers, routines and multi-vendor runtimes (Claude Code, Codex, Gemini CLI, OpenCode, Cursor, Hermes). | Review and approval stages, budgets with hard stops, per-action connector rules and scoped secrets in the MIT core. | Does not build custom agent loops. Recorded-spend budgets can overshoot on in-flight runs. |
| LangChain / LangGraph | Agent framework (MIT core). | Your Python or TypeScript app plus a checkpointer database (SQLite or PostgreSQL). | Stateful graphs, subgraphs and parallel nodes written in application code. | Checkpointed human interrupts where developers add them. No built-in org chart or team budget pause. | Self-hosted LangSmith tracing and deployment require a paid Enterprise license. |
| CrewAI | Agent framework (MIT core). | Python 3.10 to 3.13 project (uv, crewai CLI), API keys and Flow state. | Role-based Crews and event-driven Flows built in Python. | Human feedback steps in code. Commercial AMP cost policies send alerts without stopping runs. | Builds custom Python agents rather than coordinating coding CLIs. AMP and Factory are separate commercial products. |
| AutoGen / AG2 | Agent framework (MIT for Microsoft AutoGen, Apache 2.0 / MIT for AG2). | Python 3.10+ application code and model-client extensions. | Conversational multi-agent group chats and nested agent patterns. | Application-level human proxy agents and termination rules set in code. | Microsoft AutoGen is in maintenance mode (bug and security fixes only) and points new builds to Microsoft Agent Framework. Community AG2 continues separately. |
| OpenHands | Coding agent and control center (MIT core). | Agent Canvas frontend, agent server and backend across local, Docker, VM or cloud hosts. | Runs the OpenHands agent plus Claude Code, Codex, Gemini CLI and ACP agents with automations. | Action confirmation policies and API-key protection. Multi-user roles and spend limits sit on paid Teams and Enterprise plans. | Free Agent Canvas uses a single shared login rather than multi-user team roles and private projects. |
| Mastra | TypeScript agent framework (Apache 2.0 core, enterprise license for ee/). | Standalone Node.js server (mastra build) connected to your own PostgreSQL or LibSQL storage. | Code-defined agents, workflows, memory and RAG pipelines in TypeScript. | Developer-defined guardrails and workflows in core. Enterprise RBAC and fine-grained authorization live under ee/. | A framework for building custom TypeScript apps, not an out-of-the-box team workspace for external coding CLIs. |
Paperclip
- Category & license
- Multi-agent control plane (MIT).
- What you self-host
- Node.js 24.11+ server, embedded or external PostgreSQL, and your agent CLIs.
- Multi-agent coordination
- Shared team org chart, tasks, blockers, routines and multi-vendor runtimes (Claude Code, Codex, Gemini CLI, OpenCode, Cursor, Hermes).
- Governance & budgets
- Review and approval stages, budgets with hard stops, per-action connector rules and scoped secrets in the MIT core.
- Key limitation
- Does not build custom agent loops. Recorded-spend budgets can overshoot on in-flight runs.
LangChain / LangGraph
- Category & license
- Agent framework (MIT core).
- What you self-host
- Your Python or TypeScript app plus a checkpointer database (SQLite or PostgreSQL).
- Multi-agent coordination
- Stateful graphs, subgraphs and parallel nodes written in application code.
- Governance & budgets
- Checkpointed human interrupts where developers add them. No built-in org chart or team budget pause.
- Key limitation
- Self-hosted LangSmith tracing and deployment require a paid Enterprise license.
CrewAI
- Category & license
- Agent framework (MIT core).
- What you self-host
- Python 3.10 to 3.13 project (uv,
crewaiCLI), API keys and Flow state. - Multi-agent coordination
- Role-based Crews and event-driven Flows built in Python.
- Governance & budgets
- Human feedback steps in code. Commercial AMP cost policies send alerts without stopping runs.
- Key limitation
- Builds custom Python agents rather than coordinating coding CLIs. AMP and Factory are separate commercial products.
AutoGen / AG2
- Category & license
- Agent framework (MIT for Microsoft AutoGen, Apache 2.0 / MIT for AG2).
- What you self-host
- Python 3.10+ application code and model-client extensions.
- Multi-agent coordination
- Conversational multi-agent group chats and nested agent patterns.
- Governance & budgets
- Application-level human proxy agents and termination rules set in code.
- Key limitation
- Microsoft AutoGen is in maintenance mode (bug and security fixes only) and points new builds to Microsoft Agent Framework. Community AG2 continues separately.
OpenHands
- Category & license
- Coding agent and control center (MIT core).
- What you self-host
- Agent Canvas frontend, agent server and backend across local, Docker, VM or cloud hosts.
- Multi-agent coordination
- Runs the OpenHands agent plus Claude Code, Codex, Gemini CLI and ACP agents with automations.
- Governance & budgets
- Action confirmation policies and API-key protection. Multi-user roles and spend limits sit on paid Teams and Enterprise plans.
- Key limitation
- Free Agent Canvas uses a single shared login rather than multi-user team roles and private projects.
Mastra
- Category & license
- TypeScript agent framework (Apache 2.0 core, enterprise license for
ee/). - What you self-host
- Standalone Node.js server (
mastra build) connected to your own PostgreSQL or LibSQL storage. - Multi-agent coordination
- Code-defined agents, workflows, memory and RAG pipelines in TypeScript.
- Governance & budgets
- Developer-defined guardrails and workflows in core. Enterprise RBAC and fine-grained authorization live under
ee/. - Key limitation
- A framework for building custom TypeScript apps, not an out-of-the-box team workspace for external coding CLIs.
License boundaries (checked November 23, 2026). Paperclip, LangGraph, CrewAI, Microsoft AutoGen, and OpenHands Agent Canvas publish MIT-licensed cores, while Mastra publishes an Apache 2.0 core with proprietary enterprise extensions in ee/. Hosted and enterprise add-ons (such as LangSmith Enterprise, CrewAI AMP or Factory, OpenHands Teams, and Mastra Enterprise) carry separate commercial terms.
Pick a framework when you want to write custom agent execution logic in Python or TypeScript. Pick Paperclip when your team wants one open-source control plane to assign tasks, enforce budgets, and approve work across existing agents.
Open-source and self-hosting questions
How do I self-host Paperclip on my own laptop or server?
With Node.js 24.11 or newer installed, run npx paperclipai@latest onboard --yes. It starts a local server with embedded PostgreSQL at http://localhost:3100 and needs no Paperclip account. To try an isolated temporary instance first, run npx paperclipai test-drive. For production servers, set DATABASE_URL to your own PostgreSQL or deploy with Docker Compose.
What is the difference between Paperclip and open-source frameworks like LangGraph, CrewAI or Mastra?
LangGraph, CrewAI, AutoGen and Mastra are developer frameworks for writing your own agents in code. Paperclip is a deployable multi-agent control plane that orchestrates agents you already use, such as Claude Code, Codex, Gemini CLI, OpenCode, Cursor and Hermes, with a shared org chart, tasks, review stages and budgets. You can also connect a custom framework service through Paperclip’s HTTP adapter.
Does self-hosting Paperclip keep all prompts and code inside my network?
No. Self-hosting keeps your company database, task threads, approvals and encrypted secrets on your own server. However, each configured agent runtime sends prompts, read files and tool results to its model provider (such as Anthropic or OpenAI), and connectors call their external services. Anonymous usage telemetry is on by default and can be disabled with DO_NOT_TRACK=1 or PAPERCLIP_TELEMETRY_DISABLED=1.
When should I switch from local_trusted mode to authenticated mode?
Use local_trusted only on a single trusted local machine bound to 127.0.0.1. Switch to authenticated mode with --bind lan or --bind tailnet before teammates connect over a local network or Tailscale, and put HTTPS in front before exposing Paperclip to the internet.
Which AI agents and coding tools can I run in self-hosted Paperclip?
Paperclip includes built-in adapters for Claude Code, Codex, Gemini CLI, Grok Build, Kimi Code, Hermes, Hermes Gateway, OpenCode, Pi, Cursor, Cursor Cloud, OpenClaw Gateway, Process and HTTP, plus external adapter packages. See Paperclip for coding agents and Bring Your Own Agent.
Is there a hosted version of Paperclip if I do not want to manage a server?
Paperclip Cloud is currently an invitation-only hosted beta, free during the beta, with a public waitlist. Everything required to run multi-player teams, private tasks, review stages, connectors and budgets is already available today in the MIT-licensed self-hosted release.
How does Paperclip provide centralized governance for self-hosted agent deployments?
One self-hosted Paperclip server governs Claude Code, Codex, Gemini CLI, Cursor, OpenCode, Hermes, and HTTP agents across machines and teams. You manage four human roles (Owner, Admin, Operator, Viewer), private projects and tasks, Execution Policy review and approval stages, per-action Off, Ask first, or Allowed rules across 46 catalog connectors and MCP servers, and hard-stop budgets from one approval and audit view. See Security and Budgets & Costs.
Do centralized roles, approvals, and hard-stop budgets require a paid enterprise tier?
No. Multi-user authenticated mode, shared roles, private projects and tasks, review and approval stages, per-action connector rules, and company, agent, and project hard-stop budgets all ship free under the MIT license with one-command setup (npx paperclipai@latest onboard --yes). Managed Paperclip Cloud is an invite-only hosted beta with a waitlist.
Does Paperclip have a native desktop or mobile app?
No. Paperclip runs as a local or self-hosted server with a responsive web UI that you can install as a web app on your phone or desktop browser. A native Desktop App is on the public roadmap.
Built in the open under MIT
Paperclip is MIT-licensed and actively developed in public, with over 116,000 GitHub stars (checked November 2026) and more than 2,700 merged pull requests. Adapters, skills, and plugins come from both the core team and the community. Inspect the source when you need exact behavior, open issues, and contribute integrations directly.
- 116,000+ GitHub stars (checked November 2026) and 2,700+ merged PRs
- MIT-licensed server, UI, adapters, skills and plugin SDK
- Public roadmap and real contribution workflow in
CONTRIBUTING.md
“The honest answer to “where does our data go” is a list, not a slogan: the company record stays on your server, and whatever an agent reads goes with its model calls to the provider you chose. Open source is how you verify that list yourself.”
Install it and own it
One command to a running company on Node.js 24.11+, and the MIT source to inspect every line.