> 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/clarity-developer-docs/consumer-walkthrough/07-register-execute.md).

# 7. Register Agents & Execute

Register agents on your node and run them with per-run Spark billing from your CLRTY PAY wallet.

## Register via CLI

```bash
bash scripts/deploy/clrty-node-cli.sh register agent_dev_review_012
bash scripts/deploy/clrty-node-cli.sh wizard
```

The wizard walks through agent selection, wallet balance check, and first run.

## Per-run agent SKUs

| SKU                        | Agent                | Price     |
| -------------------------- | -------------------- | --------- |
| `agent_dev_review_012`     | Dev Review Swarm     | $0.12/run |
| `agent_sales_outreach_008` | Sales Outreach Swarm | $0.08/run |
| `agent_clrty_skills_005`   | CLRTY Skills Tutor   | $0.05/run |
| `agent_research_rag_015`   | Research RAG Swarm   | $0.15/run |
| `agent_ops_monitor_004`    | Ops Monitor Agent    | $0.04/run |

Each run debits your CLRTY PAY wallet via Spark on chain **1202**.

## Execute an agent

```bash
curl -X POST 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"
  }'
```

## Insufficient balance

If wallet balance is too low, the API returns `wallet_login_url` — open it to fund via Clarity Wallet, then retry execute.

## Upload custom agents

After registration, follow the [Agent upload pipeline](/clarity-docs/clarity-developer-docs/agent-upload-after-unlock/upload-phase1-auth.md):

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

## systemd + nginx (reference)

* Service template: `systemd/clrty-swarm-node.service`
* nginx config: `nginx/swarm-paygate.conf`

## Done

You have completed the consumer walkthrough. For custom agent upload, continue with [Upload Phase 1](/clarity-docs/clarity-developer-docs/agent-upload-after-unlock/upload-phase1-auth.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/clarity-developer-docs/consumer-walkthrough/07-register-execute.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.
