Getting started
Quickstart: your first agent in 10 minutes
Run docker compose, link a provider key, create an agent, send a chat turn.
Quickstart: your first agent in 10 minutes
This guide takes you from a fresh checkout to chatting with your first agent. Five steps, ten minutes.
The goal
A running Platos instance, a linked provider key, an agent named "Hello", and a successful chat turn. After this, you have everything you need to explore the rest of the docs.
Steps
Clone and configure.
git clone https://github.com/platos-labs/platos.git cd platos cp .env.example .envGenerate two keys:
echo "ENCRYPTION_KEY=$(openssl rand -hex 16)" >> .env echo "PLATOS_MESSAGE_ENCRYPTION_KEY=$(openssl rand -hex 16)" >> .envStart the stack.
docker compose -f docker-compose.platos.yml up -d --buildFirst boot pulls images and runs migrations; allow 5 minutes.
Sign in.
Open
http://localhost:3030. In dev mode the magic-link flow auto-completes (no real email is sent). Use any email you like; the convention islocal@platos.dev. You land on a default project with a single environmentdev.Add a provider key.
Provider keys live in environment variables, not in a separate dialog. Open your
.envfile and add the variable for whichever provider you have:echo "ANTHROPIC_API_KEY=sk-ant-..." >> .env # or echo "OPENAI_API_KEY=sk-..." >> .envRestart the stack so the new env propagates into the running containers:
docker compose -f docker-compose.platos.yml up -dThe Providers page in the sidebar shows the provider as linked and runs a health check on the key. Within a few seconds the model picker fills in.
Create the agent.
Sidebar -> Agents -> "New agent".
- Name:
Hello. - Model: pick any model from your provider.
- System prompt:
You are a friendly assistant. Reply concisely.
Save. The agent detail page opens. Click "Chat", type "Hi", and watch tokens stream.
- Name:
Verify
- The chat panel streams tokens. The first token arrives in under a second.
- The agent's monitoring tab shows one turn and a non-zero cost.
- The
runstab in the sidebar lists no runs (a chat turn is not a BGO).
Next steps
- Add a provider key for a deeper walk through provider config.
- Create your first agent for the wizard's full feature set.
- Connect an entity (TypeScript) to give your agent tools.
- Self-host with docker compose for production deployment.
- The reference entity backend lives at
references/entity-hello-world/(drift D-010 noted: install with its ownpackage.json, not from the workspace root).
