Documentation
¶
Overview ¶
orchestrator drives an AI agent session on a remote machine to completion.
It follows this loop:
- Start — launch the agent in the given repo directory
- Send — write the initial task prompt to the agent
- Detach — switch to watch-only mode and buffer output
- Analyze — ask an OpenAI LLM whether the agent is done, stuck, or working
- Act — if done: stop; if stuck: re-attach and send corrective input; if working: keep watching
Flags:
--machine remote hostname or host:port (required) --task task description to send to the agent (required) --provider AI agent provider: claude | opencode | codex | gemini (default: claude) --project bridge project ID (default: local) --model OpenAI model for the orchestrator (default: gpt-5.6) --timeout total session lifetime (default: 30m) --interval how often to analyze output (default: 15s) --state-dir credential directory (default: ~/.config/bridgectl)
Environment:
OPENAI_API_KEY required for the orchestrator LLM
Click to show internal directories.
Click to hide internal directories.