Luna is an autonomous desktop AI that executes complex developer tasks, audits smart contracts, and researches security vulnerabilities — without you lifting a finger.
How it works
Tell Luna what you need in plain language. She plans, executes, reflects, and delivers — autonomously.
Describe your task in plain language — "audit this Solana program", "find vulnerabilities in this contract", "refactor my codebase". Luna understands full context.
Luna breaks the task into steps, uses the right tools, writes code, runs analysis, searches docs — and uses a self-reflection loop to verify results before moving on.
Receive a detailed report, working code, or vulnerability findings. Luna presents everything clearly and waits for your next instruction.
Features
Every feature was designed for developers and security researchers who can't afford to waste time.
Luna uses a self-reflection loop — she plans, acts, evaluates, and corrects herself without interruption. Complex multi-step tasks run end-to-end while you focus on other things.
Native support for Solana (Anchor/Rust) and EVM smart contracts. Luna scans for reentrancy, access control, overflow, and logic bugs with detailed, actionable reports.
Designed for Immunefi and HackerOne hunters. Luna assists with recon, exploit research, PoC generation, and formats professional vulnerability reports that get accepted.
Upload screenshots, architecture diagrams, or PDFs. Luna reads images alongside code and docs to give you richer, more accurate analysis than text-only AI tools.
Run Luna 100% offline with Ollama. Your code and research never leave your machine — critical for sensitive security work, NDA projects, or regulated environments.
VS Code-style file tree with live preview. Luna navigates your project structure, edits files, and runs analysis directly — no copy-pasting required.
Switch between Claude (Anthropic), GPT-4o (OpenAI), Grok (xAI), Llama (Groq), and local Ollama models per task. Luna auto-routes to the best model for each job type.
Pay for AI usage in Grains via USDC on Solana. No subscriptions — top up when you need it, pay only for what you use. Atomic on-chain payments with full transaction history.
In Action
Real examples of what Luna produces — from audit reports to vulnerability research.
Pricing
Pay in Grains via USDC on Solana. No monthly fees, no lock-in. Top up when you need it — 1 USDC = 1,000 Grains.
Documentation
Architecture, the Grains system, API reference, and quick-start guides — all in one place.
Luna Agent is a two-tier desktop application. The Electron frontend handles the UI and communicates with a local FastAPI backend that orchestrates AI models, manages the file workspace, and processes Solana payments.
Grains are Luna's internal AI credits. They are purchased with USDC on the Solana blockchain via Solana Pay — no credit cards, no subscriptions. Every AI operation deducts a small number of Grains proportional to its computational cost.
| Package | USD | Grains | Bonus | Rate |
|---|---|---|---|---|
| Starter | $29 | 30,000 | — | 1,034 /USDC |
| Builder | $79 | 95,000 | +20% | 1,202 /USDC |
| Pro Hunter | $199 | 270,000 | +35% | 1,357 /USDC |
| Elite | $499 | 750,000 | +50% | 1,503 /USDC |
| Operation | Approx. Cost | Notes |
|---|---|---|
| Chat message (short) | ~18 Grains | Claude Haiku |
| Chat message (long) | ~35–80 Grains | Claude Sonnet |
| Smart contract audit | ~150–500 Grains | Multi-pass analysis |
| Vision / screenshot | ~40–120 Grains | Depends on image size |
| Agent task (complex) | ~200–800 Grains | Multi-step execution |
Luna creates a Solana Pay URL with a unique reference UUID. QR expires in 15 minutes.
Scan with Phantom, Backpack, or any Solana Pay-compatible wallet. USDC mint: EPjFWdd5Auqq...
The backend validates the tx signature, checks the reference memo, and atomically credits Grains to your account via a Postgres RPC.
If a credit fails due to a network issue, the retry job re-runs every 60 seconds for up to 10 attempts — you will never lose Grains.
The FastAPI backend runs on http://localhost:8000 when Luna is running. All endpoints require a valid session token passed as Authorization: Bearer <token>.
pending | finalized | expired?path=relative/pathGet Luna running locally in under 5 minutes. You'll need Node.js 18+, Python 3.11+, and an Anthropic API key.
Join the waitlist and get early access + 500 free Grains to start your first session.