~/talk

Building a coding agent from scratch

slides:none on file

Live-codes a working CLI coding agent that runs locally against Ollama with gpt-oss 20B, uses SSE HTTP client code, and raises the context window to 64K tokens so file reads fit. The agent separates reasoning from content (reasoning comes in a reasoning field or HTML tags), advertises tools to the model, executes tool calls and injects structured results back into history. Built tools include read/search/edit file tools (weather stubbed), and the demo works as a toy end‑to‑end.

AI-written summary · about

  1. 0:00Building a coding agent
  2. 1:49Local model setup with Ollama
  3. 8:35Agent loop and input handling
  4. 12:14First LLM call and responses
  5. 20:19System prompts and reasoning
  6. 25:20Tool calls in the agent
  7. 31:20Dynamic tool registration
  8. 41:45File operations tools
  9. 48:10Summary and improvements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.