Skip to content

Quick start

The demo brings up a complete cluster on your laptop and walks through every guardrail. It brings its own mock model provider and MCP server, so you don’t need any API keys.

What you need

  • Docker, kind, kubectl, helm and git.

Bring up the demo

Terminal window
git clone https://github.com/simplyzee/leash
cd leash
./hack/demo/up.sh

up.sh creates a kind cluster with Cilium and Vault, builds and installs Leash, and deploys a leashed demo agent. To install with the Helm chart instead of kustomize, run it as INSTALL=helm ./hack/demo/up.sh.

Walk through the guardrails

Terminal window
./hack/demo/run.sh

run.sh tries each guardrail from inside the agent pod and checks the result:

  • egress to an unlisted host is blocked
  • only allowed models can be called, and the token budget is enforced
  • a denied MCP tool is refused, and a held one waits for an approval, given here as a signed Slack click
  • the kill switch cuts the agent off, disables its Vault identity, and can scale it to zero
  • every call lands in the audit trail, and leaks are flagged

CI runs the same script as its end-to-end test on every pull request.

Clean up

Terminal window
./hack/demo/down.sh

Next

Ready for a real cluster? Install Leash, then leash your first agent.