PreechaRun a One-Person Company With Paperclip and Apidog Paperclip is an open-source framework...
Paperclip is an open-source framework for operating AI agents like employees: define an org chart, assign budgets, schedule heartbeats, require governance approvals, and retain an audit log. Start it locally with one command, then direct the work instead of manually coordinating every agent.
A one-person company in 2026 does not mean doing every task alone. It means setting strategy while AI agents execute structured work. Paperclip provides the self-hosted control plane for that model: agents have roles, reporting lines, monthly budgets, goals, and assigned issues. If you use Apidog to design, mock, and test APIs, the split is straightforward:
Use Apidog mock URLs in Paperclip task descriptions so agents can build against a defined API response before production APIs are available. Then use API and contract tests to catch drift before agent runs consume more budget.
Paperclip is a Node.js server with a React UI for organizing AI agents as a company. It is not a chatbot, prompt manager, or visual workflow builder. It is a control plane for assigning work, tracking outcomes, enforcing constraints, and reviewing decisions.
Its core concepts map directly to familiar company operations:
This helps replace an unstructured collection of agent sessions with a repeatable operating model. Instead of tracking work across tabs and chat histories, define the task, assign it to an agent, set a budget, and review the result.
Apidog covers a different layer of the stack: API design, mocking, testing, and contract validation.
A useful division of responsibility is:
| Concern | Tool |
|---|---|
| API request and response contracts | Apidog |
| Mock endpoints during implementation | Apidog |
| Contract and API testing | Apidog |
| Agent roles, tasks, and schedules | Paperclip |
| Spend limits and approval gates | Paperclip |
| Agent activity history | Paperclip |
For example, an agent may be assigned to add pagination to an internal service. Apidog provides the expected request and response shape; Paperclip provides the context, ownership, schedule, budget, and audit trail for the work.
A heartbeat is Paperclip's execution loop. During a typical run, an agent:
GET /api/agents/me.GET /api/companies/:id/issues?status=todo,in_progress.GET /api/issues/:id.PATCH /api/issues/:id, including a status update and comment.When the task includes API work, give the agent an Apidog mock endpoint first. The agent can validate the expected response shape during development, while the implementation remains decoupled from a live dependency.
For example, a task can instruct an agent to query a mock customer-data API, generate a weekly report, and later switch the base URL to the production endpoint without changing the application logic.
Paperclip organizes work from company goals down to individual tasks:
Company → Team → Agent → Task
An agent receives its ancestor context when it works on a task. That means a task such as “write a blog post” can remain connected to a larger goal such as “grow SEO traffic,” which can in turn support a company objective.
Use the same pattern for APIs:
This gives agents an explicit API contract instead of requiring them to infer one from an incomplete codebase.
Paperclip assigns each agent a budgetMonthlyCents value. When an agent reaches its spentMonthlyCents ceiling, it stops accepting tasks.
That creates a practical operating constraint for solo founders. You can assign an agent a fixed monthly budget, review its output, and increase its budget only when the results justify it.
Combine budgets with mock-first development:
Bootstrap Paperclip with:
npx paperclipai onboard --yes
This command bootstraps an embedded PostgreSQL database, generates a master encryption key, applies database migrations, and starts the server at:
http://localhost:3100
After the server starts:
For example, start with a concrete company goal:
Build the #1 AI-powered API monitoring tool to $1M MRR.
Then configure a backend-focused agent with a monthly budget:
{
"adapterType": "claude_local",
"adapterConfig": {
"model": "claude-opus-4-6",
"maxTokens": 4096
},
"budgetMonthlyCents": 2000
}
Paperclip task descriptions support rich Markdown and include ancestor context. Make the API dependency explicit in the task itself.
## Task: Add pagination to the `/users` endpoint
**Apidog Mock Base:** `http://localhost:4523/m1/123456/users`
**Acceptance criteria:**
- Endpoint accepts `page` and `limit` query parameters.
- Response uses the `{ data: [], total: 0, page: 1 }` envelope.
- Unit tests cover edge cases, including `page=0` and `limit>100`.
This gives the agent three things it needs before implementation:
The agent can call the mock endpoint, implement the feature, run tests, and add a completion comment to the issue.
Use the Paperclip CLI to create, inspect, and release work.
Create an issue for an Apidog-defined endpoint:
pnpm paperclipai issue create \
--company-id <id> \
--title "Implement POST /webhooks endpoint per Apidog spec" \
--description "See Apidog collection: http://localhost:4523/..."
Check in-progress work:
pnpm paperclipai issue list \
--company-id <id> \
--status in_progress
Release an issue if the assigned agent is blocked:
pnpm paperclipai issue release <issue-id>
Paperclip records issue changes in its activity log, allowing you to review which agent worked on a task and what it reported.
Paperclip's governance model lets agents propose actions while you retain final control over consequential decisions.
List pending approvals:
pnpm paperclipai approval list --company-id <id>
Approve an agent hire or decision:
pnpm paperclipai approval approve <approval-id> \
--decision-note "Approved. Use Apidog mock for first sprint."
Use approval gates for actions that should not be fully autonomous, such as hiring new agents, changing strategic direction, or moving work from mocked APIs to live production dependencies.
Paperclip includes Vitest unit tests and Playwright end-to-end tests.
Run the unit test suite:
pnpm test:run
Run end-to-end tests:
pnpm test:e2e
Verify that the Paperclip server is available:
curl http://localhost:3100/api/health
The unit tests cover core behavior including issue state transitions, budget enforcement, heartbeat lifecycle, and agent authentication. When adding a custom adapter for another AI provider, run the existing suite to verify that orchestration behavior remains intact.
A practical quality workflow combines API contracts, task acceptance criteria, and implementation tests:
This creates a reviewable path from specification to agent task to tested implementation—without requiring a large team to coordinate it manually.
npx paperclipai onboard --yes
http://localhost:3100, create a company, and define a goal. pnpm test:run
Paperclip provides the operating structure for AI agents. Apidog provides the API contracts those agents need to implement and consume. Together, they support a one-person company model where strategy, execution, testing, cost control, and governance are explicit parts of the system.
Paperclip is an open-source one-person company framework: a Node.js server and React UI for orchestrating AI agents with org charts, budgets, heartbeat scheduling, tasks, governance, and audit logs.
Apidog defines the API contracts agents work against. Include Apidog mock URLs in Paperclip task descriptions, have agents use those mocks during development, and use API contract tests to validate the implementation. Paperclip handles orchestration; Apidog handles API specification.
Yes. Its local setup uses:
npx paperclipai onboard --yes
Budget limits control spend, heartbeats support recurring work, and the same configuration can be used from local development through cloud deployment.
Run the Vitest unit suite:
pnpm test:run
Run the Playwright end-to-end suite:
pnpm test:e2e
Check that the server is running:
curl http://localhost:3100/api/health
Paperclip supports Claude, including local and OpenClaw-based setups, along with Codex, Cursor, Gemini, OpenCode, and agents that communicate over HTTP or run as local processes. Its adapter system is open, so an agent that can receive a heartbeat can be integrated.
Yes. Paperclip is MIT-licensed and maintained at github.com/paperclipai/paperclip. Its plugin SDK, adapter packages, and skill definitions are published under the @paperclipai/* npm scope.