A Swiss-Army knife DevOps Agent that runs in your terminal.
Designed for the grittiest parts of software development: DevOps work. It has everything you'd expect from a Coding Agent powered by Claude 4, except that it's exceptionally good at writing Terraform code, building containers, and analysing the security of your cloud account (and much more!)
Warning This CLI tool is under heavy development, and breaking changes should be expected. Use with caution 🚧
brew tap stakpak/stakpak
brew install stakpakTo update it you can use
brew update
brew upgrade stakpakDownload the latest binary for your platform from our GitHub Releases.
This image includes the most popular CLI tools the agent might need for everyday DevOps tasks like docker, kubectl, aws cli, gcloud, azure cli, and more.
docker pull ghcr.io/stakpak/agent:latest-
Visit stakpak.dev
-
Click "Login" in the top right
-
Click "Create API Key" in the account menu
export STAKPAK_API_KEY=<mykey>stakpak login --api-key $STAKPAK_API_KEYstakpak accountstakpak
# Resume execution from a checkpoint
stakpak -c <checkpoint-id>docker run -it --entrypoint stakpak ghcr.io/stakpak/agent:latest
# for containerization tasks (you need to mount the Docker socket)
docker run -it \
-v "/var/run/docker.sock":"/var/run/docker.sock" \
-v "{your app path}":"/agent/" \
--entrypoint stakpak ghcr.io/stakpak/agent:latest- Use
Arrow keysor Tab to select options - Press
Escto exit the prompt ?for Shortcuts/for commands↵to send messageShift + EnterorCtrl + Jto insert newlineCtrl + Cto quit
Stakpak can run as an Model Context Protocol (MCP) server, providing secure and controlled access to system operations through different tool modes:
- Local Mode (
--tool-mode local) - File operations and command execution only (no API key required) - Remote Mode (
--tool-mode remote) - AI-powered code generation and search tools (API key required) - Combined Mode (
--tool-mode combined) - Both local and remote tools (default, API key required)
The local MCP tools provide enhanced security for working with sensitive data:
- Secure Secret Handling: LLMs can read, write, and compare plain text secrets without seeing the actual secret values
- No External Dependencies: Local tools work offline without requiring API keys or internet access
# Local tools only (no API key required)
stakpak mcp --tool-mode local
# Remote tools only (AI tools optimized for DevOps)
stakpak mcp --tool-mode remote
# Combined mode (default - all tools)
stakpak mcpIf our Agent saves you time or makes your DevOps life easier,
consider giving us a star on GitHub — it really helps!

