saad-dev.com / work
ch 03 · work
WORK
Six public repositories. Each page has a sample run, how it works, and the source. Two of them stop at a human before anything irreversible happens.
- Document AI · human-in-the-loopdocument_pipelineClaude-vision state machine. Any document in, a validated row out. Three LLM calls, one repair attempt, one human gate, 69 tests.
- Data platform · MCP · agentPortfolio-SummarizerThree sources, fourteen tables, three tiers — raw Parquet, a DuckDB warehouse, and derived scores in their own partition. Loads are idempotent: append dedupes on a declared primary key, so a re-run costs nothing. The agent is the last mile, not the point.
- Email agent · human handoverinbound_lead_responderSix-node email agent. Classifies, extracts, routes on a rules table, drafts a proposal — then hands it to the right team. Nothing goes back to the lead without a person.
- Computer vision · clusteringFaceClustererSigLIP global embeddings and InsightFace face embeddings, voted into a consensus across six thresholds. No model retraining, no labels.
- Multi-agent system · guardrailsself_spawnAgentsFour agents, no human in the revenue loop — and a profit-blind ethics auditor that can veto the other three. Frozen-config hashes, a sandboxed code generator, capped budgets per child. 140 tests.
- RAG · cited answersai_knowledge_botPoint it at a codebase, ask it how onboarding works. Every answer carries file:line citations, so a wrong answer is falsifiable in one click.