03 · under the hood

What runs underneath

Your documents are Markdown files in a GitHub repo you own. Git is the store, so every save is a git commit and a document’s history is its git log. Indexing, notifications and agent work run from Kafka events. When a document is saved, search then indexes it from the event, and a slow consumer never blocks the write. Search matches by meaning and by exact text, on every plan.

surface
Web UIReact
MCP Server and REST APIsame tools, OpenAPI spec as an MCP tool
edge
Cloudflare WorkersWorkOS sign-in · routing
services
TypeScript servicesdocuments · comments · orgs · @agent
Search servicehybrid search and its own indexing
Git serviceGo · go-git
bus
Kafkadocument written · comment posted · repo synced
storage
GitHubcanonical docs, your repo
Postgresorgs · comments · billing
Postgres + pgvectorsearch index
R2git objects · backups

Indexing, notifications and agent work run from Kafka events, so a slow consumer never blocks a write and a large batch is indexed in parallel. Production runs 6 partitions per topic.

The search index replaced Qdrant, based on data and testing. Embeddings: Amazon Titan on Free, Gemini Embedding 2 on Paid.

Write access can be limited per document.

Runs on Kubernetes
get started

Connect a repo.
You’re live.

Install our GitHub App, pick a repo and create your free org. Most people are set up in under five minutes.

Get started →
Connect a GitHub repo and you’re writing in minutes — free, no card.