leash

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Command leash is a self-contained, runnable demonstration of the consumer "kill-switch" use case: give your personal AI agent real spending power for a short window with HARD offline limits, then yank it — and have even the token the agent ALREADY holds die at the merchant within seconds, via a signed revocation feed the merchant polls (no callback to Legant). A prompt injection physically cannot make it break the rules, because the limits live in the signed delegation and are enforced at the MERCHANT, offline.

No database, no Docker:

go run ./examples/leash
# or
make demo-leash

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL