Paperclip CLI
raw JSON →Paperclip CLI is a robust command-line interface designed for orchestrating and managing teams of AI agents to automate and run business operations. Currently at version 2026.416.0, the project demonstrates a rapid development and release cadence, with multiple significant updates often occurring within weeks. Its key differentiators include a modern chat-style interface for managing agent issues, flexible multi-stage execution policies, comprehensive features for importing and exporting entire 'agent companies,' and a powerful plugin framework with an accompanying SDK for extensibility. Paperclip CLI integrates seamlessly with a wide array of popular AI models and CLIs, such as Google Gemini, Cursor, OpenCode, Pi, Claude Code, and Codex, providing a unified platform for deploying and overseeing diverse AI-driven workflows.
Common errors
error Error: Node.js version unsupported. Paperclip requires Node.js >=20. ↓
nvm is recommended (e.g., nvm install 20 && nvm use 20). error Error: Failed to authenticate with AI provider. Invalid API key or missing credentials. ↓
export GEMINI_API_KEY='your_key_here') or configuring it via paperclipai config or the web dashboard. error Command failed with exit code 1: paperclipai agent add --name "..." --model "unknown-model" ↓
npx paperclipai help agent add. Ensure any necessary local AI CLIs (e.g., Google Gemini CLI for its adapter) are installed and properly set up on your system as per Paperclip's integration guide. Warnings
gotcha Paperclip CLI integrates with various external AI models (e.g., Gemini, Claude). It's crucial to correctly configure your API keys for these services, either through environment variables or Paperclip's internal settings. Incorrectly configured or missing API keys are a primary cause of agent operational failures and authentication errors. ↓
breaking With version 2026.416.0, the traditional comment timeline for issues was replaced by a full chat-style thread powered by `assistant-ui`. Any custom tools, scripts, or integrations that programmatically interacted with the old comment structure for issues will require updates to align with the new conversational model. ↓
gotcha AI agent operations can incur substantial costs due to frequent API calls to underlying language models. Users are responsible for monitoring their usage with AI service providers. While Paperclip might offer some local execution modes or cost tracking, it does not inherently prevent external billing. ↓
gotcha Paperclip has a very aggressive release schedule. While this brings rapid innovation, it means the API and CLI options can evolve quickly. Although major breaking changes are usually highlighted, minor behavioral shifts or new flags can appear frequently. ↓
Install
npm install paperclipai yarn add paperclipai pnpm add paperclipai Imports
- PaperclipAgent wrong
import { PaperclipAgent } from 'paperclipai';correctimport { PaperclipAgent } from '@paperclip/sdk'; - IssuePolicy
import type { IssuePolicy } from '@paperclip/sdk/types'; - CompanyExporter
import { CompanyExporter } from '@paperclip/sdk/cli-utils';
Quickstart
npx paperclipai company create --name "MyAICompany" --template "default"
npx paperclipai agent add --company "MyAICompany" --name "ContentCreator" --model "gemini-pro"
npx paperclipai issue create --company "MyAICompany" --agent "ContentCreator" --title "Draft Blog Post on AI Trends" --description "Generate a 1000-word blog post about the latest trends in AI, focusing on LLMs and ethical considerations. Include relevant keywords and a call to action."
npx paperclipai dashboard