Internal developer overview

On this page

These pages are for engineers working on the dembrane codebase - not self-hosters or API integrators (those are the external developer guides). The goal here is to get you oriented fast: where each service lives, how the data flows, and how a change reaches production.

Note

This is internal reference. It assumes you have the echo monorepo checked out and access to the team’s tooling. If you’re self-hosting or building against the public API, start with self-hosting and the participant API instead.

What dembrane is, in one paragraph

People speak - in a workshop, a town hall, a citizen panel, a research interview - and dembrane records, transcribes securely in dozens of languages, and turns hours of dialogue into summaries, themes, reports, and a chat you can interrogate. The platform is event-driven: audio arrives in chunks, work fans out to background workers, and the dashboard streams progress back over SSE. We treat language models as tools, not oracles - the human stays in the room and in charge.

The repo at a glance

Everything lives in one monorepo, echo/. The pieces you’ll touch most:

Path What it is
echo/server/ The FastAPI backend, Dramatiq workers, and the APScheduler. The heart of the system.
echo/server/dembrane/ The Python package: API routers, service layer, tasks, settings, policies.
echo/frontend/ The React/TypeScript SPA. One codebase serves both the dashboard and the participant portal - it picks the router by hostname.
echo/agent/ The standalone agent service (CopilotKit + LangGraph) for agentic chat. Runs on its own port.
echo/directus/ The Directus deployment: data layer, auth, file storage, and the schema snapshot (sync/snapshot/).
echo/docs/ Engineering docs - ADRs, plans, issues, migration notes, the LiteLLM config reference.
dembrane-go/ The native SwiftUI iOS recording app. Separate build; talks to the same backend.
echo/tools/ Operational tooling (e.g. usage tracker).

The services

dembrane is several processes, not one. Each guide below goes deeper, but the shape is:

See architecture for the full picture, including ports, the BFF, and auth.

Start with architecture, then dip into whichever area you’re working on:

Two files you should read before you change anything

House conventions worth knowing early

Related

Comments