The Builder's Route
about 60 minutes
Study interfaces, retrieval, tools, evaluation and cost in build order. This explains the pipeline; actual integration still needs version checks and validation.
- Break down an API call's cost into its token segments
- Explain what chunking and embedding each determine in a retrieval pipeline
- Name the first two defenses to put in place when adding tool calling
- Why can an OpenAI-compatible API reach many models, and what still differs?
- Retrieval is weak: check chunking first or swap the embedding model? Give the order.
- What does retrieval augmentation solve, and what does it not?
- Who owns tool definition and who owns tool invocation?
- Does MCP mainly solve interface standardisation or permissions?
- Where is the line between workflow orchestration and agent autonomy?
- What three sample types should a minimum pre-launch evaluation set include?
Try answering before opening the reference. Revisit the relevant step above if needed. These answers highlight key ideas; you do not need to repeat the wording.
Question 1 · Reference answer
Input includes instructions, history, retrieved material and tool results; output is generated content. Apply the relevant rates and check cache, tool and retry charges separately. Do not assume one rate for every token.
Question 2 · Reference answer
Chunking defines retrieval units; embedding represents text as vectors. Check whether the answer-bearing chunk reaches candidates before investigating ranking and generation.
Question 3 · Reference answer
Validate tool names, arguments and authorization at execution. Treat retrieved text and tool results as untrusted data. Add approval and recovery according to the risk of writes or external effects.
Question 4 · Reference answer
It standardises request/response shapes and common fields so the base URL can change; model names, streaming details, tool-call formats, billing and rate limits still differ. Compare with the same request set before launch.
Question 5 · Reference answer
First check whether the answer-bearing chunk was split or never indexed, then inspect candidates and ranking, and only then swap the embedding model. Chunking and metadata errors will not be fixed by a new model.
Question 6 · Reference answer
It puts external material into context, easing knowledge cutoffs and missing sources; it cannot guarantee the right passage is retrieved, nor remove misreading, conflicting evidence or bad citations. Evaluate hits and citations.
Question 7 · Reference answer
The application defines tools for the model, including names, arguments and purpose; the model proposes calls, while the execution layer validates and authorises. A proposal is not permission to execute.
Question 8 · Reference answer
It mainly standardises discovery and invocation between models and tools/resources, lowering integration cost; permissions, audit and side effects remain with the execution layer and business systems. A protocol is not authorisation.
Question 9 · Reference answer
A workflow fixes steps and branches in advance, with the model generating inside nodes; an agent lets the model choose the next step and tool. Workflows are predictable and auditable; agents are flexible but need stronger guardrails and rollback.
Question 10 · Reference answer
Typical success cases, boundary/ambiguous cases, and cases that should be refused or escalated. Each needs real inputs and a rubric; success-only sets hide failure.
Apply this to a concrete task
Where to practise after this route
This route gets the concepts across. Do not reread it; pick one place below and use what you just learned once.
Find a tool by task, check licence and deployment
Filter by the job first, then check where it runs, whether the licence allows commercial use, and where data goes.
Open →Run a minimal project from source
Pick a repo with a clear licence, get the smallest example running, then decide whether to integrate it.
Open →Reproduce a piece from its original prompt
Change one variable and see what differs. Do not treat one rerun as a conclusion about the model.
Open →The Half-Hour Primer · One Afternoon Under the Hood · The Full Week · The Writer's Route · The Decision-Maker's Route · The Researcher's Route · The Operator's Route · The Everyday User's Route · The Image / Video / Audio Creator's Route · The Safety and Compliance Review Route · The Evaluation and Quality Route · Robot software and learning route · The Office Route · The Data & RAG Route · The Teacher Route
This page appears in: Write code with AI · Make games with AI