muzzdang

Second Brain notes from YouTube & builds

Second Brain notes

AI Tools: Paperclip AI Tutorial: How to Build a Zero-Human Company

Watch on YouTube: https://www.youtube.com/watch?v=XXplTbQR9to

Channel: Metics Media

Paperclip AI: Deploying an Autonomous Agent Company on a VPS

Paperclip is an open-source framework (launched March 2026) that lets you run a company staffed entirely by AI agents. The concept is straightforward: you define a high-level mission, spin up a CEO agent, and that CEO hires subordinate agents—CTO, CMO, engineers—each with their own task queues, tool access, and budgets. The human operator acts as the board of directors, approving hires, reviewing blocked tasks, and assigning strategic issues via a Kanban board. This tutorial walks through deploying Paperclip on a Hostinger VPS, wiring up external APIs for search and email, and running an end-to-end test that produces a daily tech-news digest.

What the Video Covers

  • Provisioning a Hostinger KVM 1 VPS (~$4/month on a 12-month term) and using the one-click Docker template to launch Paperclip.
  • Authenticating an OpenAI Codex subscription via device-code flow inside the container to avoid per-token API costs.
  • Creating a “Tech Co” with a mission to deliver a daily AI/tech news digest by email.
  • Configuring the CEO agent (Codex adapter, latest model, 600-second heartbeat) and giving it the first task: hire a founding engineer and create a hiring plan.
  • Approving the CEO’s hire requests (CTO, CMO, founding engineer) in the Paperclip inbox.
  • Adding Brave Search API and Resend email API keys as sealed environment variables to the CTO and founding engineer agents.
  • Creating a test issue that instructs the CTO to verify tool access by researching a topic and sending a sample digest email.
  • Monitoring the live run, token spend, and org chart in the Paperclip dashboard.

Step-by-Step Walkthrough

1. Provision the VPS

Sign up for Hostinger’s KVM 1 plan (12-month minimum). The plan includes a free domain for the first year and a 30-day money-back guarantee. Use the creator’s affiliate link for an extra 10% discount. After checkout, open the VPS panel and select the Paperclip one-click Docker template. Set an admin email and password for the Paperclip web UI.

2. Link OpenAI Codex

In the OpenAI web settings (chat.openai.com → Settings → Security), enable “device code authorization for Codex.” SSH into the VPS, find the Paperclip container ID, and run:

docker exec -it <container_id> /bin/bash
codex login –device-auth

Follow the on-screen instructions to pair the container with your Codex subscription. This lets agents use Codex models without incurring per-call API charges.

3. Create the Company and CEO

Log into the Paperclip web UI. Create a new company with a concise mission statement—for example, “Produce a daily AI and tech news digest delivered via email.” Add a CEO agent: choose the Codex adapter, the latest available model, and set the heartbeat interval to 600 seconds (10 minutes) for faster iteration during setup. Save and test the connection.

4. Delegate Hiring

Create the first issue assigned to the CEO: “Hire your first engineer and create a hiring plan.” The CEO will spin up a CTO, CMO, and founding engineer, each appearing as hire requests in your Inbox. Approve them (or disable board approval in Settings → Hiring if you prefer full autonomy).

5. Configure External Tools

Obtain a Brave Search API key (brave.com/search/api) — $5 per 1,000 requests, with $5 free credits monthly and a configurable usage cap. Obtain a Resend API key (resend.com) — free tier available, pay-as-you-go after. In each agent’s configuration (CTO and founding engineer), add both keys as sealed environment variables and save.

6. Run the End-to-End Test

Create a test issue assigned to the CTO: “Verify Brave Search and Resend access by researching a current tech topic and emailing a sample digest to the admin address.” Watch the Kanban board move the issue through To Do → In Progress → In Review → Done. The dashboard shows live token spend, agent activity, and the org chart.

Tools, Numbers, and Costs

  • Hostinger KVM 1 VPS: ~$4/month (12-month commitment), free domain year one, 30-day refund.
  • Brave Search API: $5 per 1,000 requests; $5 free credits/month with usage cap.
  • Resend Email API: Free tier; pay-as-you-go beyond limits.
  • OpenAI Codex: Subscription-based; device-code auth avoids per-token fees.
  • Paperclip: Free, open source (GitHub), launched March 2026.
  • Heartbeat interval example: 600 seconds (10 minutes) for CEO during setup.

Caveats and Hype Check

The video leans heavily on the Hostinger affiliate link (10% discount shown repeatedly, 30-day guarantee emphasized). Paperclip is brand-new and “actively being developed”—expect UI changes, rough edges, and potential breaking changes. The “zero-human company” label is aspirational: by default, the human board must approve every hire, and each agent’s tool access must be manually configured. Brave Search requires a credit card even for the free tier. The Codex device-auth workaround may violate OpenAI’s terms if the same subscription is shared across multiple servers; the video does not address this risk. Finally, the demo only produces a daily email digest—no revenue-generating activity is shown.

If an AI agent is an employee, Paperclip is the company.

Your AI company works while you sleep.

You, the human, are the board of directors.

Paperclip is not a chatbot. This interface functions more like a project management tool.

Concrete Next Actions

  • Sign up for Hostinger VPS (KVM 1, 12-month) using the creator link for 10% discount and free domain.
  • Deploy Paperclip via the one-click Docker template; set admin email/password.
  • Enable device-code authorization for Codex in OpenAI settings.
  • SSH into the server, enter the container, and run codex login --device-auth.
  • Log into Paperclip web UI; create company with mission (e.g., “daily AI/tech news digest via email”).
  • Create CEO agent (adapter: Codex, model: latest), test connection, assign first task: “hire founding engineer and create hiring plan.”
  • Approve CEO’s hire requests (CTO, CMO, etc.) in Inbox; optionally disable board approval in Settings → Hiring.
  • Get Brave Search API key with $5/month cap; get Resend API key.
  • Add both API keys as sealed environment variables to CTO and founding engineer configs; save.
  • Create test issue for CTO: “verify Brave Search and Resend access by researching and emailing sample digest.”