Admin REST API
ThecreateAdminRouter() function returns an Express router with full CRUD endpoints for agents, teams, and workflows.
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:
"gpt-4o", "gpt-4o-mini", "claude-sonnet-4-20250514", etc.string
System prompt for the agent.
string[]
Tool names from the
toolLibrary. e.g., ["webSearch", "calculator"].number
Model temperature (0-2).
object
Provider-specific config passed to
modelRegistry.resolve() (e.g., { apiKey, baseURL }).Update Agent
Create Team
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.