Design an AI coding assistant
A developer pauses mid-line. The suggestion arrives 900 milliseconds later, after they've typed three more characters, so it's thrown away. In the chat panel, the assistant confidently calls a function that was renamed last week. Both answers were "good model output". One was too late, and the other had the wrong context. That's what this design is about.
In this lesson you'll learn to
- Gather the right context for inline completions and for chat or agent tasks, within a token budget.
- Build a latency budget for inline completions, and name the techniques that meet it.
- Design an agent mode with search and edit tools, a sandbox for commands, and checkpoints to undo.
- Evaluate on real repositories, offline and online, without trusting contaminated benchmarks.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.