~/talk

How Does a Coding Agent Work?

Talkat AI-fokus 2026 · on Tuesday, 2026-05-19· [ai-assisted-development, software-architecture]
slides:none on file

Explains a working coding agent built as a while loop that sends a system prompt (~25,000 chars), tool descriptions (about 90,000 characters of tool descriptions) and conversation history to a Claude model via the Anthropic SDK, using a local proxy to intercept API calls. Demonstrates file tools (read/write/list), MCP access through getmcp.io MCP proxy, a real C# example under <200-line C# agent that writes and runs a FizzBuzz, and extensibility with pre- and post-tool hooks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56Mechanical sympathy for agents
  3. 3:40Agent-model communication
  4. 7:12Accessing source code
  5. 11:50MCP in agent APIs
  6. 16:47Inspecting MCP traffic
  7. 18:52Coding agent request breakdown
  8. 20:20Build your own agent
  9. 24:15Skills extend agents
  10. 28:50Conditional tool activation
  11. 29:11Extending agents with hooks
  12. 35:21Resources and tools
  13. 40:26Inefficiency in agent context
  14. 41:53Q&A
~/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.