ui/), a FastAPI backend (api/), and a Pipecat-based voice pipeline (pipecat/, a git submodule), backed by Postgres, Redis, and MinIO. In development the UI and backend run on your machine, and only Postgres, Redis, and MinIO run in containers.
Set up
You need Git, uv, Node.js 24, ffmpeg, and Docker or Podman (Docker Desktop, OrbStack, Rancher Desktop, or Podman all work). uv installs the right Python for you. On Windows, run everything inside WSL2.- Fork dograh-hq/dograh and clone your fork:
- Set up. This fetches the pipecat submodule, installs Python and UI dependencies, starts Postgres, Redis, and MinIO, writes the
.envfiles, and migrates the database. It never prompts and is safe to rerun:
- Start Dograh:
up prints the app URL (normally http://localhost:3000) and a dev login. Open the URL and sign in. Press Ctrl-C to stop.
If these steps do not work for you, run uv run scripts/dev.py doctor and open an issue on GitHub with its output.
Cloned dograh-hq/dograh directly instead of your fork?
Cloned dograh-hq/dograh directly instead of your fork?
Run
bash scripts/setup_fork.sh once. It prompts for your fork URL, points origin at it, and adds upstream as dograh-hq/dograh. See Fork and upstream remotes.Setup stopped with 'already holds data'?
Setup stopped with 'already holds data'?
You have a database from an earlier Dograh setup. Run
uv run scripts/dev.py setup --adopt to keep using it from this checkout. To leave it untouched instead, set DOGRAH_INFRA_PROJECT=<any name> to give this checkout its own Postgres, Redis, and MinIO.Prefer a devcontainer?
Prefer a devcontainer?
The VS Code devcontainer still works. See Devcontainer.
Daily workflow
Every command isuv run scripts/dev.py <command>.
Worktrees and coding agents
Each git worktree, whether made by VS Code, T3 Code, Conductor, Codex, Claude Code, orgit worktree add, gets its own database, Redis index, MinIO bucket, and ports. All worktrees share one set of containers. Run setup in a new worktree, then up. In VS Code, the repo’s folder-open task runs setup for you once you allow automatic tasks for the folder (VS Code asks the first time). gc drops the databases of worktrees you have deleted.
The commands never prompt, so agents can run them as-is. The repo’s AGENTS.md lists them, and t3.json wires them into T3 Code.
Test calls
- Models: a call needs AI models. Open Models in the app and add your own provider keys, or connect a Dograh account.
- On a remote machine: browsers only allow the microphone on
https://orlocalhost. Either forward the app and API ports with the same port numbers (for examplessh -L 3000:localhost:3000 -L 8000:localhost:8000), or runup --publicfor public HTTPS URLs. The call audio itself also needs inbound UDP 32768–60999 to the machine, or a TURN server (TURN_*inapi/.env). - Telephony: carriers need a public HTTPS and WSS URL for the API.
up --tunnelcreates one, but it changes on every run. For a number with inbound calls, point your own stable tunnel (for example an ngrok static domain) at the API port and setBACKEND_API_ENDPOINTinapi/.envto it.
Repository layout
Contributing a change
- Create a branch and make your change.
- Push to your fork (
origin) and open a pull request againstdograh-hq/dograh:main. - A maintainer reviews and merges.
good first issue are a good place to start. For questions while you’re working, use the Dograh Community Slack.
Deploying your own build instead of contributing upstream? See Deployments instead.