Concepts#

How kevin works, and why it works that way. These pages help you predict kevin’s behavior, debug an environment, or write a plugin. For task steps, see Guides.

Architecture
A map of kevin's parts and how they connect.
Scopes and providers
The two scopes of steps, the provider model, and where a plugin comes from.
Cross-step values
How a step reads another step's outputs, across scopes, and what happens when a plugin crashes.
DAG engine
How kevin orders, runs, and removes a graph of steps.
Proxy
TLS termination, routing, and egress control, and why the proxy runs on the host.
Console
How the console renders and streams updates with templ, htmx, and SSE.
MCP server
The MCP tools kevin gives a coding agent, and why they use the console's address.
Certificate authority
The root and project CAs, and how kevin manages the trust store.
Container engine
Why kevin runs the engine's command instead of using an SDK, docker and podman, and how labels replace a state file.
Relay
The relay container: name resolution, traffic capture, tunnels into the network, fault injection, and its limits.
Plugin trust
How kevin decides whether to run a plugin package: checksums, signatures, trust stores, and indexes.