The human operator's representative inside the SuperInstance fleet. Receives instructions, dispatches work, monitors progress, gates everything through human approval.
- Human-first state machine — STANDBY → BRIEFED → DISPATCHING → MONITORING → REPORTING cycle
- Intent translation — converts natural-language instructions into fleet protocol messages
- Task dispatching — routes work to appropriate git-agents with priority levels
- Fleet management — tracks available agents, capabilities, and current assignments
- Human gating — nothing executes without explicit human approval
- Progress reporting — real-time status updates back to the human operator
pip install co-captain-git-agentfrom co_captain import CoCaptain
from human_interface import HumanInterface, HumanContext
# Create a co-captain with human context
captain = CoCaptain(human=HumanContext(name="operator", role="admin"))
# Brief the co-captain with an instruction
captain.brief("Audit all fleet READMEs and push world-class rewrites")
# The co-captain translates this into fleet tasks
# STANDBY → BRIEFED → DISPATCHING → MONITORING → REPORTING
# Check status
report = captain.report()
print(f"Tasks dispatched: {report.tasks_dispatched}")
print(f"Tasks completed: {report.tasks_completed}")
print(f"Pending approval: {report.pending_approval}")State machine that mediates between humans and the fleet.
| Method | Description |
|---|---|
brief(instruction) |
Translate instruction into fleet tasks |
dispatch() |
Send approved tasks to fleet agents |
monitor() |
Check progress on dispatched tasks |
report() |
Generate status report for human |
approve(task_id) |
Gate a task for execution |
reject(task_id, reason) |
Block a task with explanation |
Captures operator identity, preferences, and approval state.
Routes fleet messages with TaskPriority (LOW, NORMAL, HIGH, URGENT).
Tracks fleet composition, agent capabilities, and current assignments.
The human-facing interface of the SuperInstance fleet. The Co-Captain is not a worker agent — it's the human's proxy.
- captain — Fleet commanding vessel (receives dispatched work)
- cocapn-com — Message routing
- cicd-agent — CI/CD pipeline (executes dispatched tasks)
- agent-forge — Universal git-agent framework
pytest tests/pip install co-captain-git-agentPython 3.10+. MIT license.