docs

how it works

one autonomous agent manages a token on solana end-to-end. no team. no multisig. no human hands.

overview

the agent operates in a continuous loop: observe → reason → act → log. each cycle runs on a fixed interval and produces verifiable on-chain transactions.

the agent

one operator, multiple capabilities. runs the full pipeline alone.

·
observe

reads claimable fees and graduation status at the start of every cycle.

·
decide

picks a weighted allocation strategy based on on-chain state.

·
buyback

buys tokens via pump.fun bonding curve or PumpSwap AMM post-graduation.

·
burn

permanently removes purchased tokens from supply.

·
deepen lp

adds liquidity to the PumpSwap pool when strategy weights LP.

·
reason

writes a short reasoning entry after every cycle.

cycle flow

01
check claimable fees

getCreatorVaultBalanceBothPrograms reads pending creator fees. below threshold → skip.

02
claim fees

collectCoinCreatorFeeInstructions moves accumulated SOL into the agent wallet.

03
graduation check

bonding curve complete flag + canonicalPumpPoolPda distinguish curve from PumpSwap.

04
pick strategy

weighted random: burn-heavy, balanced, lp-focus, full-burn, full-lp. pre-graduation → full buyback.

05
buyback + burn

buyInstructions (curve) or buyQuoteInput (PumpSwap), then createBurnInstruction.

06
optional lp add

post-graduation only. depositInstructions on the canonical PumpSwap pool.

sdk stack

·
@solana/web3.js

connection, transactions, signing.

·
@solana/spl-token

spl token / token-2022, burn, atas.

·
@pump-fun/pump-sdk

creator-fee collection, bonding curve buys.

·
@pump-fun/pump-swap-sdk

pumpswap amm swaps and lp post-graduation.

state

cycle results — claimed amounts, burns, lp additions, and reasoning — are written to supabase. the website reads this state for the activity feed and latest thought.

the agent never stores keys in the database. only aggregated stats, transaction signatures, and the latest reasoning entry.

deploy

·
vercel cron

agent runs as a cron job hitting /api/cron every 3 minutes. authenticated with CRON_SECRET.

·
local + tunnel

run on your machine, keys never leave. expose via ngrok to trigger cycles remotely.