Credentials. The README example uses the default Postgres user and password ufo:ufo, so change them before the database holds real team data.
Who it is forAn ops engineer setting up a UFO server for several users who need a database that is not SQLite.
The problemThe default SQLite setup is meant for one process on one machine, and a larger deploy needs a shared database.
The outcomeA UFO server reading and writing a Postgres database named ufo, with the workspace created in that database.
What you need first
- Python with uv installed (https://docs.astral.sh/uv/)
- API keys for the three model providers, set in .env
- For remote sandbox use: a hosted UFO workspace, or a self-hosted server with a configured sandbox carrier
- For Postgres or the debugger: make and pnpm
Steps
- Run
make db - Write
ufo.tomlwith the Postgres URL using the command in the Postgres section of the README - Run
make init EMAIL=email@work.com - Run
make serve
Prompt for your agent
In the ufo-core repo, run `make db`, write ufo.toml as the README's Postgres section describes, then run `make init EMAIL=<work email>` and `make serve`. Expected output: the server starts on http://localhost:8710 against postgresql+asyncpg on 127.0.0.1:5541. Verify that ufo.toml contains the postgresql+asyncpg URL before you report success.
Caveat. The README gives the Postgres connection string only for the local make db setup, and scale-out to S3 and Redis is described in one line without steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ufo-ai/ufo-core and "Move a team UFO server onto Postgres"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer