# caffeine > caffeine is an agent factory for the terminal. A pipeline is a YAML list of steps, shell scripts and AI agents, that caffeine runs on git repos, local folders or a scratch folder. Every step can be checked by a command you write, and the work comes out as files, a diff or a pull request. It ships as a single binary, written in Rust. Key ideas: - Scripts first, agents only where judgment is needed. A `run:` step costs nothing. - Checks decide, not the model: `verify:` commands, a guard on protected paths (`.env`, CI, keys), and `review:` steps by a second model that can `fix:` what they find. - Any model: pipelines name a role (`cheap`, `smart`, `local`) that your config maps to Claude Code, any OpenAI-compatible API (OpenAI, Ollama, vLLM, OpenRouter) or any agent CLI. - Sandboxes and network limits: podman, docker, bubblewrap or a Kubernetes pod; `network: none` or named host lists. - Runs alone and asks only for decisions: schedules, gates that skip empty runs, a budget cap, and an inbox where proposed actions and pull requests wait for `caffeine approve`. - Real control flow: `if:`, `loop:` / `until:`, `parallel:`, `foreach:`, model ladders, reusable steps (`uses:`), caches between runs, `skills:`. - Drivable from any MCP client with `caffeine mcp`; installable pipeline packs with `caffeine pack add`. Install: the `getcaffeine` package (amd64 and arm64) from the apt and rpm repositories at https://pkg.getcaffeine.dev, for Debian/Ubuntu (apt), Fedora/RHEL/Rocky/Alma (dnf) and openSUSE (zypper). macOS is coming soon. Then `caffeine doctor`, `caffeine init`, `caffeine run hello`. ## Docs - [Documentation](https://doc.getcaffeine.dev): getting started, configuration, pipelines, runners, safety, command reference, automation, inbox, packs, MCP server, runs and state. ## Packages - [Package repositories](https://pkg.getcaffeine.dev): apt and rpm setup, versions, checksums and signing key. ## Site - [Home](https://getcaffeine.dev/): overview, example pipelines, how it works, who builds it. - [Safety](https://getcaffeine.dev/safety): the guard, tool allowlist, sandboxes, network limits, deterministic checks, review, trust model, and what caffeine does not protect. - [Pipelines](https://getcaffeine.dev/pipelines): example pipelines, each with its steps and full YAML file: [maintenance-rust](https://getcaffeine.dev/pipelines/maintenance-rust), [site-care](https://getcaffeine.dev/pipelines/site-care), [techdoc](https://getcaffeine.dev/pipelines/techdoc), [mail-triage](https://getcaffeine.dev/pipelines/mail-triage). - [Compare](https://getcaffeine.dev/compare): caffeine next to scripts and cron, CI workflows and agent frameworks. - [Changelog](https://getcaffeine.dev/changelog): what changed in each release. ## Optional - [Alice Snow (@Sn0wAlice)](https://github.com/Sn0wAlice): co-owner. - [Maxime (@batleforc)](https://github.com/batleforc): co-owner.