Skip to content
BLACKLAKE
Docs▾ docs nav

Capture path · shell

Shell wrapper (blx)

`blx <command...>` — gate any shell command on a governed decision before running. The capture path for terminal-driven AI agents.

`blx` is the shell wrapper that lets a CLI agent (or a human) gate any command on a BlackLake policy decision before executing. Define an agent, bind it to a tool that represents the command class, then prefix invocations with `blx`. Denied calls don't run; approval-required calls block until a human decides; allow calls run with the decision token captured. Useful for: deploy commands, cloud-CLI invocations, anything where the policy says "ask first".