Skip to content
Developers · Your AI, at its best

Make your existing AI extraordinary.

SafeShake is a drop-in adaptive harness for the tools and models you already use, built on a patent-pending delegated-authority engine. In Claude Code it runs on your Claude, sets up each job and helps it go further, while the engine checks every action through its tools against limits only you can sign.

SafeShake for Claude Code · one commandDeveloper preview
pipx run safeshake init Illustrative command · preview members get the real one
Wrapping your own agent? See the SDK →
002The first run
002Illustrative · one session, install to receipt

One command.Then this.

You keep working the way you do today: ask Claude Code for the job. SafeShake sets it up, checks every action through its tools, points out better ways to work and keeps the record. It only stops at lines you've signed.

003The token burn
003Illustrative · one night, played twice

One retry loop. One long night.

Illustrative. At 03:02 an agent hits an error and starts retrying. Nobody is awake. Scroll to watch the same night twice: once with nothing holding it, once inside a $50 envelope.

Without SafeShake{{clock}}
{{costA}}
{{tokA}} tokens{{callA}} calls
{{noteA}}
Stopped by the envelope
With SafeShake{{clock}}
{{costB}}
{{tokB}} tokens{{callB}} calls
{{noteB}}
004Not a rule pack
004Why it's different

More thana rule pack.

Most guardrail rule packs check one call at a time, and their rules live wherever the config does. SafeShake gives you three things they don't.

01 / One envelope

One set of limits, signed by you.

Budget, scope and what's off-limits live in one envelope you sign. Nothing widens without your signature. The engine that checks it sits outside the model, so it can't be talked round.

Rule packsRules spread across prompts, hooks and config files
02 / Limits that add up

Ten sessions. One budget.

Spend and counts are cumulative, across sessions and across agents running in parallel. Open ten Claude Code windows and they share one budget, not ten.

Rule packsEach call judged on its own, one session at a time
03 / A record anyone can verify

Proof, not just logs.

Every decision is hash-chained and signed. Anyone with your public key can check the record offline, without us. Any edit shows: the record is tamper-evident.

Rule packsLogs you have to take on trust
Measured · the overspend attack

50 agent processes. One budget. Never exceeded.

50 operating-system processes raced for one envelope with a budget of GBP 2,000, asking for about 25 times that between them. Committed spend never went over it.

1.7 msp50 decision · 4 agents
28.4 msp50 decision · 50 agents
763Automated tests passing
Engine v5.10 · recorded 2 Nov 2026 · one Apple M1 Pro · a single machine, not a clusterHow the engine works →
005Use cases
005What people build

Give agents real jobs.Keep the limits real too.

[01] Coding agentsClaude Code

Ship code, not surprises

Work freely in the repo and the tests. main, production and your secrets stay off-limits.

[02] Model spendClaude Code

Cap the bill, not the work

A daily budget that holds across every session, including the one you forgot was running.

[03] Parallel agentsClaude Code

Many agents, one budget

Run sessions side by side. They draw on one set of limits, so the total holds.

[04] ResearchSDK

Paid APIs, on a budget

Search, data and scraping tools with a spend ceiling and a cap on any single call.

[05] SupportSDK

Refunds under a limit

Agents settle small claims on their own. Every one is on the record.

[06] ProcurementSDK

Pay known suppliers only

New payees are refused until you add them and sign again. Known suppliers stay within your limits.

Claude Code first. Your own Python agents through the SDK. Tell us what you build on →

006The SDK
006Second route · agents you build

Your own agent?Wrap it in Python.

Private preview

The same engine, for agents you build yourself. Python today. Names and syntax may change. No wallets, no keys handed to the agent, no rewrite.

[01] Install

Add the package

# Python · private preview pip install safeshake
[02] Sign

Sign the limits yourself

# you run this, not the agent safeshake mint --resource tokens \ --budget 200000 \ --per-action-max 8000 \ --expires-in 7d ✓ envelope.json · signed by you
[03] Wrap

Wrap the client and the tools

from safeshake import wrap, governed client = wrap(my_client, envelope="envelope.json") @governed(estimate=2400) def search_docs(query): ... # checked before it runs, then recorded

A no raises Denied, with a reason your code can branch on. The SDK never retries it for you: retrying a no is how a loop becomes a bill.

Ask for the SDK preview
Illustrative syntax from the preview
007Community
007Build it with us

Come andbreak things with us.

Coming soon
Discord

Ask, share and get help from the people building it.

Coming soon
GitHub

The SDK, examples and the offline verifier.

Coming soon
Docs

Guides, the envelope reference and the SDK.

Hackathon · Break the Envelope →