camzabriskie.com

Primers

Working with AI

How to set up AI assistants so their work can be trusted and checked.

Start here 01 Reviewing code with an AI, against a ticket, then read in order.

  1. 01
    Reviewing code with an AI, against a ticket

    How to set up an AI code review so it checks the change against the ticket's requirements, then for security, then for code health, adds reliability and infrastructure passes when a change needs them, and why it should run the code instead of only reading it.

  2. 02
    Running an MCP server locally over stdio

    How an AI client starts an MCP server as a child process and talks to it through standard input and output, how to register one, and how to test changes to it before anyone else depends on it.

  3. 03
    RAG, and keeping it fed from shared notes

    What retrieval-augmented generation is and how one question flows through it, how the search finds the right notes, and how to keep the index up to date automatically from a shared notes folder without leaking notes people shouldn't see.

  4. 04
    Agent harnesses, the loop around the model

    What an agent harness does, how the tool-use loop works one turn at a time, and the three places a tool can run (where the harness is, on the provider's servers, or on an MCP server).

  5. 05
    Where an agent runs, and what it costs in setup and waiting

    The common places to run an agent harness and its tools (your laptop, your own containers, a cloud session, a managed service), how much setup each needs, where the time in a run goes, and which to pick.

  6. 06
    Prompt caching, and how it differs from other caches

    What a cache is, why a model's prompt cache stores the work of reading a prompt rather than an answer, how much of an agent run it saves, how Claude's API does it, and what silently breaks it.