orchestrata_ultimate.agents
Reference › orchestrata_ultimate › agents
Multi-Agent Runtime for Orchestrata.
The agents package is the Multi-Agent Runtime of Orchestrata: the code that turns intents into governed work done by specialist agents, called volks. It has two halves. The runtime half manages agent processes under rules; the brain half, in the volks subpackage, gives each agent an LLM-backed role in the delivery pipeline. The hand-written story is agents.
Runtime parts, by role:
- Vocabulary: types, interfaces, constants, exceptions.
- Governance: prolog_bridge (the facade over the
multiagent.plrules), constraints, lifecycle, hierarchy, communication, escalation. - Execution: runtime, pool, task_executor, coordinator and the registry volk_registry.
- Entry points: intent_adapter, postman_adapter, cxp_adapter, and the out-of-process server runtime_main with its handler kernel_handler.
- Agent support: tool_registry (function-calling tools), prompt_builder, spec_writer and uml_generator (standalone generators), and the parallel code generator in swarm.
A task enters through an intent, a Postman packet or a CXP gRPC packet; TaskExecutor resolves a target volk (asking Prolog when none is named), acquires a pooled instance and runs the volk's process method, and VolkCoordinator composes such runs into election, consensus, fan-out and pipeline patterns. Start reading at types, then task_executor, then volks/base.
Curated narrative
The hand-written story of this package: orchestrata_ultimate.agents.
78 modules, 27,430 lines of code.
Subpackages
| Package | Modules | LOC |
|---|---|---|
swarm |
3 | 1,060 |
volks |
50 | 16,405 |
Modules
| Module | Summary | LOC |
|---|---|---|
__init__ |
Multi-Agent Runtime for Orchestrata. | 94 |
communication |
Inter-agent communication via CXP protocol. | 214 |
constants |
Multi-Agent Runtime configuration constants. | 77 |
constraints |
Constitutional constraint validation for agents. | 357 |
coordinator |
Volk Coordinator — multi-Volk coordination patterns. | 294 |
cxp_adapter |
CXP Volk Adapter — base class for volks that process CXP packets. | 102 |
escalation |
Agent-level escalation management. | 281 |
exceptions |
Multi-Agent Runtime exception hierarchy. | 175 |
hierarchy |
Agent hierarchy management. | 376 |
intent_adapter |
Intent Task Adapter — converts Intents to TaskDefinitions. | 139 |
interfaces |
Multi-Agent Runtime interfaces. | 216 |
kernel_handler |
Packet handler that drives the volk engine for the live CXP gRPC kernel. | 814 |
lifecycle |
Formal agent lifecycle with constitutional checks. | 284 |
pool |
Volk Pool — per-alias instance pool management. | 217 |
postman_adapter |
Volk Postman Adapter — bridges CXP message delivery to task execution. | 137 |
prolog_bridge |
Multi-Agent Prolog Bridge. | 651 |
prompt_builder |
Prompt construction for agent repair cycles. | 40 |
runtime |
Volk Runtime — instance lifecycle management. | 444 |
runtime_main |
Agent Runtime gRPC server entry point. | 163 |
spec_writer |
Specification document generator for spike-generated projects. | 446 |
task_executor |
Task Executor — submit and track task execution on Volk instances. | 393 |
tool_registry |
Agent tool registry — OpenAI/DeepSeek function-calling tool definitions. | 2164 |
types |
Multi-Agent Runtime type definitions. | 289 |
uml_generator |
UML diagram generation via Mermaid syntax. | 245 |
volk_registry |
Volk Registration and Discovery for Orchestration Kernel. | 1353 |
Dependency diagram
Truncated: showing 25 of 25 modules/subpackages (most connected first) and 10 of 14 outside packages.