Topic

Harness engineering

Build the agent around the model: its loop, tools and their safety, context and memory, evaluations, a coding agent, and Claude Code run the way a team runs it.

  • 6 hands-on labs
  • Intermediate to advanced
  • AI plan

Opens with the AI plan, which includes the DevOps tracks, or with a Teams seat.

Labs

6 labs in order. Intermediate to advanced.

Each lab is a real machine built only for you, with a guide and checks that read what you actually did.

  1. Intermediate

    An agent loop with stop conditions and a transcript

    Write the loop at the heart of every agent: Claude asks for read only tools, your code runs them, failures go back as errors, and a turn limit and a transcript keep it under control.

  2. Advanced

    Tool safety: least privilege, approvals, redaction and a prompt injection

    Triage a support queue with an agent whose tools run with less power than you, write only where and when you allow, and never pass on a secret, even when a ticket tells the model to fetch it.

  3. Advanced

    Context budgets, compaction and memory

    Answer a long run of questions about an incident with every request under 6,000 input tokens: retrieve only what each question needs, compact older turns into a summary, and carry durable facts into the next session through a memory file.

  4. Advanced

    Evaluations: verifiers, a prompt regression, cost and latency

    Build the eval runner every AI team needs: fixed tasks with strict verifiers, two system prompts run on the same suite, pass rate, cost and latency side by side, and saved answers you can verify again for free.

  5. Advanced

    Project: a coding agent that opens a pull request

    A project in your own Gitea: a coding agent with repository tools and a verification gate fixes failing invoice code without touching the tests, then its branch goes up as a pull request that Gitea Actions tests again.

  6. Advanced

    Claude Code as a harness: instructions, hooks, skills, MCP and CI

    Claude Code is a harness already. Set it up for a project: instructions, a hook that no prompt can talk its way past, a skill, a project MCP server, and a headless review in CI, all on Haiku through the lab gateway.

Learning paths

On these learning paths.