AI System Design: From Idea to Production - Apoorva Joshi, MongoDB
TL;DR
Specs are the new code: In the AI coding era, the hard part is defining product requirements, system design, and evaluation criteria, not writing code itself, and even Anthropic and OpenAI leaders emphasize this.
Start with a solution-agnostic business problem: A good business problem states who the users are, the current state, quantifies pain points, and doesn't prescribe what the system should be.
Identify business constraints early: Regulatory requirements, data residency rules, approved vendors, and cases requiring human review all shape downstream architectural decisions.
Design the simplest system first: The most common mistake is over-engineering before knowing what's actually failing, so start simple, evaluate, and iterate.
Guardrails are essential for LLM systems: Unlike traditional software, LLMs are probabilistic and can produce unexpected or harmful outputs, requiring input/output guardrails and domain-specific metrics.
Optimization is non-negotiable for production: Accuracy, cost, latency, and reliability constraints require techniques like prompt engineering, reranking, semantic caching, and structured outputs before shipping.
The Breakdown
Anthropic and OpenAI both say specs are the new code, and Apoorva Joshi from MongoDB demonstrates a four-phase framework for building AI systems from idea to production, using a health insurance claims review system that could cut processing time from 2 days to 1 hour as a detailed walkthrough.
Was This Useful?
Share
Keep Reading
Make Alcreon Yours
Tune your feedFive quick questions, and the feed ranks what matters to you first.Or just get notified
The weekly Echo. Signal worth keeping in your inbox.
Every new piece, announced on X.
Read Next
See all
Playbook
The Cheapest Model That Passes
OpenRouter lists 400 models behind one API. The fix for choosing isn't a better leaderboard, it's a four-step protocol that ends in a real eval.

Playbook
Cheap Models, Hard Tasks
Most agent workflows route every step to the frontier model by default. The bill scales with how chatty the agent gets, even when most steps don't need that brain.

Playbook
Tasteful Skills
“Tasteful Skills” argues that the best agent skills are not documentation or best-practice lists.