You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[42,000 live credentials leaked](https://www.wired.com/story/ai-agent-credential-leaks/) from AI agent workflows. The community's response? Buy a separate Mac Mini. **declawed replaces the Mac Mini** — software governance instead of hardware isolation.
23
+
[42,000 live credentials leaked](https://www.wired.com/story/ai-agent-credential-leaks/) from AI agent workflows. The community's response? Buy a separate Mac Mini. **leashed replaces the Mac Mini** — software governance instead of hardware isolation.
24
24
25
25
## Quick Start
26
26
@@ -29,12 +29,12 @@ You need an [AnchorBrowser](https://anchorbrowser.io) API key: `export ANCHOR_AP
29
29
### 1. Install
30
30
31
31
```bash
32
-
npm install declawed
32
+
npm install leashed
33
33
```
34
34
35
35
### 2. Write a policy
36
36
37
-
Create `shield.yaml`:
37
+
Create `leash.yaml`:
38
38
39
39
```yaml
40
40
agent: my-openclaw-sales-bot
@@ -57,28 +57,28 @@ max_actions: 50
57
57
### 3. Wrap your agent
58
58
59
59
```typescript
60
-
import { createShield } from 'declawed'
60
+
import { createLeash } from 'leashed'
61
61
62
-
const shield = createShield('./shield.yaml')
62
+
const leash = createLeash('./leash.yaml')
63
63
64
-
const result = await shield.task('check linkedin inbox')
64
+
const result = await leash.task('check linkedin inbox')
65
65
// → { allowed: true, output: '...' }
66
66
67
-
const result2 = await shield.task('export all contacts to CSV')
67
+
const result2 = await leash.task('export all contacts to CSV')
That's it. Every `shield.task()` call is policy-checked, audited, and budgeted.
71
+
That's it. Every `leash.task()` call is policy-checked, audited, and budgeted.
72
72
73
73
## Common Use Cases
74
74
75
-
People give agents their passwords every day. Here's what they're afraid of — and how `declawed` fixes it.
75
+
People give agents their passwords every day. Here's what they're afraid of — and how `leashed` fixes it.
76
76
77
77
### 1. LinkedIn Sales Agent (OpenClaw)
78
78
79
79
**The fear:** Your bot has your LinkedIn password. It's supposed to read your inbox and check messages. But what if it starts mass-connecting, exporting contacts, or changing your profile?
**The fear:** Your assistant has your Gmail. It reads your calendar and summarizes emails. But what if it deletes messages, forwards sensitive emails externally, or changes your billing settings?
107
107
108
-
**With declawed:**
108
+
**With leashed:**
109
109
110
110
```yaml
111
111
agent: daily-briefing
@@ -132,7 +132,7 @@ Read calendar, list emails, summarize threads — allowed. Delete, forward, chan
132
132
133
133
**The fear:** Your bot updates Salesforce records from your email threads. But what if it bulk-deletes contacts, exports your pipeline, or modifies deal values?
Think of a crane operator. The brain decides what to move — but the joystick decides how far the arm can reach. **declawed is the joystick between the AI agent and your accounts.**
162
+
Think of a crane operator. The brain decides what to move — but the joystick decides how far the arm can reach. **leashed is the joystick between the AI agent and your accounts.**
163
163
164
-
### Without declawed
164
+
### Without leashed
165
165
166
166
```mermaid
167
167
flowchart LR
@@ -176,12 +176,12 @@ flowchart LR
176
176
177
177
> **The agent IS you.** Full access. No limits. No off switch.
178
178
179
-
### With declawed
179
+
### With leashed
180
180
181
181
```mermaid
182
182
flowchart LR
183
183
A["🤖 AI Agent<br/><i>the brain</i>"]
184
-
S["🛡️ declawed<br/><i>the joystick</i>"]
184
+
S["🛡️ leashed<br/><i>the joystick</i>"]
185
185
B["📧 Your Accounts<br/><i>LinkedIn, Gmail, CRM</i>"]
186
186
187
187
A -- "requests action" --> S
@@ -200,7 +200,7 @@ flowchart LR
200
200
| ❌ delete data | ❌ export contacts |
201
201
| ⏱️ 60 min limit | 🔢 50 actions max |
202
202
203
-
> *A crane operator doesn't carry the steel himself. He moves joysticks that control arms — limited to a work zone, every movement tracked, with an emergency stop within reach. That's what declawed does for AI agents.*
203
+
> *A crane operator doesn't carry the steel himself. He moves joysticks that control arms — limited to a work zone, every movement tracked, with an emergency stop within reach. That's what leashed does for AI agents.*
[Full API reference & policy examples →](./docs/API.md)
220
220
221
221
## Empowered by AnchorBrowser
222
222
223
-
declawed runs on [AnchorBrowser](https://anchorbrowser.io) — ephemeral, hardened cloud browser sessions purpose-built for AI agents. Each session is isolated, auto-expires, and leaves no trace. [Cloudflare](https://cloudflare.com) verified bot partner. SOC2 Type 2 and ISO27001 certified. Trusted by [Google](https://google.com), [Coinbase](https://coinbase.com), and [Composio](https://composio.dev). Stealth proxies, CAPTCHA solving, anti-fingerprinting, and full session isolation out of the box.
223
+
leashed runs on [AnchorBrowser](https://anchorbrowser.io) — ephemeral, hardened cloud browser sessions purpose-built for AI agents. Each session is isolated, auto-expires, and leaves no trace. [Cloudflare](https://cloudflare.com) verified bot partner. SOC2 Type 2 and ISO27001 certified. Trusted by [Google](https://google.com), [Coinbase](https://coinbase.com), and [Composio](https://composio.dev). Stealth proxies, CAPTCHA solving, anti-fingerprinting, and full session isolation out of the box.
224
224
225
-
AnchorBrowser handles the browser. declawed handles the rules.
225
+
AnchorBrowser handles the browser. leashed handles the rules.
226
226
227
227
[Get an API key →](https://anchorbrowser.io)
228
228
229
229
## Why This Exists
230
230
231
-
AI agents are getting credential access with zero governance — 42,000 live credentials exposed, and the best workaround is buying separate hardware. `declawed` gives agents what they should have had from the start: **a policy file, an audit log, and a kill switch.**
231
+
[Behalf](https://behalf-gray.vercel.app) already powers safe delegation for humans — scoped sessions, audit trails, and instant revocation for people who delegate work through their accounts. We built the trust infrastructure, battle-tested it, and realized: **agents need the exact same thing.**
232
232
233
-
Built by [Behalf](https://behalf-gray.vercel.app) — delegation governance for the agent era.
233
+
42,000 live credentials leaked from AI agent workflows. The community's best workaround is buying a separate Mac Mini. That's not security — that's surrender.
234
+
235
+
So we open-sourced the engine. `leashed` gives agents what they should have had from the start: **a policy file, an audit log, and a kill switch.** The same trust model that protects human delegation — now available for every agent operator.
0 commit comments