Chapter 2: The network

Now the conversation itself. It is more readable than you might expect.

HTTP

The agreed format browsers and servers use to talk. One side sends a request, the other sends back a response. It remembers nothing between requests, so each one has to carry everything the server needs to know.

Almost everything your agent builds on the web goes through it, including the agent's own calls to its model. Reading one raw exchange is the fastest way to find out which side is wrong, and it replaces a lot of guessing by either of you.

Say it to your agent

“Show me the raw HTTP exchange: run curl -i against the endpoint and paste the status line, the headers and the body. I want the output itself, not your description of it.”

The workshop

Name a word, or describe what you mean in everyday language.