The DocPilot Blog
Notes on AI documentation from the team building it.
Playbooks for engineering leaders, deep dives into code intelligence, and lessons from running the Onzira Labs platform in production.
microservices
How to Document Microservices Architecture at Scale
When your architecture splits into dozens of services, documentation becomes the difference between velocity and chaos. Here's how to keep it accurate, useful, and alive.
architecture
The Case for AI-Generated Architecture Diagrams
Hand-drawn architecture diagrams rot the moment they're saved. AI-generated ones pull from code, so they tell the truth — even after the third refactor.
typescript
How We Built a Multi-Tenant SaaS in TypeScript from Scratch
A pragmatic, code-first walkthrough of designing a multi-tenant SaaS architecture in TypeScript, covering tenant isolation, auth, billing, and the patterns we wish we'd known earlier.
postgres
Why We Chose Postgres Over Redis for Our AI Job Queue
Redis looked like the obvious pick for our AI job queue. Postgres ended up being the right one — and the reasons had nothing to do with speed.
knowledge-graph
Setting Up a Knowledge Graph for Your Codebase: A Step-by-Step Guide
Most codebases rot because nobody knows what depends on what. A knowledge graph fixes that — here's how to build one without overengineering it.