NEXUS Bridge API
REST API for the NEXUS multi-agent orchestration platform. Dispatch tasks to 12 specialized agents with governance enforcement, MCDM routing, and quality assurance built into every request.
Authentication
All endpoints require Bearer token authentication. The token is configured in your vault.env file.
The primary endpoint. Accepts a task, applies governance policies, scores agents via TOPSIS/AHP, and dispatches to the optimal executor. Returns the agent response with quality score.
Request Body
| Parameter | Type | Description |
|---|---|---|
| task | string (required) | The task description to dispatch |
| agent | string | Force specific agent (nexus, atlas, forge, bolt, oracle, shield, judge, scout, spark, ghost) |
| role | string | Agent role filter (builder, runner, executor, refactorer, security, reviewer) |
| context | object | Additional context for synaptic packet enrichment |
Example Request
Example Response
SENTINEL fan-out: sends the same task to multiple agents in parallel and aggregates results. Useful for benchmarking, consensus, and multi-perspective analysis.
Request Body
Transfers context from one agent to another with synaptic packet preservation. Enables multi-stage workflows where one agent's output feeds another's input.
Request Body
When a task's risk level triggers the Human-In-The-Loop gate, it enters pending_approval status. Use this endpoint to approve or reject.
Request Body
Response
Response
Returns the full agent registry with capabilities, cost tiers, and current status. Data sourced from agent spec manifests in governance/specs/agents/.
Returns active dispatches, queued tasks, and any pending HITL approval requests.
Google A2A protocol discovery. Returns agent cards for all 12 agents, enabling interoperability with external A2A-compatible systems. No authentication required.
Returns the complete OpenAPI specification. Compatible with Swagger UI, Postman, and other API tools. Spec file: governance/specs/openapi-bridge.yaml