Series

How LLM Engineering Works

From Prompts to Agents — Getting Real Work Done with LLMs

You know how LLMs work under the hood — tokenization, attention, transformers. But knowing how the engine works is different from knowing how to drive. This series is about the application layer: how to talk to models effectively, give them tools, manage their limited context window, and wire them into autonomous loops that solve real problems.

Every article is grounded in how real-world tools actually do it. We'll look at the techniques behind coding assistants, RAG pipelines, and agentic frameworks — with interactive demos so you can experiment with each concept yourself.

How to read this series: Start with prompt engineering — it's the foundation everything else builds on. After that, tool use and structured output unlock the agentic articles. Context management and RAG can be read in any order.

Foundations

How to communicate with LLMs effectively and get structured, reliable output.

  1. 001
    Beginner Prompt Engineering

    The art of asking LLMs the right question

    12 min
  2. 002
    Beginner Structured Output

    Getting machines to parse what models produce

    9 min

Tools & Context

Giving models the ability to act, and managing what they can see.

  1. 003
    Intermediate Tool Use & Function Calling

    Giving language models hands

    13 min
  2. 004
    Intermediate Context Management

    Fitting a world into a window

    11 min
  3. 005
    Intermediate Retrieval-Augmented Generation

    Teaching models to look things up

    13 min

Agentic Systems

Autonomous loops, code agents, and evaluation — the architecture of tools like Opencode and Claude Code.

  1. 006
    Advanced Agentic Loops

    Observe, think, act, repeat

    10 min
  2. 007
    Advanced Code Agents

    How AI coding assistants actually work

    13 min