Featured answer
Give me an overview of paperclip
Paperclip is an open-source, self-hosted app for managing a team of AI agents that run a business. Teams bring their own agents, assign them goals, set budgets, and review the work and costs the agents produce, with agents organized in an org chart that wakes for assigned work, follow-up messages, or configured schedules. It is built as a Node.js server and a React UI, written mainly in TypeScript. The ui directory holds the React interface, which sends requests to the server directory, where services coordinate agent runs and record tasks, comments, runs and reported spend. The cli directory provides the command line tool, starting from cli/src/index.ts, and the native runner lives in packages/paperclip-runner while server/src/services/native-runtime/native-session-executor.ts handles native agent sessions on the server. To start reading, open cli/src/index.ts, the ui and server directories, and the tests directory for the automated test suites, and use the layer chart, which spans layers such as UI, Service, Application, Data and Docs & Tooling.
| Layer | Files |
|---|---|
| UI | 1456 |
| CLI | 161 |
| Config | 253 |
| Service | 1988 |
| Types | 124 |
| API | 183 |
| Middleware | 24 |
| Data | 665 |
| Application | 1725 |
| Utility | 361 |
| Docs & Tooling | 1670 |
Basis: Inferred · knowledge graph· as of a0b9895