Installation¶
Requirements¶
- Python 3.10 or later
- uv (recommended) or pip
Install from PyPI¶
Note
uv tool install potpie is recommended for CLI installs because global mutation of Python packages is generally not recommended.
Verify installation¶
First-time setup¶
After installing, run the setup wizard:
This provisions:
- Local configuration and storage
- The background daemon
- A default pot (workspace)
- Agent skills for your chosen harness
To target a specific repo and harness:
Self-hosted / local development¶
For running the full Potpie server stack locally (not just the CLI), see the self-hosting guide below.
Local server setup¶
Warning
This section covers running the full Potpie server locally. Most users only need the CLI installed via PyPI above.
Prerequisites:
Steps:
-
Clone the repository:
-
Configure your environment:
Open
.envand fill in the required values. See.env.templatefor all fields including LLM provider, database, Redis, and storage settings.Tip
Using Ollama? Set
LLM_PROVIDER=ollamaand useollama_chat/qwen2.5-coder:7bfor bothCHAT_MODELandINFERENCE_MODEL. -
Install dependencies:
-
Start all services:
The script starts Docker services, waits for PostgreSQL, applies migrations, starts the FastAPI app, and starts the Celery worker.
-
Verify the server:
To stop all services: