> For the complete documentation index, see [llms.txt](https://clarity-7.gitbook.io/clarity-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clarity-7.gitbook.io/clarity-docs/readme.md).

# SWARM Agent Node Hub

Consumer walkthrough for hosting autonomous agent nodes on **Cherry bare-metal** with **Spark** settlement on **clrty-1 / chain 1202**. **NO Docker.**

## Live preview

* **GitBook:** [app.gitbook.com preview](https://app.gitbook.com/o/6MCNfiz1cpjlR5LX4kWw/sites/site_vzd1R/preview)
* **Monitor mirror:** [monitor.clarity-fintech.com/docs/swarm-agent-node/](https://monitor.clarity-fintech.com/docs/swarm-agent-node/)
* **SWARM host funnel:** [uiquio/swarms/host](https://monitor.clarity-fintech.com/uiquio/swarms/host)

## The funnel

```
Spark checkout → JWT → Clarity Wallet → GitBook unlock → Cherry deploy → Register & run agents
```

| Step    | Surface                                                                          |
| ------- | -------------------------------------------------------------------------------- |
| Pay     | [Spark checkout](/clarity-docs/consumer-walkthrough/02-pay-gate-checkout.md)     |
| Session | `POST /v1/swarm/paygate/activate`                                                |
| JWT     | `POST /v1/auth/issue-token`                                                      |
| Wallet  | [exchange.clarity-fintech.com/login](https://exchange.clarity-fintech.com/login) |
| Docs    | GitBook Audience + tier gating                                                   |
| Node    | `/opt/clrty/swarm-node` on Cherry — **NO Docker**                                |

## Start the walkthrough

→ [**Consumer walkthrough hub**](/clarity-docs/consumer-walkthrough/consumer-walkthrough.md)

| # | Step                                                                                      |
| - | ----------------------------------------------------------------------------------------- |
| 1 | [Prerequisites](/clarity-docs/consumer-walkthrough/01-prerequisites.md)                   |
| 2 | [Pay Gate Checkout](/clarity-docs/consumer-walkthrough/02-pay-gate-checkout.md)           |
| 3 | [Activate Pay Gate Session](/clarity-docs/consumer-walkthrough/03-activate-session.md)    |
| 4 | [Private JWT + Wallet Login](/clarity-docs/consumer-walkthrough/04-private-jwt-wallet.md) |
| 5 | [GitBook Authenticated Access](/clarity-docs/consumer-walkthrough/05-gitbook-gate.md)     |
| 6 | [Install on Cherry (NO Docker)](/clarity-docs/consumer-walkthrough/06-install-cherry.md)  |
| 7 | [Register Agents & Execute](/clarity-docs/consumer-walkthrough/07-register-execute.md)    |

### After unlock — upload agents

| Phase | Step                                                                                       |
| ----- | ------------------------------------------------------------------------------------------ |
| 1     | [Auth + JWT Issue](/clarity-docs/agent-upload-after-unlock/upload-phase1-auth.md)          |
| 2     | [Prepare .mis + .py Agents](/clarity-docs/agent-upload-after-unlock/upload-phase2-prep.md) |
| 3     | [Upload to Cherry](/clarity-docs/agent-upload-after-unlock/upload-phase3-upload.md)        |

## Client gating

Include on GitBook custom HTML or monitor mirror pages:

```html
<script type="module" src="./assets/gitbook-gating.js"></script>
```

## Org / site IDs (GitBook API)

| Key     | Value                  |
| ------- | ---------------------- |
| Org ID  | `6MCNfiz1cpjlR5LX4kWw` |
| Site ID | `site_vzd1R`           |

Set `GITBOOK_TOKEN` locally — **never commit**.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://clarity-7.gitbook.io/clarity-docs/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
