(opens in a new tab) Skip to main content

Writing

Notes from building AI systems, Python services and the tooling around them.

Your CTV Metadata Is the Model's Blind Spot

CTV is adopting outcome-optimization models faster than it is fixing the content signals those models are supposed to learn from. The result won't show up as a broken dashboard. It will show up in the price of premium content.

7 min read

All writing

Making the Terminal Usable

Replace pretty_print with a compact streaming display and silence noisy MCP server logs with a small wrapper, without touching the servers.

8 min read

Testing the Router with a Small Eval

A 21-case eval for a small-model router: how it works, what a 100% score does and does not prove, and a sanity check that shows it can fail.

10 min read

Routing: One Agent per Tool Group

Add a router node and one agent per tool group in LangGraph so a 7B model sees only the tools it needs. Covers conditional edges and what still goes wrong.

10 min read

Why Your Small Model Picks the Wrong Tool

A 7B model with many tools invents dates, miscounts and misreports errors. What I cut, what the system prompt says line by line, and what stayed broken.

10 min read

The Identity Layer Is the Whole Game

Four measurement providers reported 7.4M to 19.2M households for the same campaign. Warner Bros. Discovery's Unified Reach Paradox shows identity resolution...

7 min read

AI and Job Risks in London

A fifth of London's jobs face significant AI exposure according to a Greater London Authority report by economist Jeff Dwan-O'Reilly. The numbers deserve...

4 min read

Key Concepts & Glossary

Quick-reference guide to all major technologies and concepts on the CCA exam: Agent SDK, MCP, Claude Code, Claude API, Message Batches API, JSON Schema, and...

11 min read

Hands-On Preparation Exercises

Four hands-on labs mapping to CCA exam domains: build a multi-tool agent, configure Claude Code for a team, implement a structured extraction pipeline, and...

13 min read

Sample Questions & Distractor Analysis

12 worked exam questions with full distractor analysis. Each question covers a realistic production scenario with correct answer explanation and analysis of...

15 min read

Scenario: Structured Data Extraction

Build a reliable data extraction pipeline with JSON schema design, validation-retry loops, few-shot examples for varied document formats, and...

4 min read

Scenario: Multi-Agent Research System

Design a coordinator-subagent research pipeline with parallel execution, structured output, error propagation, and provenance tracking across sources.

4 min read

Scenario: Code Generation with Claude Code

Using Claude Code for code generation workflows: plan mode for complex refactors, CLAUDE.md hierarchies, and slash commands for team automation.

3 min read

Scenario: Customer Support Resolution Agent

Build a customer support agent with get_customer, lookup_order, process_refund, and escalate_to_human tools. Covers prerequisite gates, escalation criteria,...

3 min read

Domain 2: Tool Design & MCP Integration (18%)

Designing effective tool interfaces, structured error responses, tool distribution across agents, MCP server configuration, and built-in Claude Code tools.

9 min read

Study Dashboard & Exam Overview

Your starting point for the CCA Foundations exam: domain weights, scenario overview, study strategy, and progress tracker.

3 min read

Have a project in mind, or a question about something here?