polpo init runs the setup wizard automatically the first time. You can re-run it anytime with polpo setup to change your configuration.
What the wizard does
The wizard walks you through 4 steps:-
Project name
Defaults to the current directory name. This identifies the project in logs, the Web UI, and the REST API.
-
Detect providers
Polpo scans your environment for API keys (
ANTHROPIC_API_KEY,OPENAI_API_KEY,GEMINI_API_KEY, etc.) and any stored OAuth profiles frompolpo auth login.If no providers are detected, the wizard offers to enter an API key on the spot or skip and configure later. -
Select a model
Based on detected providers, the wizard shows recommended models:
Choose a recommended model or enter any
provider:modelstring. See Providers & Models for the full list of 22+ supported providers. -
Team configuration
Name your team and your first agent:
This creates a single-agent team. You can add more agents later.
.polpo/polpo.json and prints a summary:
Re-running setup
Runpolpo setup at any time to reconfigure. Existing values are shown as defaults — press Enter to keep them.
Non-interactive mode (CI/CD)
When stdin is not a TTY (e.g., in CI pipelines), the wizard skips prompts and uses:POLPO_MODELenv var for the model- Directory name for the project name
- Default team (
dev-1/developer)
POLPO_MODEL is not set, the config is written without a model and agents will fail with a clear error message asking you to configure one.
OAuth alternative
Instead of API keys, you can use your existing subscriptions (Claude Pro/Max, ChatGPT Plus/Pro, GitHub Copilot, Google account):Config file reference
The wizard generates a standard.polpo/polpo.json: