How hkdidj38-pixel/paperclip works
Paperclip is an open-source application for orchestrating AI-agent organizations: people define goals, organize and configure agents, assign and approve work, then monitor execution and costs. The README describes these capabilities and identifies a Node.js server, React UI, multiple agent adapters, and persistent organization/work records. The graph preserves the major product branches; sampled evidence is limited, so edges use only README-documented relationships or visible schema references, and do not imply an unverified internal call sequence.
Main entry points: issues.ts Tasks and issues · durable-prp-control-plane.ts Execution orchestration · agents.ts Agent organization · projects.ts Projects
Components 19
Goals and work
- Goals
packages/db/src/schema/goals.ts - Projects
packages/db/src/schema/projects.ts - Tasks and issues
packages/db/src/schema/issues.ts - Approvals and review
packages/db/src/schema - Pipelines
packages/db/src/schema/pipelines.ts - Routines
packages/db/src/schema/routines.ts
Organization and governance
- Companies
packages/db/src/schema/companies.ts - Agent organization
packages/db/src/schema/agents.ts - Permissions and connections
packages/db/src/schema/tool_access.ts - Skills and evaluations
packages
Agent runtime
- Execution orchestration
packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts - Agent adapters
packages/adapters - Sandbox and integrations
packages/plugins/sandbox-providers
Product platform
- Application server
server/src/app.ts - Management dashboard
ui/src/App.tsx - Persistent records
packages/db/src/client.ts - Budgets and cost tracking
packages/db/src/schema/companies.ts - Run history and tracing
packages/db/src/schema/heartbeat_runs.ts
Other components
- People
Connections 24
- People → Goals: define goals
- People → Agent organization: hire agents
- People → Tasks and issues: assign work
- People → Approvals and review: review work
- Goals → Projects: align projects
packages/db/src/schema/projects.ts - Projects → Tasks and issues: organize tasks
packages/db/src/schema/issues.ts - Agent organization → Tasks and issues: work on tasks
packages/db/src/schema/issues.ts - Tasks and issues → Execution orchestration: orchestrate execution
- Execution orchestration → Agent adapters: dispatch runs
- Execution orchestration → Sandbox and integrations: use integrations
- People → Management dashboard: manage organization
- Management dashboard → Application server: use application
- Application server → Persistent records: persist records
- Companies → Agent organization: scope organization
packages/db/src/schema/agents.ts - Projects → Goals: reference goal
packages/db/src/schema/projects.ts - Pipelines → Agent organization: reference agents
packages/db/src/schema/pipelines.ts - People → Permissions and connections: govern access
- People → Skills and evaluations: develop skills
- People → Routines: manage workflows
- People → Budgets and cost tracking: set budgets
- People → Run history and tracing: monitor runs
- Execution orchestration → Run history and tracing: record run history
- Management dashboard → Budgets and cost tracking: monitor costs
- Approvals and review → Tasks and issues: gate execution
packages/db/src/schema/pipeline_cases.ts