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
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
Create Team
First createwriter with the Agent request above and "name": "writer". Then submit the Team with both existing member names:
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
APOST /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.