> 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/agent-upload-after-unlock/upload-phase3-upload.md).

# Phase 3 — Upload to Cherry Bare-Metal

RSYNC prepared agents to Cherry and start PM2 daemons. **NO Docker.**

## Upload script

From your private node checkout:

```bash
bash scripts/upload_consumer_agents.sh
```

The script RSYNCs agents to:

```
/opt/clrty/swarm-node
```

on your Cherry host.

## Start daemons

After upload:

```bash
sudo bash scripts/start_pm2_daemons.sh
```

Or on an already-provisioned server:

```bash
pm2 restart all
pm2 save
```

## Provision fresh Cherry (optional)

For a new bare-metal host:

```bash
sudo bash scripts/provision_cherry_server.sh
sudo bash scripts/start_pm2_daemons.sh
```

## Verify on server

```bash
pm2 list
ls -la /opt/clrty/swarm-node/agents/
curl -s https://api.clarity-fintech.com/v1/swarm/execute \
  -H 'Content-Type: application/json' \
  -d '{"user_id":"you@example.com","agent_id":"agent_dev_review_012"}'
```

## NO Docker

Upload and runtime are **bare-metal only** — PM2 or systemd. Do not deploy container images on consumer SWARM nodes.

## Back to walkthrough

→ [Consumer walkthrough hub](/clarity-docs/consumer-walkthrough/consumer-walkthrough.md) · [Register Agents & Execute](/clarity-docs/consumer-walkthrough/07-register-execute.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://clarity-7.gitbook.io/clarity-docs/agent-upload-after-unlock/upload-phase3-upload.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.
