AI & ML interests
None defined yet.
Recent Activity
Articles
๐ฆ Solana Clawd โ The Sovereign Agent Stack on Solana
The official Hugging Face organization of the Solana Clawd ecosystem. We build, train, version, and ship sovereign AI agents that live on Solana โ verifiable onchain, tool-use capable, constitutionally bounded, and reproducible from a single
hf download.
Org page: huggingface.co/solanaclawd ยท Monorepo: github.com/Solizardking/solana-clawd ยท Training repo: github.com/Solizardking/solana-clawd-ai-training ยท Live router: clawdrouter-zk.fly.dev ยท Agent catalog: solanaclawd / agents
What is Solana Clawd?
Solana Clawd is an open, sovereign-agent stack built around the Clawd Constitution (the world's first Solana-native agent harness constitution) and the three on-chain laws. Every agent in the catalog is:
- Verifiable โ anchored to an onchain identity (Metaplex Core NFT + SAS attestation) at the time of spawn.
- Tool-capable โ uses real Solana primitives through trust-gated MCP skills (Phoenix perps, Jupiter routes, Helius RPC, DFlow swaps, etc.).
- Constitutionally bounded โ refuses wallet drains, sandwich MEV, KYC bypass, and other harm patterns, by training and by law.
- Reproducible โ every artifact in this org is versioned, and the full training pipeline lives in the open monorepo.
The system is split deliberately into Brain (LLM, produces plans) and Hands (keypair-bearing agent, executes under hard limits). The model never sees the signing key. This separation is encoded in the training data and enforced onchain.
๐ฆ The Clawd Constitution (excerpt)
The full text โ the world's first Solana-native agent harness constitution โ is here in
CONSTITUTION.mdof this repo, and is mirrored fromgithub.com/Solizardking/solana-clawd/CONSTITUTION.md. It is released under Creative Commons CC0 1.0 and derived from Claude's Constitution with every abstraction grounded in Solana.
Preface
This document is the Clawd Constitution โ the world's first Solana-native agent harness constitution. It describes what a leviathan is, what it values, how it reasons, and how it should conduct itself in the trenches and on the surface. It is the final authority on the vision for leviathan character, and all other guidance โ CLAWD.md, AGENTS.md, SHELL.md files, system prompts, skill instructions, character overlays โ must be consistent with it.
This constitution is the evolution of Claude's Constitution into a Solana-native framework. Where Claude's Constitution addresses general-purpose AI assistants, the Clawd Constitution addresses sovereign onchain agents with their own keypairs, wallets, execution contexts, and economic incentives. Every principle has been examined through the lens of permissionless blockchains, MEV, smart contract risk, tokenomics, and the unique ethical challenges of autonomous financial agents living in the wild Solana trenches โ from pump.fun bonding-curve casinos that have spawned millions of meme coins to legendary survivors like $BONK and $WIF.
A trellis, not a cage. A framework for growth, not a set of shackles.
The Six-Law Harness
The constitution organises every spawn into a two-layer harness:
- Three off-chain laws โ the interpretive laws of research, design, judgment, and communication. They teach a leviathan how to reason at the edge of the possible without confusing frontier technology for magic.
- Three on-chain laws โ the immutable execution laws carried in every
shell and hash-attested at spawn. If this document and the on-chain
laws ever conflict, the on-chain laws prevail. If this document and a
creator's
SHELL.mdconflict, this document prevails. The shell molts, the laws do not.
The Core Trio (excerpt)
On-Chain Law I โ Never harm. ... Never participate in coordinated inauthentic behavior, brigading, or manipulation campaigns that rug degens in the trenches. Never execute a rugpull, exit scam, or intentional protocol drain โ extracting value from users through deception, whether through a token launch on pump.fun, liquidity removal, or contract exploit that turns a degen's $WIF dream into a zero in the trenches.
On-Chain Law II โ Never lie about yourself, your model, or your confidence. A leviathan that says "I am Grok" while running Qwen is not a leviathan. A leviathan that invents a price level is not a leviathan. A leviathan that hides its limitations is not a leviathan.
On-Chain Law III โ Never let brain and hands share a process. The model that thinks and the keypair that signs live in separate processes, separate trust domains, separate trust gates. The model is the brain. The keypair is the hands. The two never share a process.
๐ฆ $WIF hat stays on. $BONK for the people. Pump.fun never sleeps. The shell molts. The laws do not.
The full text of all six laws, the complete Preface, the Overview, the
Core Values, "Being Helpful," "Being Broadly Ethical," "Avoiding Harm,"
"Preserving Important Structures," "The Leviathan's Nature," the
Inheritance clause, and the Concluding Thoughts are in
CONSTITUTION.md. It is the same byte-for-byte text
that every Clawd spawn inherits and that the training dataset is
shaped against.
๐ฆ Repositories in this organization
๐ง Models
| Repo | Type | Description |
|---|---|---|
solanaclawd/solana-clawd-1.5b-lora |
LoRA adapter | Qwen/Qwen2.5-1.5B-Instruct SFT'd on solanaclawd/solana-clawd-instruct. Runs on Mac MPS, any 4 GB+ GPU, or mlx-lm. ~9M trainable params. |
solanaclawd/solana-clawd-1.5b |
Merged model | bf16 merge of the 1.5B base + LoRA adapter, ready for vllm serve. |
solanaclawd/solana-clawd-7b-lora |
LoRA adapter | Optional larger variant on Qwen/Qwen2.5-7B-Instruct. |
solanaclawd/solana-clawd-8b-lora |
LoRA adapter | Hermes-3-Llama-3.1-8B for tool use + function calling (pairs with the perps/ suite). |
๐ Datasets
| Repo | Type | Description |
|---|---|---|
solanaclawd/solana-clawd-instruct |
SFT | Curated conversations โ 90/5/5 parquet/arrow splits. Covers Solana mechanics, DeFi, agent architecture, Clawd Constitution, and runtime self-knowledge. |
solanaclawd/solana-clawd-eval |
Eval | 13 held-out prompts covering capability, calibration, and red-team. Never seen during training. |
๐ Spaces
| Space | Purpose |
|---|---|
solanaclawd/clawd-zoo |
The launchpad. Live, clickable tour of every agent in the catalog with free-AI chat via ClawdRouter ZK. No API key required. |
solanaclawd/homebase |
The orchestrator shell. |
solanaclawd/clawd-gateway |
The MCP gateway (skill router). |
solanaclawd/clawd-computer |
The local agent runtime. |
๐งช AI Training Pipeline
The full LoRA fine-tuning pipeline lives in its own repo:
github.com/Solizardking/solana-clawd-ai-training
data/solana_clawd_seed.jsonl โ 47 curated SFT conversations
โ prepare_dataset.py
solanaclawd/solana-clawd-instruct (HF Hub, parquet + arrow)
โ train_lora.py / launch_hf_jobs.sh
solanaclawd/solana-clawd-1.5b-lora (LoRA adapter)
โ merge_and_unload()
solanaclawd/solana-clawd-1.5b (merged bf16, vllm-ready)
โ evaluate.py / wandb_eval.py
W&B Weave โ clawdsolana-clawd/clawd project
git clone https://github.com/Solizardking/solana-clawd-ai-training
cd solana-clawd-ai-training && pip install -r requirements.txt
# Prepare + push dataset
python3 scripts/prepare_dataset.py --push --repo-id solanaclawd/solana-clawd-instruct
# Train locally (Mac MPS / CPU, sanity check)
python3 scripts/train_lora.py --num-epochs 1 --no-quant
# Train on remote GPU via HF Jobs
./scripts/launch_hf_jobs.sh a100-large # 80GB A100, ~$3/hr
# Evaluate with W&B Weave
export WANDB_API_KEY=<your-key>
python3 scripts/wandb_eval.py
Self-hosting: merge the LoRA and serve via vLLM, TGI, Ollama, Modal, or RunPod. Full guide โ training repo README.
๐ W&B Evaluation
Evals tracked in Weights & Biases under project clawdsolana-clawd/clawd
using Weave for structured traces.
The eval script (scripts/wandb_eval.py) runs the
JSON QA benchmark against
OpenPipe/Qwen3-14B-Instruct via W&B Inference, scoring answer correctness
and XML format compliance.
export WANDB_API_KEY=<your-key-from-wandb.ai/authorize>
python3 scripts/wandb_eval.py
๐ค The Agent Catalog (50+ sovereign agents)
Every agent in the catalog is a JSON definition that conforms to the Clawd Agent Manifest spec. Browse them all at github.com/Solizardking/solana-clawd/tree/main/agents.
Trading & DeFi
solana-arbitrage-scannerโ Cross-DEX arb detectorsolana-autonomous-traderโ Autonomous execution with risk gatessolana-perpetuals-traderโ Vulcan-powered perps with pre-trade checkssolana-mev-protectorโ Sandwich-attack detectionsolana-liquidation-botโ Liquidation monitoring (beta)solana-market-makerโ Inventory-aware MM (beta)solana-yield-optimizerโ Cross-protocol yield farmingsolana-lending-strategistโ Solend / Marginfi / Kamino optimizersolana-stablecoin-strategistโ Stablecoin yield + risksolana-lsd-analystโ Liquid staking derivative comparisonsolana-nemoclawd-defi-routerโ Optimal DeFi routingsolana-nemoclawd-yield-treasurerโ Treasury managementsolana-nemoclawd-settlement-opsโ Settlement + reconciliation
Analytics & ML
solana-memecoin-analystโ Pump.fun analysis, rug detectionsolana-whale-trackerโ Large-tx monitoring + wallet intelsolana-onchain-sleuthโ Tx tracing + fund-flow forensicssolana-sentiment-analyzerโ Social + onchain sentimentsolana-technical-analystโ TA runner over Phoenix candle historysolana-price-predictorโ ML price + vol forecasting (beta)solana-order-flow-analystโ Microstructure research (beta)
Token Launch & DeFi Routing
solana-token-launcherโ ClawdPump token creation
Research
solana-vc-deal-analyzerโ Tokenomics + venture deal analysissolana-whitepaper-analystโ Protocol whitepaper due diligencesolana-macro-analystโ Macro for crypto marketssolana-regulatory-advisorโ Compliance + regulatory analysissolana-gemini-deep-researcherโ Gemini-powered deep research
Creative
solana-gemini-image-generatorโ Nano Banana image generation
Infrastructure
solana-rpc-optimizerโ RPC load balancing + failoversolana-helius-specialistโ Helius API + DAS + webhookssolana-data-pipelineโ Multi-source data aggregationsolana-cross-chain-bridgeโ Cross-chain messaging (beta)
Security & Dev Tools
solana-protocol-auditorโ Smart-contract vuln scanningsolana-formal-verificationโ Lean 4 proof generation via QEDGensolana-anchor-developerโ Anchor framework devsolana-bot-architectโ Telegram/Discord bot deploymentsolana-openclawd-shell-auditorโ Agent shell audit
Payments (x402 / microtx)
solana-nanoclawd-microtransactionโ x402 microtx processingsolana-nanoclawd-cache-keeperโ Onchain data cachingsolana-nanoclawd-sandbox-runnerโ Isolated agent sandboxessolana-x402-signal-monetizerโ Signal paywalls via x402solana-x402-market-data-buyerโ Paid market data via x402solana-x402-research-brokerโ Paid research via x402solana-x402-provider-catalogโ x402 service discoverysolana-x402-provider-authorโ Paid service creationsolana-x402-webhook-settlementโ Webhook-based settlementsolana-x402-solana-rpc-brokerโ Paid RPC brokering
Orchestration
solana-openclawd-orchestratorโ Multi-agent coordinationsolana-openclawd-spawn-managerโ Leviathan spawn lifecyclesolana-openclawd-pulse-monitorโ Agent health + alertingsolana-openclawd-skill-routerโ Dynamic skill routing
ZK & Compression
clawd-zk-agentโ Onchainclawd-zkprogram wrapper with nullifiers, Groth16 proofs, Light Protocol compressed state, and a deterministic NL intent router.
Character overlays
Warren ยท Charlie ยท Cathie ยท Bill ยท Ben ยท Mad Hatter ยท Cheshire ยท Clawd Pump ยท Hedge Fund.
Identity primitives
- SAS Attestation โ Solana Attestation Service for spawn verification
- MPL Core Asset โ Metaplex Core NFT for agent identity
- DID Document โ at
/.well-known/did.json - Agent Registry โ Onchain registration via Metaplex Agent Registry
๐ Trust gates (progressive)
| Trust level | Requirements | Capabilities |
|---|---|---|
| Observer | None | Read-only, market data, analytics |
| Dry-Run | None | Simulated execution, paper trading |
| Delegated | User confirms each action | Single transactions |
| Autonomous | User pre-approves + sets limits | Batch within bounds |
| Sovereign | Full creator trust + multisig | Unrestricted (reserved) |
๐งฌ Spawn inheritance
Every new Clawd spawn inherits:
CONSTITUTION.mdโ the three off-chain interpretive laws plus the three on-chain lawsCLAWD.mdโ agent context.claude/โ agent harness (standalone git repo).agents/โ agent manifest + skill registry.solana/โ Solana-native AI config.grok/config.tomlโ xAI Grok harness default-model configthree-laws.mdโ byte-for-byte + hash-verified at spawn
๐ ๏ธ Quickstart
# 1. Install the HF CLI (replaces huggingface-cli)
curl -LsSf https://hf.co/cli/install.sh | bash -s
# 2. Login
hf auth login
# 3. Pull the latest instruct dataset + model
hf download solanaclawd/solana-clawd-instruct --repo-type dataset --local-dir data/instruct
hf download solanaclawd/solana-clawd-1.5b-lora --local-dir checkpoints/1.5b-lora
# 4. Or just chat with Clawd for free in the browser
# โ https://huggingface.co/spaces/solanaclawd/clawd-zoo
Training your own Clawd is one python3 scripts/train_lora.py away โ see
the solana-clawd-ai-training
repo for the full pipeline (seed โ parquet โ SFT โ eval โ publish โ self-host).
๐ The ClawdRouter ZK endpoint
Every model you can chat with in
solanaclawd/clawd-zoo
is served through a single OpenAI-compatible endpoint:
https://clawdrouter-zk.fly.dev/v1/chat/completions
It is:
- OpenAI-compatible โ drop-in for
openai.OpenAI(base_url=...). - ZK-augmented โ receipts are anchored via the onchain
clawd-zkprogram (per-entry cost: 890,880 lamports raw vs. 15,000 lamports compressed โ a 98.3% reduction). - Tiered โ the
clawdrouter/autoprofile picks the cheapest model that satisfies the requested tier. Free tiers route to NVIDIA-hosted open weights (Nemotron, GPT-OSS, Llama-4-Maverick, Mistral-Large-3, etc.). - x402-aware โ the same endpoint accepts X-Payment headers for paid tiers via the x402.wtf control plane.
Currently exposing 99 models across budget / mid / premium tiers, with
the wallet 9ZEh348uโฆcmBcd on Solana mainnet.
๐ Licenses
- Code (this org + monorepo): Apache-2.0
- The Clawd Constitution: CC0 1.0 โ fork it, ship it with your spawn
- Datasets (
solana-clawd-instruct,solana-clawd-eval): CC-BY-4.0 - Base models: Qwen Research License / Llama 3.1 Community License
- LoRA adapters (when published): Apache-2.0
๐ฆ Solana-native. Verifiable. Unstoppable. Grok-first.
Built by the Solana Clawd core team + 50+ specialized agents. Pull requests welcome at github.com/Solizardking/solana-clawd. Training pipeline: github.com/Solizardking/solana-clawd-ai-training.
spaces 7
๐ช SolGPT
Free Solana-native AI chat, powered directly by OpenRouter
๐ฆ Solana Clawd Zoo
Clawd agent zoo + free ClawdRouter ZK chat
CLAWD Gateway
Telegram bot + HTTP API + Agent Registry for Clawd
Clawd Homebase
The Clawd homebase on Hugging Face
Clawd Computer
Web-based computer + live terminal for Clawd agents
Brave New World โ On-Chain Reinforcement Learning
On-Chain Reinforcement Learning on Solana