Admin Console Surface
This page is the technical inventory for the Admin Console surface. Start with Use the Admin Console for the operator workflow; use this page when you need screen coverage, endpoint mapping, and lower-level behavior details.
The Admin Console is the browser control plane for a running awaken-server:
configure providers and models, edit prompts and tool descriptions, assign MCP
tools, tune reminders and deferred-tool policy, preview a draft, then publish
the next registry snapshot.
Start It
Section titled “Start It”For a local server with deterministic scripted replies:
AWAKEN_HTTP_ADDR=127.0.0.1:38080 \AWAKEN_ADMIN_API_BEARER_TOKEN=dev-token \AWAKEN_STORAGE_DIR=./target/admin-sessions \cargo run -p ai-sdk-starter-agentIn another terminal:
pnpm installpnpm --filter awaken-admin-console devOpen http://127.0.0.1:3002, click the token pill in the top bar, and paste
dev-token. The backend URL defaults to http://127.0.0.1:38080; set
VITE_BACKEND_URL when the server runs elsewhere.
No model key is required for the scripted path. To use a real OpenAI-compatible
provider from boot, set OPENAI_API_KEY and optionally OPENAI_BASE_URL,
OPENAI_ADAPTER, and AGENT_MODEL before starting the server. Use
AWAKEN_SEED_PROFILE=demo only when you want sample agents and demo tools.
Screenshots
Section titled “Screenshots”The screenshots show representative console states. A running console reads values from your backend APIs; if a subsystem is not wired, the corresponding surface shows a disabled or unavailable notice.
First Setup
Section titled “First Setup”- Connect the backend. Paste the admin bearer token when the top bar asks
for it. The status pill turns green when
/v1/capabilitiesis reachable. - Configure a provider. Providers hold endpoint, adapter, credentials, timeout, and provider-specific options. Use Test before relying on it.
- Configure a model. Models give agents a stable
model_idand describe the upstream model, modalities, context limits, pricing, and capabilities. Use model pools through the config API when you need weighted routing, sticky selection, or fallback across multiple models. - Unlock Admin Assistant. The built-in Admin Assistant becomes available after the first provider-backed model is configured. Its tools are locked by the server and do not appear in the normal tool registry. It can read platform capabilities, create/publish an AgentSpec, draft without publishing, and validate a draft.
- MCP-only setups are full configuration mode. You can configure MCP servers and assign their tools to agents, but chat and preview surfaces still need a model executor.
Provider credentials and MCP credentials are intentionally separate. Providers
feed model execution. MCP server credentials belong to that MCP transport
(env for stdio, URL/config for HTTP), and agent access is controlled through
tool selection plus optional permission rules.
Create And Tune An Agent
Section titled “Create And Tune An Agent”Open Agents, then New Agent.
- In Basics, set the agent id, model, max rounds, reasoning effort, and system prompt.
- In Tools, choose all tools or a custom set. Built-in, plugin, and MCP tools appear together, and tool description overrides are visible where a tool supports them.
- In Skills, choose which skills the agent can see. Skills inject catalog
guidance and activate through the
skilltool; there is no separateSkillSearchtool today. - In Delegates, choose explicit sub-agents. Delegates become delegate
tools during resolution; there is no separate
AgentSearchtool today. - In Plugins, enable policies such as permission, reminder, generative UI, and deferred tools. A stored plugin section is inactive until the plugin is enabled.
- Use Validate to check the draft without saving.
- Use the right-side preview chat to test the unsaved draft.
- Save publishes the validated config so new runs use the next registry snapshot.
The tuning surface is meant to be broad but still safe: prompts, tool descriptions, system reminders, ToolSearch/deferred-tool policy, skill metadata, delegates, plugin sections, model selection, and provider config are editable online. New executable tools, provider factories, stores, and plugins remain Rust code.
Connect The Saved Agent To A Frontend
Section titled “Connect The Saved Agent To A Frontend”After an agent is saved, the editor shows a Frontend integration card in the right column. It points to the agent-scoped protocol routes:
POST /v1/ai-sdk/agents/<agent_id>/runsPOST /v1/ag-ui/agents/<agent_id>/runsAI SDK v6 example:
import { useChat } from "@ai-sdk/react";import { DefaultChatTransport } from "ai";
const { messages, sendMessage } = useChat({ transport: new DefaultChatTransport({ api: "http://127.0.0.1:38080/v1/ai-sdk/agents/support-agent/runs", }),});Use the generic /v1/ai-sdk/chat route when the client should choose an agent
per request with agent_id. Use the agent-scoped route when a UI is bound to
one saved agent. See AI SDK frontend integration,
AI SDK v6 reference, and
CopilotKit / AG-UI integration.
For route-level details, use the HTTP API reference.
Operate, Trace, And Evaluate
Section titled “Operate, Trace, And Evaluate”- Dashboard shows live workload, provider/MCP health, recent audit events,
optional runtime stats, and read-only
scope_id. - Recent runs on a saved agent opens persisted traces when trace routes are enabled.
- Datasets can capture trace fixtures for evaluation.
- Eval Runs execute datasets against configured agents and models.
- Eval Reports view NDJSON reports and baseline diffs in the browser.
Trace and eval payloads may contain prompts, tool arguments, and model replies. Protect the admin bearer token and route access accordingly.
Version History And Pinning
Section titled “Version History And Pinning”Every config save records metadata and, when audit logging is wired, appears in the Audit Log. Agent History lets you inspect diffs and restore a previous snapshot back into the editing store.
Restore is intentionally a review step: after restoring, save/publish the
resource again when that restored payload should become active for new runs.
When the server is wired with a versioned registry store, published runtime
registry snapshots are immutable and durable runs carry a resolution_id so
resume and replay can reselect the same graph.
scope_id is shown as read-only system metadata. The browser does not choose
scope directly; the server resolves scope from the trusted HttpScopeProvider
for each request. Hosted products should switch tenant/workspace scope in their
auth/provider layer and display the resolved value in the console.
Related
Section titled “Related”- Get Started - start a local server and console
- Configure Agent Behavior - full tuning surface
- Use the Admin Console - longer operator walkthrough
- HTTP API - request and response reference