Skip to main content
Dograh is a Next.js UI (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.
Using Claude Code or Codex? Install the Dograh setup skill (/plugin marketplace add dograh-hq/dograh-plugins, then /plugin install dograh@dograh) and ask your agent to “set up Dograh for development”. It runs the steps below for you and checks that the stack is healthy.

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.
  1. Fork dograh-hq/dograh and clone your fork:
  1. Set up. This fetches the pipecat submodule, installs Python and UI dependencies, starts Postgres, Redis, and MinIO, writes the .env files, and migrates the database. It never prompts and is safe to rerun:
  1. Start Dograh:
When everything is healthy, 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.
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.
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.
The VS Code devcontainer still works. See Devcontainer.

Daily workflow

Every command is uv run scripts/dev.py <command>.

Worktrees and coding agents

Each git worktree, whether made by VS Code, T3 Code, Conductor, Codex, Claude Code, or git 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:// or localhost. Either forward the app and API ports with the same port numbers (for example ssh -L 3000:localhost:3000 -L 8000:localhost:8000), or run up --public for public HTTPS URLs. The call audio itself also needs inbound UDP 32768–60999 to the machine, or a TURN server (TURN_* in api/.env).
  • Telephony: carriers need a public HTTPS and WSS URL for the API. up --tunnel creates 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 set BACKEND_API_ENDPOINT in api/.env to it.

Repository layout

Contributing a change

  1. Create a branch and make your change.
  2. Push to your fork (origin) and open a pull request against dograh-hq/dograh:main.
  3. A maintainer reviews and merges.
Bug reports and feature ideas go through GitHub Issues and Ideas. Issues tagged 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.