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,helmandgit.
Bring up the demo
git clone https://github.com/simplyzee/leashcd leash./hack/demo/up.shup.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
./hack/demo/run.shrun.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
./hack/demo/down.shNext
Ready for a real cluster? Install Leash, then leash your first agent.