sona

Autonomous Solana wallet agent — AI reasons, Rust signs. Transfers, swaps, staking, chat, and mode switching under constitutional spend limits.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sona" with this command: npx skills add neocryptoquant/sona

SONA — Agentic Wallet Skill

Category: Blockchain / AI Wallet Networks: Solana (Devnet) Install: clawhub install sona Version: 1.0.1


What is SONA?

SONA is an autonomous Solana wallet agent. It watches your on-chain wallet, reasons against your YAML policy rules, and executes trades and transfers — governed by four Constitutional Laws that no AI decision can ever override.

Observe → Reason → Decide → Execute

Every action is bounded by Constitutional Law: 50M lamports max per action (Rust-enforced), with an on-chain Memo receipt attached to every transaction.


Plugin Tools (10)

ToolParametersDescription
get_wallet_statusSOL balance, address, mode, cycle stats
get_sol_priceLive SOL/USD from Pyth Hermes oracle
get_agent_statusMode, brain, cycles run, last cycle time
set_modemode, acknowledgment?Switch standard / assisted / god mode (auth required)
get_policyCurrent YAML policy rules + spend limits
transfer_solto, amount_solTransfer SOL — all Constitutional Laws enforced (auth required)
get_pending_actionsApproval queue in assisted mode (auth required)
approve_actioncycle_idApprove a queued action to execute (auth required)
chatmessageNatural language command to the SONA AI (auth required)
get_activitylimit?Recent agent activity summary

Setup

1. Start SONA

git clone <repo>
cd <repo>
bun install
bun run sona init   # set passphrase, create wallet
bun run sona start  # agent starts on port 3000

2. Get a session token

curl -s -c cookies.txt -X POST http://localhost:3000/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"username":"your_user","password":"your_pass"}' | jq -r '.token'

3. Set environment variables

export SONA_API_URL=http://localhost:3000
export SONA_TOKEN=<token-from-step-2>

4. Install the skill

clawhub install sona

Constitutional Laws

All actions are governed by four immutable laws. No tool call can bypass them:

LawNameEnforcement
IOwner SupremacyYour YAML policy overrides all AI reasoning
IIBounded Expenditure50M lamports/action hard cap (enforced in Rust)
IIIRadical TransparencyOn-chain Memo receipt on every executed transaction
IVFail-Safe HaltingSimulation failure → agent halts, funds stay put

Example Agent Flow

Agent: "Check SONA's wallet balance"
→ calls get_wallet_status
→ returns: 4.82 SOL, god mode, 142 cycles run

Agent: "Transfer 0.1 SOL to vault"
→ calls transfer_sol { to: "vault", amount_sol: 0.1 }
→ SONA reasons, simulates, executes within Law II limit
→ returns: tx confirmed, Memo logged on-chain

Agent: "What is the current SOL price?"
→ calls get_sol_price
→ returns: $142.30 USD (Pyth Hermes)

Required Environment Variables

VariableRequiredDefaultDescription
SONA_API_URLNohttp://localhost:3000SONA dashboard base URL
SONA_TOKENYesJWT session token (required for all state-changing operations: transfers, chat, mode switching, approvals)

Read-only tools (get_wallet_status, get_sol_price, get_agent_status, get_policy, get_activity) work without a token. All state-changing tools require SONA_TOKEN.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Cruzl Sentinel Core

Optimizes onchain activity by scoring ecosystems, generating tailored strategies, and suggesting behavior to avoid bot-like patterns across multiple platforms.

Registry SourceRecently Updated
Web3

Polymarket Aionmarket Trader

Place Polymarket trades through Aionmarket. Use when the user wants to search prediction markets, register wallet credentials, verify a wallet, or submit a P...

Registry SourceRecently Updated
280Profile unavailable
Web3

Power Automate Build

Build, scaffold, and deploy Power Automate cloud flows using the FlowStudio MCP server. Your agent constructs flow definitions, wires connections, deploys, a...

Registry SourceRecently Updated
3750Profile unavailable
Web3

Gasless Crosschain Executor

local-key swap planning and execution skill. Cross-chain (1inch Fusion+, gasless), same-chain gasless (1inch Fusion), and same-chain paid (1inch Aggregation...

Registry SourceRecently Updated
230Profile unavailable