The layers
Model, framework, runtime, control plane
It helps to separate four layers. The model generates text and tool calls. A framework, like LangGraph or CrewAI, is code you use to build an agent. A runtime or harness, like Claude Code, Codex or Gemini CLI, is the program that runs an agent loop with tools on a machine. The control plane sits above all of them and governs the work: which agent owns which task, what it is allowed to do, and what has to wait for a person.
- Model: generates the next step
- Framework: code for building agents
- Runtime: runs the agent loop and tools
- Control plane: owns, limits and records the work