Autonomous AI Agent Compiler & Web3 Orchestration Engine
One prompt. Any AI agent. Compile, orchestrate, and launch autonomous Solana agents with transparent execution specs.
Clauding is an autonomous AI agent platform and compilation engine designed to design, compile, and execute goal-driven AI agents using natural language prompts. Powered by Solana wallet authentication, thread-based memory, a dynamic ReAct (Reasoning + Acting) execution loop, and real-time on-chain and market analysis tools.
Building and orchestrating autonomous on-chain agents typically requires complex boilerplate, custom RPC wrappers, fragile prompt chains, and opaque agent execution logic. Clauding solves this by providing:
- One-Prompt Agent Compiler: Describe an agent in plain language (English or Indonesian), and Clauding autonomously generates a transparent
AgentSpecschema (system persona, behavioral guardrails, LLM models, and dynamic tool bindings). - Autonomous ReAct Execution Loop: Agents do not merely return textβthey reason over intermediate states, evaluate conditions, execute tool calls, and adapt their plan until the objective is reached.
- Cryptographic Solana SIWS Authentication: Zero-friction login and chat thread isolation via Sign-In-With-Solana (Ed25519 challenge-response signatures), keeping session histories strictly bound to wallet public keys.
- Built-in Web3 & Analytics Tool Catalog: Instant integration with DexScreener price/liquidity endpoints, on-chain ledger queries, and safe code evaluation sandboxes.
- Ultra-Responsive Real-Time Streaming: Low-latency token streaming via Server-Sent Events (SSE) combined with an elegant, modern dark glassmorphism dashboard.
ββββββββββββββββββββββββββββββββββ
β USER / SOLANA WALLET β
β (Phantom / Solflare SIWS) β
βββββββββββββββββ¬βββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββ
β FRONTEND (NEXT.JS 14) β
β β’ One-Prompt Compiler UI β
β β’ Agent Playground Dashboard β
β β’ SSE Stream Consumer β
βββββββββββββββββ¬βββββββββββββββββ
β REST / SSE API
βΌ
ββββββββββββββββββββββββββββββββββ
β BACKEND (NESTJS API) β
β β’ SIWS Auth Guard (JWT) β
β β’ Model Router & Adapters β
β β’ Agent Spec Compiler β
βββββββββββββββββ¬βββββββββββββββββ
β
βββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββ
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β LLM ADAPTERS β β ReAct ENGINE β β PERSISTENCE β
β β’ Claude 3.5 β β β’ Step Planning β β β’ PostgreSQL 16 β
β β’ GPT-4o / Mini β β β’ Tool Dispatch β β β’ pgvector β
β β’ Prompt Engine β β β’ State Loop β β β’ Drizzle ORM β
ββββββββββ¬βββββββββ ββββββββββ¬βββββββββ βββββββββββββββββββ
β β
βββββββββββββββββββββββββ¬ββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββ
β TOOL CATALOG β
β β’ DexScreener Solana API β
β β’ On-Chain Ledger & Balances β
β β’ Python Evaluation Sandbox β
β β’ Helius RPC & Webhook Triggers β
βββββββββββββββββββββββββββββββββββββ
Describe what you need: "Create a Solana memecoin sentiment analyst that tracks 5m volume spikes on DexScreener and verifies liquidity lock status."
Clauding will automatically compile the agent's identity, system prompt layers, assigned LLM engine, and required capabilities.
Seamlessly dispatches queries to top-tier foundation models (Anthropic Claude 3.5 Sonnet / OpenAI GPT-4o) depending on reasoning requirements, latency, and cost constraints.
- Cryptographic wallet sign-in with Ed25519 signature validation.
- Agent chat history and configurations are safely tied to the wallet address.
- Double-entry ledger integration for token billing and treasury top-ups.
- DexScreener API: Query live pairs, liquidity, 24h volume, price changes, and FDV.
- Solana On-Chain Balance: Fetch token balances and transaction status.
- Python Sandbox: Run deterministic data calculations and formatting safely.
Modern, responsive Next.js 14 user interface featuring agent creation consoles, real-time markdown token rendering, thread persistence, and model inspection tools.
Clauding/
βββ backend/ # NestJS & Fastify Backend Service
β βββ src/
β β βββ agents/ # Agent Compiler & CRUD Controllers
β β βββ auth/ # SIWS Nonce & Signature Verification (JWT)
β β βββ billing/ # Double-entry ledger & Solana deposits
β β βββ characters/ # Built-in agent personas & prompts
β β βββ chat/ # SSE Stream Chat & Message Histories
β β βββ db/ # PostgreSQL Schema & pgvector (Drizzle ORM)
β β βββ models/ # LLM Adapters (OpenAI, Anthropic) & ReAct Engine
β β βββ temporal/ # Durable Tool Catalog & Execution Workers
β βββ package.json
β
βββ frontend/ # Next.js 14 Frontend Application
β βββ src/app/
β β βββ page.tsx # Interactive landing page with compiler console
β β βββ dashboard/ # Main playground, agent sidebar, & chat cards
β β βββ compile/ # Standalone agent compiler wizard
β β βββ token/ # Tokenomics & staking tiers page
β β βββ layout.tsx # Solana Wallet Adapter & Global Layout
β βββ package.json
β
βββ docs/ # Architecture briefs, specs, & assets
β βββ assets/
β βββ banner.png # Repository Banner Asset
β
βββ package.json # Root pnpm monorepo configuration
βββ pnpm-workspace.yaml # Monorepo workspace configuration
βββ vercel.json # Frontend deployment configuration
| Layer | Technologies |
|---|---|
| Frontend | Next.js 14 (App Router), React 18, TypeScript, Vanilla CSS / CSS Modules |
| Web3 & Wallet | @solana/wallet-adapter-react, @solana/web3.js, tweetnacl, bs58 |
| Backend API | NestJS, Fastify, Server-Sent Events (SSE) |
| Database & Memory | PostgreSQL 16, pgvector, Drizzle ORM |
| AI Models | Anthropic Claude 3.5, OpenAI GPT-4o |
| Blockchain Data | Helius RPC, DexScreener API |
| Package Manager | pnpm Workspaces (v9+) |
Make sure you have installed on your local system:
- Node.js (v20.x LTS or higher)
- pnpm (
npm install -g pnpm) - PostgreSQL 16 with
pgvectorextension enabled
git clone https://github.com/ClaudingAgent/ClaudingAgent.git cd ClaudingAgent # Install all monorepo dependencies pnpm install
Create a .env file in the backend/ directory:
# Server PORT=3001 NODE_ENV=development # Database DATABASE_URL=postgresql://postgres:postgrespassword@localhost:5432/clauding # Security & Authentication JWT_SECRET=your_super_secret_jwt_key_here FRONTEND_URL=http://localhost:3000 # LLM Providers OPENAI_API_KEY=sk-proj-... ANTHROPIC_API_KEY=sk-ant-... # Solana RPC & Treasury HELIUS_API_KEY=your_helius_api_key TREASURY_WALLET_ADDRESS=your_solana_treasury_public_key
Create a .env.local file in the frontend/ directory:
NEXT_PUBLIC_API_URL=http://localhost:3001 NEXT_PUBLIC_SOLANA_NETWORK=mainnet-beta NEXT_PUBLIC_RPC_URL=https://mainnet.helius-rpc.com/?api-key=your_helius_api_key
Apply database schemas with Drizzle ORM:
# Generate migrations pnpm --filter backend db:generate # Apply migrations to database pnpm --filter backend db:migrate
Start both services concurrently:
# Run backend on port 3001 pnpm dev:backend # Run frontend on port 3000 (in a separate terminal) pnpm dev:frontend
Open http://localhost:3000 in your browser to start building agents.
# Build backend pnpm build:backend # Build frontend pnpm build:frontend # Start production processes pnpm --filter backend start:prod pnpm --filter frontend start
- Deploy using Railway with native pnpm monorepo support.
- Set root directory to
backend. - Build command:
pnpm install && pnpm --filter backend build - Start command:
pnpm --filter backend start:prod - Attach a PostgreSQL database add-on with
pgvectorenabled.
- Connect repository to Vercel.
- Set root directory to
frontend. - Add environment variable:
NEXT_PUBLIC_API_URL=https://your-backend-service.up.railway.app(without trailing slash).
- SIWS Challenge-Response: Nonces expire in 5 minutes and are single-use to eliminate replay attacks.
- Zero-Custody Boundary: Clauding never stores private keys or signs transactions on behalf of users without explicit client approval.
- Isolated Execution: User-defined scripts and tool payloads run in bounded sandboxes.
- GitHub Repository: https://github.com/ClaudingAgent/ClaudingAgent
- License: Distributed under the MIT License. See LICENSE for details.