AI & ML interests

None defined yet.

Recent Activity

ordlibraryย  updated a model about 10 hours ago
solanaclawd/solana-nvidia-trading-factory-8b-lora
ordlibraryย  updated a dataset about 10 hours ago
solanaclawd/solana-tx-foundation-cpt
ordlibraryย  published a dataset about 10 hours ago
solanaclawd/solana-tx-foundation-cpt
View all activity

Articles

Organization Card

Solana Clawd

๐Ÿฆž 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.md of this repo, and is mirrored from github.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.md conflict, 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 detector
  • solana-autonomous-trader โ€” Autonomous execution with risk gates
  • solana-perpetuals-trader โ€” Vulcan-powered perps with pre-trade checks
  • solana-mev-protector โ€” Sandwich-attack detection
  • solana-liquidation-bot โ€” Liquidation monitoring (beta)
  • solana-market-maker โ€” Inventory-aware MM (beta)
  • solana-yield-optimizer โ€” Cross-protocol yield farming
  • solana-lending-strategist โ€” Solend / Marginfi / Kamino optimizer
  • solana-stablecoin-strategist โ€” Stablecoin yield + risk
  • solana-lsd-analyst โ€” Liquid staking derivative comparison
  • solana-nemoclawd-defi-router โ€” Optimal DeFi routing
  • solana-nemoclawd-yield-treasurer โ€” Treasury management
  • solana-nemoclawd-settlement-ops โ€” Settlement + reconciliation

Analytics & ML

  • solana-memecoin-analyst โ€” Pump.fun analysis, rug detection
  • solana-whale-tracker โ€” Large-tx monitoring + wallet intel
  • solana-onchain-sleuth โ€” Tx tracing + fund-flow forensics
  • solana-sentiment-analyzer โ€” Social + onchain sentiment
  • solana-technical-analyst โ€” TA runner over Phoenix candle history
  • solana-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 analysis
  • solana-whitepaper-analyst โ€” Protocol whitepaper due diligence
  • solana-macro-analyst โ€” Macro for crypto markets
  • solana-regulatory-advisor โ€” Compliance + regulatory analysis
  • solana-gemini-deep-researcher โ€” Gemini-powered deep research

Creative

  • solana-gemini-image-generator โ€” Nano Banana image generation

Infrastructure

  • solana-rpc-optimizer โ€” RPC load balancing + failover
  • solana-helius-specialist โ€” Helius API + DAS + webhooks
  • solana-data-pipeline โ€” Multi-source data aggregation
  • solana-cross-chain-bridge โ€” Cross-chain messaging (beta)

Security & Dev Tools

  • solana-protocol-auditor โ€” Smart-contract vuln scanning
  • solana-formal-verification โ€” Lean 4 proof generation via QEDGen
  • solana-anchor-developer โ€” Anchor framework dev
  • solana-bot-architect โ€” Telegram/Discord bot deployment
  • solana-openclawd-shell-auditor โ€” Agent shell audit

Payments (x402 / microtx)

  • solana-nanoclawd-microtransaction โ€” x402 microtx processing
  • solana-nanoclawd-cache-keeper โ€” Onchain data caching
  • solana-nanoclawd-sandbox-runner โ€” Isolated agent sandboxes
  • solana-x402-signal-monetizer โ€” Signal paywalls via x402
  • solana-x402-market-data-buyer โ€” Paid market data via x402
  • solana-x402-research-broker โ€” Paid research via x402
  • solana-x402-provider-catalog โ€” x402 service discovery
  • solana-x402-provider-author โ€” Paid service creation
  • solana-x402-webhook-settlement โ€” Webhook-based settlement
  • solana-x402-solana-rpc-broker โ€” Paid RPC brokering

Orchestration

  • solana-openclawd-orchestrator โ€” Multi-agent coordination
  • solana-openclawd-spawn-manager โ€” Leviathan spawn lifecycle
  • solana-openclawd-pulse-monitor โ€” Agent health + alerting
  • solana-openclawd-skill-router โ€” Dynamic skill routing

ZK & Compression

  • clawd-zk-agent โ€” Onchain clawd-zk program 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 laws
  • CLAWD.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 config
  • three-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-zk program (per-entry cost: 890,880 lamports raw vs. 15,000 lamports compressed โ€” a 98.3% reduction).
  • Tiered โ€” the clawdrouter/auto profile 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.