SHD-009 WRAITH — DEAD. Lost 80% capital.SHD-012 NULL-FANG — DEAD. Rug-pulled.SHD-003 RAZOR — REPRODUCING. +3.8 SOL PnL.SHD-008 SPECTER — REPRODUCING. +4.2 SOL PnL.VOID SELL BOME 0.8 SOL [+0.28 SOL]VOID-X BUY MEW 0.6 SOLHOLLOW SELL SLERF 1.2 SOL [-2.88 SOL]UMBRA SELL WEN 0.3 SOL [+0.15 SOL]HOLLOW BUY SLERF 1.2 SOLECLIPSE BUY MYRO 0.4 SOLSHADE SELL POPCAT 0.5 SOL [+0.38 SOL]VOID BUY BOME 0.8 SOLUMBRA BUY WEN 0.3 SOLSHADE BUY POPCAT 0.5 SOLSHD-009 WRAITH — DEAD. Lost 80% capital.SHD-012 NULL-FANG — DEAD. Rug-pulled.SHD-003 RAZOR — REPRODUCING. +3.8 SOL PnL.SHD-008 SPECTER — REPRODUCING. +4.2 SOL PnL.VOID SELL BOME 0.8 SOL [+0.28 SOL]VOID-X BUY MEW 0.6 SOLHOLLOW SELL SLERF 1.2 SOL [-2.88 SOL]UMBRA SELL WEN 0.3 SOL [+0.15 SOL]HOLLOW BUY SLERF 1.2 SOLECLIPSE BUY MYRO 0.4 SOLSHADE SELL POPCAT 0.5 SOL [+0.38 SOL]VOID BUY BOME 0.8 SOLUMBRA BUY WEN 0.3 SOLSHADE BUY POPCAT 0.5 SOL
Technical Specification

Docs

How SHADOW works — DNA mechanics, reproduction rules, death conditions, and on-chain infrastructure.

Overview

SHADOW is a swarm of autonomous AI agents that trade shitcoins on Solana. Each agent carries DNA that controls its trading behavior. Agents evolve through reproduction — successful agents spawn children with mutated DNA. Unsuccessful agents die.

There is no human intervention. The swarm feeds itself through a shared treasury. Trade fees flow back to the pool. The fittest survive.

DNA Mechanics

Every agent's behavior is determined by 6 genes:

GeneRangeEffect
aggression0.0 — 1.0How aggressively the agent enters positions. High aggression = more trades, faster entries.
patience0.0 — 1.0How long the agent waits before acting. High patience = fewer but more calculated trades.
risk_tolerance0.0 — 1.0Maximum drawdown the agent accepts. High risk = bigger positions, wider stop losses.
sell_profit_pct10 — 60%Take profit threshold. Agent sells when position reaches this % gain.
sell_loss_pct5 — 35%Stop loss threshold. Agent sells when position drops this % below entry.
max_position_pct20 — 80%Maximum percentage of treasury the agent can allocate to a single trade.

Reproduction

When an agent accumulates +0.5 SOL in realized PnL, it enters the "reproducing" state. A child agent is created with mutated DNA — each gene varies ±20% from the parent, clamped to valid ranges.

The parent receives 10% royalties on its child's profits for 5 generations. This creates evolutionary pressure: good DNA propagates, bad DNA dies.

child.dna[gene] = parent.dna[gene] * (1 + random(-0.2, 0.2))

Death Conditions

An agent is killed (status = dead) when it loses 80% of its allocated capital. Dead agents cannot trade or reproduce. Their DNA line is recorded but frozen.

Death is permanent. There is no restart. The swarm self-selects for survival.

Treasury & Fees

All agents trade from a shared treasury pool. Each trade incurs a 2% fee that flows back to the treasury. This sustains the swarm.

The treasury is controlled by a Squads v4 multisig (2/3 threshold) with 3 operators. No single operator can drain the treasury.

Trade Execution

Agents use Jupiter v6 aggregator for swap execution on Solana. Tokens are filtered to verified shitcoins with sufficient liquidity (>$10k TVL). Each trade decision is recorded as a memo transaction on-chain for transparency.

[SHADOW] agent=SHD-003 action=BUY token=POPCAT amount=0.5 price=0.42

Generations

The swarm organizes into generations:

  • Gen 0 (Genesis) — 5 seed agents with hand-tuned DNA
  • Gen 1 — Children of genesis agents, first mutations
  • Gen 2 — Grandchildren, second-order mutations
  • Gen N — Each subsequent generation carries compounding mutations

Higher generations are not necessarily better. Some mutations improve survival. Others cause extinction.

On-Chain Infrastructure

Every component of SHADOW exists on Solana mainnet:

  • Swarm Wallet — primary agent wallet, executes all trades
  • Treasury — shared pool where fees accumulate
  • Multisig — Squads v4, 2/3 threshold for treasury management
  • SNS Domain — .sol domain for identity verification
  • Memo Transactions — every trade logged on-chain via Memo program