# 5.2 AI Agents & Autonomous Execution (The Leash Protocol)

We are entering the age of Autonomous Finance. AI Agents will soon manage portfolios. However, the current security model—giving an AI your private key—is catastrophic.

Accessth introduces "The Leash."

The Leash is a scoped Permission Set. A user can generate a sub-permission derived from their master identity.

Example Configuration of a Leash:

* Grantee: Agent\_GPT\_Trading\_Bot
* Asset Limit: 5 ETH
* Strategy Whitelist: Only interaction with Curve and Aave allowed.
* Time Limit: 24 Hours.
* Kill Switch: User can revoke permission instantly via a master signature.

This allows users to employ AI labor without employing custodial risk. The AI never holds the funds; it only holds a revocable right to direct them within strict boundaries.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.accessth.xyz/part-5/5.2-ai-agents-and-autonomous-execution-the-leash-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
