Get Started
Use this path if you are new to Awaken and want a local server running quickly: tools and state live in Rust code, behavior moves through config, and server mode adds shared protocols plus the browser admin console.
Start A Local Server
Section titled “Start A Local Server”This server works without a model API key. When OPENAI_API_KEY is absent, the
starter backend uses a deterministic scripted executor so you can test the HTTP
routes and admin console first.
AWAKEN_HTTP_ADDR=127.0.0.1:38080 \AWAKEN_ADMIN_API_BEARER_TOKEN=dev-token \AWAKEN_STORAGE_DIR=./target/awaken-dev \cargo run -p ai-sdk-starter-agentCheck that it is reachable:
curl -sS \ -H 'authorization: Bearer dev-token' \ http://127.0.0.1:38080/v1/capabilitiesStart the admin console in a second terminal:
pnpm installpnpm --filter awaken-admin-console devOpen http://127.0.0.1:3002, click the token pill, and paste dev-token.
From there you can create a provider, create a model, create an agent, preview
it, and copy the frontend integration route from the saved agent page.
To use a real model from the beginning:
export OPENAI_API_KEY=<your-key>export AGENT_MODEL=gpt-4o-mini# Optional for OpenAI-compatible providers:export OPENAI_BASE_URL=https://api.openai.com/v1export OPENAI_ADAPTER=openaiThen restart the same cargo run -p ai-sdk-starter-agent command. Use
AWAKEN_SEED_PROFILE=demo only when you want sample agents and demo tools; the
default minimal profile keeps the console focused on the resources you create.
What You Just Started
Section titled “What You Just Started”/v1/ai-sdk/chatand/v1/ai-sdk/agents/:agent_id/runsfor AI SDK v6 frontends./v1/ag-ui/*for CopilotKit / AG-UI./v1/config/*for managed providers, models, agents, MCP servers, tools, and plugin sections./v1/admin/assistant/*for the locked Admin Assistant after the first real model is configured.- A file-backed local store under
AWAKEN_STORAGE_DIR.
Read in order
Section titled “Read in order”- Use the Admin Console for the browser workflow: configure models, create agents, preview drafts, and publish the next runtime snapshot.
- AI SDK frontend integration when wiring a React UI to a saved agent.
- First Agent for the smallest in-process runtime.
- First Tool to understand tool schemas, execution, and state writes.
- Build an Agent when you want a reusable project baseline.
Leave this path when
Section titled “Leave this path when”- You need to implement new runtime capabilities: go to Develop Agents.
- You need to tune or operate saved agents: go to Tune & Operate.
- You need HTTP or frontend integration: go to Serve & Integrate.
- You need persistence: go to State & Storage.