How 1mancompany/onemancompany works
OneManCompany is an agentic operating system for running an AI-staffed company through a browser. The principal workflow is that the CEO submits work, the EA routes it, the COO decomposes it into tasks, and employee agents execute and report results. The runtime also supports meetings, hiring and onboarding through the Talent Market, employee coaching and performance management, product/project iteration, and a pixel-art office interface. The graph reflects documented workflow stages and sampled imports; unsampled subsystem links are omitted or marked unverified.
Main entry points: coo_agent.py COO Agent · app.js Company UI · base.py Employee Agents · main.py Application Server
Components 22
Browser Experience
- Company UI
frontend/app.js - Pixel Office
frontend/office.js - Task Tree View
frontend/task-tree-g6.js
Company Runtime
- HTTP and WS API
src/onemancompany/api/routes.py - Application Server
src/onemancompany/main.py - Company Events
src/onemancompany/core/events.py - Company Configuration
src/onemancompany/core/config.py - Company State
src/onemancompany/core/state.py
Work Execution
- EA Agent
src/onemancompany/agents/ea_agent.py - COO Agent
src/onemancompany/agents/coo_agent.py - Task Tree
src/onemancompany/core/task_tree.py - Workflow Engine
src/onemancompany/core/workflow_engine.py - Employee Agents
src/onemancompany/agents/base.py - Task Execution
src/onemancompany/core/vessel.py - Tool Registry
src/onemancompany/core/tool_registry.py - Product Management
src/onemancompany/core/product.py
People Operations
- HR Agent
src/onemancompany/agents/hr_agent.py - Recruitment
src/onemancompany/agents/recruitment.py - Talent Market
src/onemancompany/talent_market/remote_protocol.py
Agents and Integrations
- Agent Client Protocol
src/onemancompany/acp/client.py - MCP Tool Server
src/onemancompany/tools/mcp/server.py
Other components
- CEO
Connections 23
- CEO → Company UI: submits work
README.md - Company UI → HTTP and WS API: sends requests
- Application Server → HTTP and WS API: mounts routes
src/onemancompany/main.py - HTTP and WS API → EA Agent: routes tasks
README.md - EA Agent → COO Agent: routes work
README.md - COO Agent → Task Tree: decomposes tasks
src/onemancompany/agents/coo_agent.py - COO Agent → Employee Agents: dispatches subtasks
README.md - Employee Agents → Task Execution: executes via
src/onemancompany/agents/base.py - Task Execution → Task Tree: updates task state
src/onemancompany/core/vessel.py - Employee Agents → Tool Registry: uses tools
src/onemancompany/agents/base.py - COO Agent → Workflow Engine: coordinates workflows
src/onemancompany/agents/coo_agent.py - Application Server → Company Events: publishes updates
src/onemancompany/main.py - Company Events → Company UI: streams updates
- Company UI → Pixel Office: renders office
- Company UI → Task Tree View: renders task tree
- HR Agent → Recruitment: runs recruitment
src/onemancompany/agents/hr_agent.py - Recruitment → Talent Market: searches candidates
README.md - HR Agent → Company State: manages employees
README.md - COO Agent → Company State: coordinates company
src/onemancompany/agents/coo_agent.py - Employee Agents → Agent Client Protocol: uses agent backend
- MCP Tool Server → Tool Registry: registers tool access
src/onemancompany/tools/mcp/server.py - COO Agent → Product Management: manages product work
README.md - Application Server → Company Configuration: loads settings
src/onemancompany/main.py