1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →
What are the core building blocks of a production LLM application?
30-second answerSay your answer out loud first, then reveal.

What each block is for
| Block | Responsibility |
|---|---|
| API layer | Auth, quotas, session state, request validation |
| Orchestrator | Builds prompts, calls retrieval and tools, runs workflows or agents, parses outputs |
| Context sources | RAG indexes, SQL, APIs, user memory |
| LLM gateway | Single entry point to models: retries, fallbacks, caching, logging, cost attribution |
| Guardrails | PII redaction, injection/abuse detection, output policy checks, schema validation |
| Observability | Traces of every step, latency, tokens, cost, errors |
| Evals + feedback | Offline test suites, online metrics, human labels, improvement loop |
| Config registry | Versioned prompts, model choices, feature flags |
Interview tip. Draw this skeleton early, then say which boxes matter most for this problem and deep-dive those.
Related
You understood something today that you didn't yesterday.