02
Local setup
Getting started1 min read
Ports, environment contracts, databases, and focused development commands.
Local services
| Service | Address | Responsibility |
|---|---|---|
| Web | 127.0.0.1:3120 | Next.js app and developer UI |
| API BFF | localhost:3110 | Auth, public API, streaming, approvals |
| Agent runtime | localhost:3001 | Agents SDK orchestration and sessions |
| Tool gateway | localhost:3002 | MCP, connectors, policy, audit |
| Postgres | localhost:5432 | Durable platform state |
| Redis | localhost:6379 | Locks, fanout, and rate limits |
$ docker compose -f docker-compose.dev.yml up -d postgres redis$ pnpm dev:ai:local$ pnpm dev:ai:local:checkSecrets stay local
Use .env.example as the key contract. Never expose service-role keys, connector tokens, exchange credentials, or wallet material to a browser, model context, sandbox, fixture, or log.
Was this page helpful?
Edit on GitHub