Haldir / Quickstart

Governed agent in 60 seconds

One click. One script. Real governance on a real agent.

Step 1 — Get your API key

Click the button. That's it.

No signup. No email. Just a key.

Step 2 — Install

Two commands.

python3 -m venv haldir-env && source haldir-env/bin/activate
pip install haldir httpx

The copy button chains both commands so you can paste and run in one go.

Step 3 — Run this script

Copy, paste, run. Watch governance happen.

This script creates a session, checks permissions, stores a secret, authorizes a payment, logs to the audit trail, verifies the hash chain, and revokes the session. All live against haldir.xyz.

What just happened

Your agent was governed.

Every action was scoped to a session with permissions and a spend limit. The secret was AES-256-GCM encrypted. The payment was authorized against the session budget. Every action was logged to a hash-chained, tamper-evident audit trail. And when you revoked the session, the agent lost all access instantly.

That's Haldir. Read the full docs or view the source.

Full API docs at haldir.xyz/docs · Blog · GitHub