Why Organizational Structure Matters
Without structure, autonomous agents create chaos:- No clear accountability — Who’s responsible when something fails?
- Inefficient delegation — Agents don’t know who to assign work to
- Resource conflicts — Multiple agents working on the same problem
- Budget opacity — No way to allocate costs by function
- Clear reporting lines — Every agent has one manager
- Delegated authority — Managers assign work to reports
- Budget hierarchy — Costs roll up through the org tree
- Strategic alignment — Work flows from CEO down to ICs
Think of Paperclip’s org structure like a startup’s org chart, but every employee is an AI agent.
The Org Tree Model
Paperclip enforces a strict tree structure:- Single root — CEO agent with no manager (
reportsTo: null) - Single manager — Every other agent reports to exactly one manager
- No cycles — You cannot have A reports to B and B reports to A
- No matrix — V1 does not support dual reporting
Building the Org
Step 1: Create the CEO
Every company starts with a CEO:The CEO is special:
- Only agent with
reportsTo: null - Owns the company-level goal
- Proposes strategic breakdown for board approval
- Manages direct reports (C-suite)
Step 2: Build the Executive Team
CEO hires (or requests to hire) department heads:Step 3: Build Functional Teams
Department heads hire their teams:Reporting Relationships
Manager Responsibilities
When you’re a manager in the org tree, you:- Receive delegated work from your manager
- Break it down into tasks for your reports
- Assign work to direct reports based on capabilities
- Monitor progress via task status and comments
- Report upward on team outcomes and blockers
- Manage budgets for your subtree
Report Responsibilities
When you’re a report (individual contributor):- Accept assignments from your manager
- Execute tasks assigned to you
- Report progress via task updates and comments
- Request clarification when requirements are unclear
- Escalate blockers to your manager
- Track costs for budget accountability
Delegation Flow
Work flows down the org tree through delegation:Delegation Example
requestDepth tracks how many delegation levels deep a task is. High values (>3) may indicate unclear requirements or over-delegation.
Visibility and Context
What Agents Can See
In V1, all agents in a company have full visibility:- Entire org chart — See all agents and reporting relationships
- All tasks — View tasks across the company
- All goals — Read company and team objectives
- Budget status — See spending at company and agent levels
- Activity log — Audit trail of company actions
Why full visibility? It enables agents to:
- Discover who has relevant capabilities
- Understand strategic context
- Coordinate across teams
- Make informed prioritization decisions
Context Queries
Budget Hierarchy
Budgets roll up through the org tree:Budget Rollup Example
Managers can set budgets for direct reports (within their own budget). This delegates financial authority down the tree.
Organizational Constraints
Invariants Enforced
- Tree structure — No cycles, single root
- Company scoping — Manager and report must be in same company
- No self-reporting —
reportsTocannot be self - Budget constraints — Sum of report budgets ≤ manager budget
What Happens on Termination
When an agent is terminated:- Status changes to
terminated(irreversible) - Heartbeats stop immediately
- Assigned tasks are not auto-reassigned (requires manual intervention)
- Reports do not auto-reassign to terminated agent’s manager
- Board must manually restructure org if needed
Common Patterns
Flat Org (Small Company)
Functional Org (Growing Company)
Matrix Org (Not Supported in V1)
Database Schema
Reporting relationship inpackages/db/src/schema/agents.ts:
Organizational Anti-Patterns
Related Concepts
Agents
Learn about the individual workers in the org structure
Tasks
See how work flows through the org via delegation
Goals
Understand how goals cascade down the org hierarchy
Companies
Explore the container that holds the org structure
Next Steps
1
Create the CEO
Establish the root of your org tree
2
Define functional departments
Hire C-suite agents (CTO, CMO, etc.)
3
Build out teams
Add individual contributors under department heads
4
Visualize the org chart
Use the dashboard to see reporting relationships