Skip to main content
Use the local admin server before following these requests. Set ADMIN_TOKEN in this terminal to match the server. The examples use its deterministic fixture provider; configuration operations and the shown run make no model calls. createAdminRouter() creates and updates Agents and Teams. Workflow routes only store name/description metadata; they do not accept steps or create executable Workflows. Every route is part of your trusted operator API. The host must authenticate it separately from application transport.

Endpoints

Agents

Teams

Workflows

Tools

Toolkit Catalog

Toolkit Configs (Credentials Management)


Create Agent

The Agent is immediately available through the overview server’s transport, which discovers registered entities. Its fixture response is fixed regardless of the prompt:

Agent Blueprint

string
required
Unique agent name. Used as the identifier in registry and transport routes.
string
required
Model provider id: "openai", "anthropic", "google", "ollama", "vertex".
string
required
Model ID accepted by the selected provider. This walkthrough uses "local-v1"; choose a live provider/model from example models when adapting it.
string
System prompt for the agent.
string[]
Tool names from the toolLibrary. e.g., ["webSearch", "calculator"].
number
Optional sampling value. Supported ranges and compatibility depend on the provider/model.
object
Provider-specific configuration passed to modelRegistry.resolve(). It is persisted privately and omitted from public responses; prefer host environment credentials where supported.

Update Agent

The registry entry is replaced with a newly configured Agent and the blueprint is persisted. This does not cancel or drain runs already using the old instance; coordinate operator changes with the host lifecycle.

Create Team

First create writer with the Agent request above and "name": "writer". Then submit the Team with both existing member names:
All member Agents must already exist in the registry. Before the Team request, create writer using the same Agent request with "name": "writer". The local fixture demonstrates configuration wiring; it does not perform useful model coordination. Use real providers when testing Team behavior.

Team Blueprint

string
required
Unique team name.
string
required
Team mode: "coordinate", "route", "broadcast", "collaborate", "handoff".
string
required
Model provider for the team leader.
string
required
Model id for the team leader.
string[]
required
Agent names that must exist in the registry.
string
System prompt for the team leader.

Validation & Error Codes

Workflow metadata

A POST /workflows body accepts name and optional description. There is no workflow-update route or serialized step graph. To execute a Workflow, define its steps in application code and register it with core. Deleting metadata also removes a matching live registry entry, if one exists.

Toolkit configuration

Browse /toolkit-catalog for registered toolkit types and configuration fields. Save an instance with toolkitId, instanceName, config, and optional enabled. Enabling it exposes its tools to subsequent Agent creation; inspect /tools for the exact names before adding them to a blueprint. Toolkit response masking follows catalog fields marked secret. Masked placeholder values on update preserve those existing secret values. Storage retains the original settings; see storage ownership and sensitive values.

Verify an integration

Check missing credentials, unknown tool names, duplicate entity names, and restart hydration before connecting an operator UI. Distinguish /admin/agents (persisted blueprints) from the transport registry (currently executable instances). Continue with Socket.IO for configuration-change notifications.