Build the server
pnpm dev script only watches TypeScript; it does not start an HTTP server.
Create a local project
The server reads a project fromWORK_DIR. Create a workspace with these files:
.polpo/polpo.json
.polpo/teams.json
.polpo/agents.json
Start the server
From the cloned Polpo repository:http://localhost:3890 by default. Provider credentials can also go in workspace/.polpo/.env.
Check the server:
Use the SDK
POLPO_API_KEY and POLPO_API_KEYS are unset. See Self-hosting before exposing the server to a network.
Run the dashboard locally
The open-source repository includes a single-tenant Next.js host for the v2 runtime views. In a second terminal:http://localhost:3000. The app proxies requests server-side, so the runtime API key is not embedded in the browser bundle. The reusable views are published separately as @polpo-ai/dashboard for custom hosts.
Move the configuration to Cloud
From the project workspace, authenticate and deploy. When the local config has no Cloud project ID, the deploy command resolves or creates the target project interactively:polpo link --project-id <uuid> only when you intend to bind to an existing project and pull its current remote resources before deploying.
The CLI can offer to upload recognized local provider keys during deploy. See Deploy and Model Gateway.