> For the complete documentation index, see [llms.txt](https://docs.visdom.virtuslab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visdom.virtuslab.com/visdom-orchestrator/visdom-orchestrator.md). Agents can also search and read this documentation through its [MCP server](https://docs.visdom.virtuslab.com/~gitbook/mcp).

# Visdom Orchestrator

Coding agents as declarative flows running on Kubernetes.

The Orchestrator turns coding agents into **declarative flows running as Kubernetes workloads**. An agent is a container definition with typed input and output ports. A flow is a graph of nodes wired port to port. A run is one execution of that graph: each node becomes a pod, streams its events back to the controller, and leaves its artefacts on a shared workspace volume.

Around that sit the things an organisation needs before it lets an agent touch a repository: RBAC, encrypted secrets, approvals, cost quotas, egress policy and a hash-chained audit log.

It is the component that **runs** work rather than analysing it. Context Fabric feeds it context, AI Tracing records what happened, and code review or testing are flows that execute on it.

## Shape of the thing

A Rust controller (`vp-server`) over Postgres 17, a React frontend, and a Kubernetes orchestrator that schedules one Job per node run.

Agents come in two modes. In `agent` mode an LLM drives the work inside the pod; in `deterministic` mode a fixed command runs and reports its result. Both are the same object with the same ports, which is what lets one flow mix an LLM-driven reviewer and a plain test runner without special-casing either.
