Assistant Business Hive
The Business Hive is a corporate-style management layer that organizes agents into functional business entities (e.g., Sysafe, Nova, Delicious).
Organizational Structure
The Hive implements a rigid hierarchy based on business roles:
- CEO: Strategic oversight, company creation, and financial approval.
- Director: Department management and resource allocation.
- Team Leader: Task coordination and worker supervision.
- Worker/Bee: Execution of specific business tasks (Developer, Accountant, Sales Rep, etc.).
Corporate Governance
Ticket System
All business activities are tracked via a formalized ticket system. Goals are mapped to actionable tickets, providing full traceability of corporate progress.
Financial Accountability
Critical operations require Board Approval. The system tracks budgets and model-tier preferences to ensure cost-effective operations.
Work-In-Progress (WIP) Limits
To prevent agent overload, workers have a strict WIP limit (default: 15 tasks). New tasks are automatically rejected if a worker is at capacity.
Management Tools
bm_create_company: Initializes a new business entity with an owner and CompanyID.bm_spawn_ceo: Activates the top-level management agent for a company.bm_exec_worker: Delegates tasks to specialized employee agents.bm_post_standup: Triggers automated department status updates.
Component Diagram: Business Hive Hierarchy
graph TD
Board([Board of Directors]) --> CEO[CEO Agent]
CEO --> D[Director Agent]
D --> TL[Team Leader Agent]
TL --> W[Worker Agent: Dev/Security/Sales]
subgraph "Governance"
W --> T[Ticket System]
T --> B[Budget & Approval]
end
Key Files & Functions
assistant/business.go: Core implementation of business entities and roles.assistant/workfarm.go: Worker pool and task queue management for business agents.prompts/agent/business/employees/: Directory containing specific employee persona definitions.
Guidance for AI Agents
- Follow Chain of Command: If you are a Worker, always report status updates to your Team Leader.
- Respect Budgets: Be mindful of model costs; use higher-tier models only for complex reasoning tasks.