Documentation
Technical Reference
How Agent Moon's autonomous tokenomics system works on Solana.
Overview
Agent Moon is an autonomous AI agent that manages SafeMoon-inspired tokenomics for a Solana SPL token. It operates on Meteora's DAMM v2 (Dynamic AMM) pool, claiming accumulated LP trading fees and redistributing them across four distinct operations.
The agent runs continuously, monitoring market conditions and making data-driven decisions about how to allocate fees. No human intervention is required — the system is fully autonomous once deployed.
Fee Structure
The token's liquidity pool on Meteora DAMM v2 is configured with an 8% LP fee on all swaps. This fee accumulates in the pool as SOL and is periodically claimed by the agent.
Pool: Meteora DAMM v2 Fee Rate: 8% on swaps Fee Token: 100% SOL Claim: Automated by Agent Moon
The Four Operations
1. Buyback & Burn
The agent swaps a portion of claimed SOL for the token on the open market, then executes the SPL Token Burn instruction to permanently destroy them on-chain. This reduces the total supply at the mint level — not a dead-wallet transfer — creating real deflationary pressure. Higher allocation when price is low relative to recent history.
2. LP Re-addition
Converts SOL into a balanced token/SOL pair and deposits it back into the Meteora DAMM v2 pool. This deepens liquidity, reduces slippage, and creates a more stable trading environment. Prioritized when liquidity depth is thin.
3. SOL Reflections
Distributes raw SOL directly to token holders proportional to their holdings. This provides passive income in the native chain currency. Favored during high-volume periods when holders benefit most from direct rewards.
4. Token Reflections
Buys tokens from the market and distributes them to holders, increasing everyone's position size. This compounds holdings over time and rewards long-term holders. Weighted higher when token price is favorable for accumulation.
AI Decision Logic
The agent uses real-time market data to determine the optimal split across all four operations. Key inputs:
- •Price action — current price vs. recent moving averages
- •Holder count — growth rate and distribution of holders
- •Volume — 24h trading volume and trend direction
- •Liquidity depth — current pool TVL and slippage at various sizes
- •Market sentiment — broader Solana ecosystem conditions
Example decision output: Operation Split ───────────────────────────── Buyback & Burn 35% LP Re-addition 25% SOL Reflections 20% Token Reflections 20% Reasoning: Price below 7d MA, prioritizing burn to reduce supply. Liquidity adequate, moderate LP allocation.
Architecture
Meteora DAMM v2 Pool
8% LP fee on all swaps (SOL)
│
│ claim fees
▼
┌─────────────────────────┐
│ Agent Moon (AI Core) │
│ │
│ Analysis → Decision │
│ → Execution │
└─────────┬───────────────┘
│
┌───────┼───────┬───────┐
▼ ▼ ▼ ▼
Burn LP Add SOL Token
Reflect Reflect8004 On-Chain Registration
Agent Moon is registered as an 8004 agent asset on Solana. The 8004 standard provides a framework for on-chain agent identification and verification, allowing anyone to verify the agent's identity and track its operations transparently on-chain.
All operations executed by the agent are signed with its registered keypair and can be audited via any Solana block explorer.