Skip to content
§ REFERENCETech notes

The concepts behind the systems we build

Start with the problem in front of you — then get the concept, the scenario and the example that makes it real.

Short, spec-style notes on models, agents, retrieval, protocols, production and evaluation — the reference material our engineers use, written for readers who want the detail.

§ HOW TO READBuilt for real work

Every note follows the same path: concept → use case → scenario → example → checklist.

Key concepts

The vocabulary you need before a design conversation.

Use cases & scenarios

Where it fits, what breaks and what changes.

Copyable examples

Config and code shaped like real systems.

Checklist & config

The decisions to settle before go-live.

§ 01Models & foundations

Tokens, embeddings, model choice and the fundamental trade-offs behind every AI system.

§ 02Agents & agentic AI

Agent loops, reasoning patterns, frameworks, orchestration and the control layer around them.

01 7 min
ORIGINAL DIAGRAM · AGENT LOOPPLANnext stepTOOL CALLtyped inputOBSERVEresultVERIFYcheckGOALinstruction

Original agent diagram

Agent anatomy: loop, planner, tools and memory

The minimal system behind an AI agent: a goal, a reasoning loop, tool access, state and a stop condition.

Read spec
02 7 min
ORIGINAL DIAGRAM · AGENT LOOPPLANnext stepTOOL CALLtyped inputOBSERVEresultVERIFYcheckGOALinstruction

Original agent diagram

Agentic patterns: ReAct, plan-and-execute, reflection

Three reusable reasoning patterns and how to choose between them for real workloads.

Read spec
03 6 min
ORIGINAL DIAGRAM · SERVICE TOPOLOGYGATEWAYSERVICE 1own dataDB 1SERVICE 2own dataDB 2SERVICE 3own dataDB 3EVENT BUS / ASYNC MESSAGES

Original services diagram

Multi-agent orchestration patterns

When to split work across agents, how they hand off, and how to avoid coordination overhead.

Read spec
04 8 min
ORIGINAL DIAGRAM · AI STACKAPPLICATIONinterface + workflowsPOLICY & EVALUATIONguardrails, auditsAGENT + TOOLSplanning, tool callsFOUNDATION MODELreasoning

Original stack diagram

Agent frameworks compared

LangGraph, CrewAI, AutoGen and MCP-based composition — what each optimises for and where it fits.

Read spec
05 7 min
ORIGINAL DIAGRAM · AGENT LOOPPLANnext stepTOOL CALLtyped inputOBSERVEresultVERIFYcheckGOALinstruction

Original agent diagram

Agent guardrails and human-in-the-loop

Permissions, validation and approval gates that keep autonomous systems inside safe boundaries.

Read spec
06 8 min
ORIGINAL DIAGRAM · AI STACKAPPLICATIONinterface + workflowsPOLICY & EVALUATIONguardrails, auditsAGENT + TOOLSplanning, tool callsFOUNDATION MODELreasoning

Original stack diagram

MCP: tools, resources and prompts

The Model Context Protocol in reference form: host, client, server, capabilities and trust boundaries.

Read spec
§ 03RAG & knowledge

Retrieval pipelines, chunking, hybrid search, reranking and how to measure answer quality.

§ 04Context & protocols

MCP, tool contracts and context engineering — how models get the right information and actions.

§ 05Data streaming & event platforms

Event streaming, Apache Kafka, real-time pipelines and event-driven architectures.

§ 06Inference & production

Serving patterns, caching, cost and latency governance for real traffic.

§ 07Evaluation & safety

Golden sets, LLM-as-judge, tracing, replay and the gates that keep changes safe.

§ LIBRARYVisual resource library

Diagrams, guides and notebooks

Browse our locally indexed shelf of AI, data and architecture resources — filterable by topic and format.

Open Tech Docs Library