# ironrun > A local-first encrypted workspace for your secrets and your AI coding agents. > Secrets live in an AES-256-GCM vault (or federate to 1Password, Vault, Doppler, > or Infisical). Agents get human-approved, time-boxed leases; commands run sealed > so secret values never enter the agent's context, and any secret in output is > redacted. Open source, MIT licensed, by Generalized Labs. ## What it is - A single-binary CLI, a terminal UI (TUI), a background daemon, and a native MCP (Model Context Protocol) server. - Category: encrypted environment workspace / sealed execution for humans and AI agents. - Secrets live in a local AES-256-GCM encrypted vault, organized into named environment sets (dev, staging, prod). You can also federate to 1Password, Vault, Doppler, Infisical, or a local envfile. Values are pulled at exec time, injected BELOW the agent, never written to disk, and never shown to the model. - Agents ask for access; a human approves a time-boxed, command-scoped lease that auto-expires and can be revoked immediately. Nothing runs until a human approves. - Defense in depth, not a guarantee: it composes with scoped tokens, read-only DB users, and sandboxed agents. ## The inner mechanism (three gates) 1. Vault - secrets stay encrypted at rest until exec time; never written to disk. 2. Execute - runs the named command with a clean environment and no shell. 3. Redact - every byte of output is pattern-matched (including base64, hex, and URL-encoded variants); secrets are replaced with [REDACTED] before the agent sees them. ## Eight-layer security model Encrypted vault (AES-256-GCM at rest), scoped human-approved leases, shell denial, environment sanitization, binary allowlist, rolling redactor, TTL enforcement, and a value-blind hash-chained audit log. Each layer independently blocks exfiltration; ironrun assumes the agent is compromised. ## MCP tools (12) list_commands, run_sealed, workspace_status, request_workspace_access, validate_policy, propose_command, list_environments, request_secret, request_lease, lease_status, revoke_own_lease, claim_capsule. Human approval of a request resumes the waiting agent call with no IDE, restart, or retry. ## Works with Claude Code, Cursor, OpenAI Codex, Windsurf, any MCP client, and GitHub Actions. Platforms: macOS and Linux (arm64 and amd64); Windows is available as a beta download. One policy file: ironrun.yml (version 2). ## Install - curl: curl -fsSL https://ironrun.dev/install.sh | bash (checksum-verified) - go install github.com/generalized-labs/ironrun/cmd/ironrun@latest - Then run `ironrun init` to create an encrypted environment and write the policy, MCP config, and agent instructions. ## Links - Site: https://ironrun.dev/ - Source (GitHub): https://github.com/generalized-labs/ironrun - License: MIT (https://github.com/generalized-labs/ironrun/blob/main/LICENSE) - Security policy: https://github.com/generalized-labs/ironrun/blob/main/SECURITY.md