> 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/readme.md).

# Sail.Money

Sail is a protocol for onchain separately managed accounts (SMAs). Your capital stays in a self-custodial [Safe](https://safe.global), and a manager (typically an **autonomous AI agent**) executes only what on-chain permission contracts allow. Pick the path that matches what you're doing:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><strong>Protocol</strong></td><td><strong>For developers and asset managers</strong>. Build your own smart contract permissions to bound your agent, or become a manager and run non-custodial agentic strategies for your clients.</td><td><a href="/pages/zai6VO3xVjeFUuOUYZiL">/pages/zai6VO3xVjeFUuOUYZiL</a></td><td><a href="/files/TnNSVI2HQ8LiEyKeDbYP">/files/TnNSVI2HQ8LiEyKeDbYP</a></td></tr><tr><td><strong>Sailor</strong></td><td><strong>For AI agent builders</strong><em>.</em> A toolkit to build and run your own trading, yield, or prediction-market agents — set them up, define what they're allowed to do, and let them run on your own machine </td><td><a href="/pages/FKmfn3ZQxqDJwun3AXHl">/pages/FKmfn3ZQxqDJwun3AXHl</a></td><td><a href="/files/YzoRTaGDxHIsfuG871gt">/files/YzoRTaGDxHIsfuG871gt</a></td></tr></tbody></table>

Both products — the Protocol and Sailor — are **fully open source**, free to read, fork, and build on.

## Which one do I need?

| You want to…                                                                                         | Go to                              |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------- |
| Write Solidity permission contracts, or integrate `SailKernel` / `MandateFactory` from your own code | **Protocol**                       |
| Ship an agent that runs a strategy on an SMA, using a ready-made SDK + CLI                           | **Sailor**                         |
| Understand the security model, fees, or governance before building                                   | **Protocol → Concepts / Security** |

## For coding agents

{% hint style="info" %}
**Are you an LLM or coding agent?** Grab the ready-made prompt and machine-readable `llms.txt` context to get building fast. See [For AI agents](/for-ai-agents.md).
{% endhint %}

## Resources

* [Deployment addresses](/protocol/reference/addresses.md) — the trusted core, identical on every supported chain
* [Protocol repository](https://github.com/sail-money/Protocol) · [Sailor repository](https://github.com/sail-money/Sailor)
* [Whitepaper](https://github.com/sail-money/Protocol/blob/main/docs/whitepaper/Sail_Protocol_Whitepaper.pdf)
* `llms.txt` — a machine-readable index of these docs for AI agents
* [Legal](/legal/legal.md) — terms, privacy, disclaimer & risks, and open-source licenses

## Open source & reviewed

Both **Sail Protocol** and **Sailor** are fully open source — read, fork, and build on every line. See the [Protocol repository](https://github.com/sail-money/Protocol/) and the [Sailor repository](https://github.com/sail-money/Sailor).

The trusted core and shared permission templates were reviewed by [Octane](https://www.octane.security), an AI source-code security scanner, across three analyses. See [Protocol → Security](/protocol/security.md).

***

A security review is not a guarantee of correctness, and the correctness of any permission you deploy remains your responsibility. Do not use Sail with funds you are not prepared to lose. See the [Disclaimer & Risks](/legal/disclaimer.md).


---

# 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/readme.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.
