Orchestrator Agent
The Orchestrator Agent is the control center of the IMVEE dev platform: It coordinates the agentic dev agents (wake/dispatch/tickets/QA-gate), answers questions in the Matrix chat via LLM, monitors deployments (on-prem + cloud) and API costs, and provides a realtime dashboard (SSE) with live consoles, Gantt view, deployment status and cost panels.
:::info [Own repository]
The Orchestrator Agent lives in its own GitLab repo — independent of SOCSuite:
https://gitlab.com/imvee/orchestrator | Local: ../orchestrator/
It is not a SOCSuite feature — it operates the imvee platform (and other repos). :::
:::info [Scope]
The Orchestrator Agent is an internal developer tool (domain: automation).
It runs exclusively in the dev environment (ORCHESTRATOR_DEV_ENVIRONMENT_ONLY=true).
:::
Overview
YouTrack (project DEV) ──┐
Workstation Bridge (:8091) ├──► Orchestrator Agent (:8090 on homebase)
Matrix (#dev room) ──┘ │
├─ Control loop: frontier scan → wake via Bridge,
│ kick off tickets (gate), QA-gate (A5), PROGRESS
├─ Dashboard (SSE): live consoles of the 6 agents,
│ Gantt (dependencies/blockages), KB panel
├─ Deployment panel: k8s dev (.99), homebase compose,
│ SimLab libvirt (.127), Hetzner, Centron
│ (AWS/Azure/OVH = phase 2)
├─ Cost panel: OpenRouter, Anthropic, RunPod, local
└─ LLM chat in the #dev room (Qwen via Ollama on .99)Usage
Dashboard
| What | URL (LAN) |
|---|---|
| Realtime dashboard (consoles, Gantt, KB) | http://192.168.178.125:8090/status/stream (SSE) + /status/data (snapshot) |
| Deployment panel (API) | http://192.168.178.125:8090/api/deployments |
| Cost/usage panel (API) | http://192.168.178.125:8090/api/usage |
| Health | http://192.168.178.125:8090/health/live / /health/ready |
The endpoints serve the realtime dashboard (SSE push) and API consumers. A browser UI is not part of the dev setup — panels are consumed via the SSE/JSON endpoints (e.g. in the SOC suite chat or via
curl).
Chat bot (Matrix #dev)
The bot @agent:matrix.imvee.de answers free-form questions via LLM
(Qwen-2.5, local via Ollama) and supports commands:
| Command | Function |
|---|---|
!help | This command list |
!status | Active operations |
!retry <operation_id> | Retry a failed operation |
!logs <repo> [job] | Show pipeline logs |
!demo create <name> [ttl] | Create a demo instance (Hetzner) |
!demo list [user] | List demo instances |
!demo status <name> | Demo status |
!demo destroy <name> | Delete a demo instance |
!demo logs <name> [stage] | Demo deployment logs |
Reactions on bot messages: 🔄 Retry · ⏭️ Skip · 🛑 Abort
Automatic agent orchestration (control loop)
Fully automated (guardrails: autonomy_policy.py):
- Frontier scan (YouTrack): ready tickets are dispatched to agents via bridge wake
- QA-gate: ticket "done" without A5 approval → A5 gets woken
- PROGRESS: after every agent session step
- Audit: every wake/ticket action lands as an audit line in the
#devroom
Architecture (short form)
| Component | Location |
|---|---|
| Orchestrator Agent (FastAPI) | homebase (compose), port 8090 |
| LiteLLM sidecar | homebase (compose, internal) → Ollama on hpz600 (.99:11434) |
| Redis (state) | homebase (compose, internal) |
| Workstation bridge (tmux tails/wake/gate) | Workstation .126, port 8091 (bearer token) |
| Matrix homeserver (Synapse) | homebase, https://matrix.imvee.de |
| YouTrack | https://imvee.youtrack.cloud (project DEV) |
Deployment: Docker compose stack on homebase (no Kubernetes anymore —
the former k8s deployment orchestrator-agent in imvee-dev was removed in
the cutover on 2026-11-09, DEV-1269). Detailed docs: internal repo,
docs/HOMEBASE_DEPLOYMENT.md.
:::note [Why no k8s installation?] The agent needs direct host access (docker socket for compose status, SSH to SimLab, kubeconfig mount, tmux bridge over LAN). The compose setup on a fixed host (homebase) is the simpler and more stable path for that. A cloud installation of the dev platform is not planned. :::
Deployment (dev operation)
# On homebase:
cd ~/orchestrator
git pull origin main
docker build -t registry.gitlab.com/imvee/orchestrator/orchestrator-agent:homebase-$(git rev-parse --short HEAD) \
-f orchestrator-agent/Dockerfile .
# Set IMAGE_TAG in ~/orchestrator/.env (0600, not in git):
docker compose -f docker-compose.orchestrator.yml up -d
docker compose -f docker-compose.orchestrator.yml ps # all 3 services "healthy"Tokens/config: ~/orchestrator/.env (source table: internal docs
docs/HOMEBASE_DEPLOYMENT.md). Healthchecks + restart: always are set
in the compose stack.
Revision history
- 2.0.0 (2026-11-10, DEV-1263/1269/1270): cutover to homebase compose (k8s deployment removed), control loop + bridge, realtime dashboard, deployment/cost panels, Ollama LLM, commands updated.
- 1.0.0 (2026-09-27): k8s-era docs (deployment
replicas: 0, webhook architecture).