> For the complete documentation index, see [llms.txt](https://docs.sail.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sail.money/protocol/guides.md).

# Guides

Hands-on walkthroughs, each grounded in the real on-chain signatures. Follow them in order for an end-to-end path from nothing to a running, bounded agent — or jump to the one you need.

1. [Write your first permission](/protocol/guides/write-a-permission.md) — a minimal `IPermission`, line by line.
2. [Deploy an SMA](/protocol/guides/deploy-an-sma.md) — create a Safe with the kernel enabled, and derive its deterministic address.
3. [Register a mandate & appoint a manager](/protocol/guides/register-a-mandate.md) — sign and submit permission registration.
4. [Dispatch a transaction within bounds](/protocol/guides/dispatch.md) — execute a call, and see what a denial looks like.
5. [Use a shared template](/protocol/guides/use-a-template.md) — configure `SharedBoundedSwapPermission` end to end.

{% hint style="info" %}
These guides show the **protocol-level** mechanics (raw EIP-712 + contract calls). If you'd rather drive all of this from a TypeScript SDK and CLI — with signing, nonce handling, and deployment registries done for you — see the **Sailor** section. Sailor wraps exactly these flows.
{% endhint %}

All examples target a kernel already deployed at the address in [Reference → Deployment addresses](/protocol/reference/addresses.md). EIP-712 domain: `name = "SailKernel"`, `version = "1"`, `verifyingContract =` the kernel, `chainId =` your chain.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sail.money/protocol/guides.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
