- Python 95.3%
- TypeScript 3.8%
- CSS 0.8%
| .forgejo/workflows | ||
| backend | ||
| frontend | ||
| .gitignore | ||
| CHANGELOG.md | ||
| package.json | ||
| README.md | ||
VOX
VOX is an identity-first AI workload orchestration runtime for autonomous workloads.
It manages a fleet of long-lived workloads with persistent identities, explicit capability admission, static authority analysis, controlled lifecycle, and structured observability.
VOX separates reasoning from authority. Workloads, roles, and AI models may decide what they want to do, but those decisions do not grant them new permissions. VOX determines which capabilities a workload may use, which commands it may expose, when it may run, and how its activity is observed.
Agents decide. VOX decides what agents are allowed to do.
Why VOX exists
An autonomous workload can produce an unbounded sequence of decisions. If that workload executes with ambient authority, every decision inherits the authority of its execution environment.
VOX moves that boundary outside the workload.
A workload has an identity and a declared execution envelope. Its roles are analysed statically to determine which capabilities they require. VOX discovers the available capability inventory, admits the required capabilities, controls workload lifecycle, and exposes the resulting state through operator and HTTP control planes.
The workload consumes authority. It does not own it.
This separation is intentional: changing a model, role, or workload implementation does not by itself expand the authority available to that workload.
Architecture
VOX-Control is the frontend; VOX is the backend runtime. VOX-Control is a
client of the public HTTP API — it does not access workloads, capabilities, or
Python internals directly. Behind that API, the VOXOrchestrator manages the
workload fleet, lifecycle, and admission of commands and capabilities.
flowchart LR
ctrl["VOX-Control — frontend<br/>Fleet overview<br/>Workload details<br/>Lifecycle actions<br/>Observability / issues"]
subgraph BE["VOX Backend"]
direction LR
api["Public HTTP API<br/>fleet + workload resources<br/>lifecycle actions"]
orch["VOXOrchestrator<br/>fleet orchestration<br/>authority boundaries<br/>workload lifecycle<br/>command admission<br/>capability admission<br/>command discovery<br/>command dispatch"]
subgraph FLEET["Workload fleet"]
direction LR
WA["Workload A<br/>identity<br/>roles<br/>commands<br/>capabilities"]
WB["Workload B<br/>identity<br/>roles<br/>commands<br/>capabilities"]
WC["Workload C<br/>identity<br/>roles<br/>commands<br/>capabilities"]
end
CAPS["Capability inventory<br/>discovered by VOX<br/>AI · communication · browser · parsing · etc."]
end
ctrl -->|"HTTP"| api
api --> orch
orch -->|"start / stop / restart"| FLEET
orch -->|"admit required capabilities"| CAPS
CAPS -.->|"available to admitted workloads"| FLEET
classDef frontend fill:#e8f1ff,stroke:#3b6fb6,color:#111827
classDef apibox fill:#fff4dd,stroke:#b8860b,color:#111827
classDef core fill:#f1ebff,stroke:#6b4ecb,color:#111827,stroke-width:2px
classDef workload fill:#e9f7ef,stroke:#2f8f5b,color:#111827
classDef capability fill:#f3f4f6,stroke:#6b7280,color:#111827
class ctrl frontend
class api apibox
class orch core
class WA,WB,WC workload
class CAPS capability
style BE fill:#fafafe,stroke:#4b5563
style FLEET fill:#ffffff,stroke:#9ca3af
Workloads do not discover or grant themselves capabilities.
Identity
Every workload has a persistent identity declared by its manifest.
Identity is separate from topology. A workload may optionally declare a
master_id describing its position in the fleet hierarchy. This relationship is
topological; it does not delegate permissions or command authority.
Command discovery is fleet-wide, while command dispatch remains explicit and targets a specific workload.
Roles and static authority analysis
Roles are behavioural modules declared by a workload manifest.
Roles may expose commands and request capabilities through the workload capability interface. VOX analyses role source code statically to determine capability requirements before the workload is started.
Role code is not executed merely to discover its authority requirements.
Only roles declared by the workload manifest are loaded.
Capabilities
Capabilities are infrastructure resources controlled by VOX.
The current runtime includes capabilities such as:
| Capability | ID | Backend |
|---|---|---|
| LLM text generation | ai.llm |
Ollama / Gemini |
| Intent parsing | ai.parsing |
LLM-backed parsing |
| Headless browser | net.browser |
Playwright |
| Messaging gateway | comm.gateway |
Telegram / WhatsApp / HTTP |
comm.email |
SMTP | |
| Speech-to-text | comm.voicetotext |
faster-whisper |
| Image OCR | image.ocr |
LLM vision |
The presence of a capability in the runtime does not make it available to every workload.
VOX first discovers the capability inventory, then determines the requirements of each workload, and finally admits the required capability instances.
Workload execution
VOX keeps three different concerns separate:
- what a workload is structurally allowed to expose, based on static analysis;
- what infrastructure is currently available, based on runtime capability state;
- what can currently be executed, based on both.
A runtime failure can therefore make a command temporarily unavailable without changing the workload's declared authority.
Similarly, a capability failure does not automatically become a workload failure. The failure is exposed through observability while the workload may continue running with the remaining capabilities.
This separation keeps runtime failures from silently changing the authority model.
Fleet topology
Workloads may form a generic hierarchy through master_id.
The hierarchy describes topology and startup usefulness. It is not an authority hierarchy.
A workload is considered useful when it owns an available command or has a useful child:
useful(workload)
= owns AVAILABLE command
OR
any useful child
Usefulness is used for startup decisions. It is not a health state.
VOX deliberately does not turn runtime conditions into persistent HEALTHY,
DEGRADED, or UNHEALTHY workload states.
Lifecycle and observability
Lifecycle is owned by the orchestrator.
The current lifecycle states are:
INITIALIZING
STOPPED
STARTING
RUNNING
REPAIRING
STOPPING
FAILED
Workloads do not independently start or stop themselves.
Observability is separate from lifecycle and usefulness. Runtime problems are represented as explicit issues rather than being implicitly converted into new lifecycle states.
This allows operators to distinguish between:
- what the workload is;
- whether it is running;
- what it can currently execute;
- and what problems have been observed.
Control planes
VOX currently exposes:
Unix domain socket
The local operator control plane provides fleet and workload inspection together with lifecycle operations.
HTTP API
The HTTP API provides resource-oriented fleet and workload information and lifecycle actions.
GET /