QuoxEngine
How an objective becomes a plan, a workflow and a set of results.
Maturity: Beta. Statements on this page were traced to QuoxCORE code on 2026-10-30.
| At a glance | |
|---|---|
| What it is | The part of QuoxCORE that turns an objective into a plan, runs the plan as a QuoxFlow workflow, records the results and scores how each agent performed. |
| Where it runs | In the tasks service on your QuoxCORE server. It ships with every QuoxCORE installation. |
| When to reach for it | You want to know how a team objective becomes work, how failures are recovered, or how agent performance feeds routing. |
| How to start | Submit an objective to a team: see Agentic Teams. |
How an objective runs
- Objective. You or a schedule submit a goal to a team.
- Decomposition. The team's orchestrator agent breaks the goal into tasks with dependencies, forming a task graph.
- Workflow. The tasks are converted into a QuoxFlow workflow: each task is an agent node, and each dependency is an edge. Each node has its own timeout, between 180 and 600 seconds, 300 by default.
- Results. The outcome of each task is recorded against the objective.
- Scoring. After each task, the engine records how the assigned agent did. Skipped tasks are excluded.
The plan is written at run time by the orchestrator, so two objectives that look alike can produce different task graphs.
Topologies
A team's topology changes the prompt the orchestrator uses when it plans.
| Topology | Plan shape | Suits |
|---|---|---|
| Star (default) | Independent tasks, one per specialist, in parallel | Small teams, bug fixes |
| Hierarchical | Work packages for sub-orchestrators | Larger teams, sprints |
| Pipeline | Sequential stages | Build, test and release chains |
| Mesh | Cross-referencing tasks with a final synthesis | Research and reviews |
Learning router
The engine records each agent's performance after every task and can use it to override the orchestrator's choice of agent for a later objective.
- Composite score: success rate 0.35, speed 0.20, cost 0.20, quality 0.25.
- Exploration: 10% of the time a different candidate is tried instead of the best, so the router can notice an agent that has improved.
- Confidence: it ramps up over the first 30 tasks. An override is allowed once confidence is above 0.3.
- Switch: the
learningRouterEnabledpolicy turns it on or off for a team.
The learning router needs a QuoxMind edition: see the store. An override only applies when the task's domain matches a candidate agent's domain exactly. Otherwise the orchestrator's choice stands.
Recovery
- On startup, the engine reconciles objectives that were running when the server stopped. For each one it re-attaches to the workflow execution if it is still going, syncs the result if it has finished, and marks the objective failed if neither is possible.
- A reaper runs every 5 minutes to catch objectives that have stalled.
- Manual retry. A failed objective can be retried by a person.
Policies
| Policy | Default | Effect |
|---|---|---|
learningRouterEnabled | true | Allows the learning router to override agent assignment. |
allowOverlap | false | Allows a scheduled run to start while the previous run is still going. |
Limits
- Cancelling marks an objective cancelled. To stop an agent that is actively running, use the emergency stop or DEFCON (see DEFCON), which halt execution at the safety gate.
- Scheduled runs honour a daily run limit, checked when a run starts.
- Recovery is not automatic retry. Failed work is reconciled on boot and by the reaper; re-running it is a manual step.
- The learning router needs a QuoxMind edition, and its override only fires on an exact domain match.
Related
- Agentic Teams: teams, objectives, schedules and approvals.
- Workflows: the engine each objective runs on.
- Agents: the agents the engine assigns tasks to.
- DEFCON: halting execution.
- QuoxMind: the edition with the learning router.
- Store: editions.
Last verified 2026-10-30 against QuoxCORE origin/main (tasks service).