protologue

Agents & Orchestration

Patterns for composing multiple model calls, tools, and memory into workflows and autonomous agents.

Definitions

Agent Memory
Agent memory is the set of mechanisms that let a language-model agent store information beyond a single context window, such as conversation summaries, retrievable records of past events, and reflections, and bring the relevant parts back into context later.
Agent Skills
Agent skills are packaged folders of instructions, scripts, and reference files, each anchored by a SKILL.md file with a name and description, that an agent loads only when a task calls for them.
Agent2Agent Protocol
The Agent2Agent (A2A) protocol is an open specification that lets AI agents built by different vendors and frameworks discover each other's capabilities, delegate tasks, and exchange results.
Agentic Engineering
Agentic engineering is the practice of developing software with the assistance of coding agents, with the developer reviewing the agent's code and bringing it up to the standard expected of production software.
Agentic Workflow
An agentic workflow is a system in which language models and tools are orchestrated through predefined code paths, as opposed to an agent that chooses its own steps.
AI Agent
An AI agent is a system in which a language model dynamically directs its own process and tool use in a loop, deciding what actions to take based on environment feedback until a task is complete.
Auto Mode
Auto mode, also called auto-review, is a permission setting for coding agents in which a separate model, instead of the user, decides whether each potentially risky action the agent proposes may run, so that the agent can work for long stretches without stopping for human approval.
Coding Agent
A coding agent is an AI agent that works in a software repository by reading files, editing code, running commands and tests, and iterating on the results to complete programming tasks.
Computer-Use Agent
A computer-use agent operates a graphical computer interface the way a person does, by looking at screenshots and issuing mouse clicks, keystrokes, and scrolls, so it can work with software that has no API.
Context Compaction
Context compaction is summarizing an agent's or conversation's history when it nears the context limit and continuing with the summary in place of the full history, so that long tasks can run beyond one context window.
Context Engineering
Context engineering is the practice of curating the full set of tokens a model sees at each step, including instructions, tools, retrieved data, memory, and conversation history, to maximize the chance of the desired behavior within a limited attention budget.
Dark Factory
A dark factory, or software factory, is a way of building software in which AI coding agents write, test and ship code from specifications and test scenarios with no human writing or reviewing the code, while people design the specifications, validation and environment the agents work in.
Dreaming
Dreaming is an offline, asynchronous process in which a model reviews an agent's past session transcripts together with its stored memories, then merges duplicates, replaces stale or contradicted entries and records new insights, producing a curated memory for later sessions.
Evaluator-Optimizer
Evaluator-optimizer is a workflow loop in which one model call generates a response and another evaluates it against criteria and provides feedback, repeating until the output passes.
Generative Agents
Generative agents are software agents built on a language model that simulate believable human behavior by recording their experiences in natural language, periodically condensing them into higher-level reflections, and retrieving relevant memories to plan and act.
Handoff
A handoff is the transfer of an ongoing task or conversation from one agent to another that specializes in it, typically implemented as a tool the first agent can call to delegate control.
Harness Engineering
Harness engineering is the design of the software around a language model that turns it into an agent, including the agent loop, tools, context management, permissions and safety controls, and feedback mechanisms such as tests and linters.
Human-in-the-Loop
Human-in-the-loop is a design in which an AI system pauses at defined checkpoints for a person to approve, correct, or supply information before it continues, especially before consequential or irreversible actions.
Meta-Prompting
Meta-prompting uses a single model as a conductor that breaks a task down and writes prompts for fresh instances of itself acting as specialized experts, then integrates their outputs.
Multi-Agent System
A multi-agent system is an application in which several LLM-based agents, each with its own role, instructions, tools, or context, interact by messaging, delegating, or debating to accomplish a task.
Orchestrator-Workers
Orchestrator-workers is a pattern in which a central model dynamically breaks a task into subtasks, delegates them to worker model calls or subagents, and synthesizes their results.
Parallelization
Parallelization is a workflow pattern that runs several model calls simultaneously and aggregates their outputs, either by splitting a task into independent sections or by running the same task several times and voting.
Plan-and-Execute
Plan-and-execute is an agent design in which a planner model first writes a complete multi-step plan and executor calls then carry out the steps, rather than deciding one action at a time after every observation as in ReAct.
Prompt Chaining
Prompt chaining decomposes a task into a fixed sequence of model calls, where each call processes the output of the previous one, often with programmatic checks between steps.
Routing
Routing is a workflow pattern that classifies an incoming request and directs it to a specialized prompt, tool, or model suited to that category.
Spec-Driven Development
Spec-driven development is an approach to building software with AI coding agents in which a written specification of what the software should do, and why, is created and refined first, and the agent then derives a technical plan, a task list and the code from it, with the specification kept as the source of truth.
Vibe Coding
Vibe coding is building software by describing what you want to an AI model in natural language and accepting the code it generates, largely without reading or understanding that code.