How it works · Documentation

How AI automation actually works.

Plain-English guides to the systems I build: what’s inside a workflow, how agents and retrieval work, how AI connects to your tools, how it’s kept safe, and how a project runs. Every guide has a live demo you can play with.

6 guides6 interactive demos18 min total17 glossary terms
The guides

Start anywhere. They build on each other.

  1. 01Anatomy of an automation
  2. 02How AI agents work
  3. 03RAG: answering from your documents
  4. 04MCP: connecting AI to tools
  5. 05Guardrails, review and evals
  6. 06How a project runs
01

Start here3 min

Anatomy of an automation

The seven parts every production workflow needs, and one lead traced through all of them.

  • In one sentence
  • Watch the data change
  • The seven parts
  • AI is a step, not the system
Payload inspectorRead the guide
02

Core concept3 min

How AI agents work

A model in a loop with tools: planning, tool calls, context, stop conditions, and when not to use one.

  • What an agent is
  • Step through a run
  • Tools are the whole game
  • Context and memory
Agent loop stepperRead the guide
03

Core concept3 min

RAG: how AI answers from your documents

Chunking, embeddings, retrieval and citations, with a retrieval demo you can tune.

  • The problem RAG solves
  • Try the retrieval step
  • Chunking decides quality
  • Embeddings in plain English
Live retrievalRead the guide
04

Deep dive3 min

MCP: how AI connects to your tools

Hosts, clients and servers; tools, resources and prompts; and the JSON-RPC messages in between.

  • What MCP is
  • Three roles
  • See the messages
  • Why it matters for a business
Message sequenceRead the guide
05

Production3 min

Guardrails, human review and evals

How to let AI act on its own safely: thresholds, approval gates, audit logs and testing.

  • Why guardrails
  • Set the threshold
  • Layers of protection
  • Human in the loop, done well
Threshold simulatorRead the guide
06

Working together3 min

How a project runs, from call to handover

The audit, build and handover process, what you get at each step, and how success is measured.

  • How a project runs
  • What you get at each step
  • How success is measured
  • Common questions
Phase explorerRead the guide
Glossary

The words, in one line each.

Agent
A model running in a loop that can call tools until a goal is met. Guide
Chunk
A piece of a document small enough to retrieve and put in a prompt. Guide
Confidence threshold
The score above which an AI decision is acted on without a person. Guide
Context window
Everything the model can see in one call: instructions, history, documents. Guide
Dead-letter queue
Where failed runs land so a person can review and replay them. Guide
Embedding
Text turned into numbers so similar meanings sit close together. Guide
Eval
A test case for AI behaviour, scored automatically after every change. Guide
Human in the loop
A person approves or corrects the AI at defined points. Guide
Idempotency
Running the same event twice has the same effect as running it once. Guide
JSON-RPC
The simple request/response message format MCP uses. Guide
MCP server
A program that exposes a system’s tools and data to AI apps through MCP. Guide
RAG
Retrieval-augmented generation: find relevant passages first, then answer from them. Guide
Rerank
A second pass that re-orders search results by relevance. Guide
Schema
A strict shape for data, so outputs can be checked automatically. Guide
Tool call
A model’s request to run a named function with arguments. Guide
Trigger
The event that starts a workflow: a webhook, a schedule, a new row. Guide
Webhook
A URL another app calls the moment something happens. Guide

Reading is good. Seeing it on your process is better.

Tell me about the work that eats your team’s week and I’ll show you what it would look like automated.