Skip to content
Skein

ai-llm

AI / LLM Integration

How to build features on top of large language models — feeding them your own data, letting them call your code, and checking that the answers are actually good.

9 units·41 lessons·~39 h

Start track →
00

Start from zero

Before the senior material: what LLM integration even is, and the handful of words the rest of the track assumes you already know.
01

Prompt caching

Roadmap

Prompt caching: how a stable prefix cuts input cost 10x

Prompt caching reuses an exact token-for-token prefix at ~0.1x the input price. Any byte that shifts that prefix — a…

Funding: 49% ETA: when funded Back this unit →
02

Tool calls

Roadmap

Tool calls: the round-trip loop, schema validation, and the guard against runaway agents

Tool calling turns a model into a function caller, but the model only emits a request — you execute it. Every call is a…

Funding: 64% ETA: when funded Back this unit →
03

Rag architecture

Roadmap

RAG architecture: the pipeline that fails at retrieval, not generation

RAG is a retrieval problem wearing a generation costume. Chunk size, top-k, reranking, and context order each move…

Funding: 52% ETA: when funded Back this unit →
04

Streaming

Roadmap

Streaming LLM responses: SSE, partial tokens, and the proxy that eats them

Streaming trades total generation time for time-to-first-token. SSE emits delta events you accumulate; tool-call args…

Funding: 57% ETA: when funded Back this unit →
05

Cost budgets

Roadmap

LLM cost budgets: token asymmetry, routing, and the kill switch

Output tokens cost ~5x input, and the system prompt + history + RAG context get re-sent every turn — so a runaway loop…

Funding: 49% ETA: when funded Back this unit →
06

Agents

Roadmap

The agent loop: ReAct, runaway steps, and context that grows every turn

An LLM agent is a while-loop that calls the model, runs a tool, appends the result, and calls the model again. The…

Funding: 43% ETA: when funded Back this unit →
07

Evals

Roadmap

LLM evals: the regression test for non-deterministic features

You can''''t ship an LLM feature without evals: the same input gives different output, and a model or prompt change…

Funding: 44% ETA: when funded Back this unit →
08

Putting it together

Roadmap

Composing a production LLM app: the bug lives in the seam

Caching, RAG, streaming, tools, agents, and evals each pass their own tests, then fail together. Trace one request end…

Funding: 48% ETA: when funded Back this unit →

Build with this track

Guided projects that exercise what you learn here.

Next track

Engineering Practice

The habits that separate a hobby project from a professional team — testing well, shipping changes safely, and keeping a service healthy in production.