Development log · Solana · pump.fun
Cyrobot: an AI trading agent, built in public.
An experimental reinforcement-learning agent for Solana's pump.fun, built and run with Claude Code, Hermes Workspace and an Obsidian knowledge base. This page is about the engineering, including the parts that went wrong.
Current status
Research stage. Running in dry-run. Not profitable. Not for sale. Every P&L, win-rate and other performance figure on this page comes from dry-run trading on real pump.fun launches, live on Solana mainnet. Not a backtest. Only the bot's own orders are simulated rather than sent. Decision-to-fill latency and pump.fun's fees are measured from our own live trades; priority fees and the price impact of our sells are estimated. Real-money trading has lost money, and simulated results have looked better than live. Read the disclaimer.
The story so far
- January to July 2026
Too good to be true. The bot's trade log showed profits that grew month after month. The wallet on-chain told a different story: it lost money. Two things caused the gap. The log mixed simulated and real trades without labelling which was which, and the simulator filled every order instantly at the price the model saw while charging almost nothing in fees.
- June to August 2026
Rebuilding the simulator against the chain. Every trade is now labelled simulated or real. Decision-to-fill latency is sampled from fills measured on the bot's live transaction path. Each simulated trade is also charged the base network fee, an assumed priority fee, Jito tips, and pump.fun's protocol and creator fees as measured from on-chain fee transfers, plus an estimate of its own buy's price impact on the bonding curve. By August the simulated profits were gone, which was the point: the simulator had moved much closer to what the wallet showed.
- September 2026 onward
Closing the gap. With a more honest simulator, the work became making the agent lose less per trade: better entries, fewer bad trades, smarter exits. Changes are tested in dry-run as controlled A/B arms before they are adopted. The charts below are that work.
Average return per trade, by week
DRY-RUN on live Solana mainnet launches, not a backtest. Each bar is the average result of a closed position as a percentage of the SOL put into it, after all modelled costs. This is the fairest measure across the period, because trade volume and position size changed a lot.
DRY-RUN win rate
DRY-RUN on live Solana mainnet launches, not a backtest. A win is a closed position whose net P&L, after all modelled costs, is above zero. Across all 43,941 closed positions since September 1: DRY-RUN win rate 28.3%. Data through November 22, 2026.
| Week of | Positions | DRY-RUN win rate |
|---|---|---|
| Sep 1 | 8,283 | 11.0% |
| Sep 7 | 5,018 | 24.9% |
| Sep 14 | 5,537 | 28.7% |
| Sep 21 | 5,995 | 31.3% |
| Sep 28 | 5,178 | 34.1% |
| Oct 5 | 4,767 | 37.9% |
| Oct 12 | 3,108 | 36.5% |
| Oct 19 | 2,100 | 32.4% |
| Oct 26 | 1,010 | 37.7% |
| Nov 2 | 1,924 | 30.0% |
| Nov 9 | 409 | 46.0% |
| Nov 16 (in progress) | 612 | 45.1% |
A DRY-RUN win rate says nothing about the size of wins and losses. Every week above still averaged a loss per position, so a higher DRY-RUN win rate has not meant profit.
Daily P&L in SOL
DRY-RUN on live mainnet launches. Shown for completeness, but read it with care: the bot went from about 1,496 trades a day to about 87, and position size dropped from roughly 0.5 SOL to 0.1 SOL. Most of the shrinking loss here comes from trading less, not from trading better. The weekly chart above is the one that measures the improvement.
How it's built
Four stages, from the chain to a decision.
Data stream
New pump.fun tokens, bonding-curve account updates and program logs arrive over a Yellowstone Geyser gRPC stream from Chainstack (Referral link), with WebSocket subscriptions as the fallback. Chainstack also runs the bot's Solana RPC and WebSocket nodes. A selector model ranks the new tokens and promotes candidates into position slots.
Feature pipeline
On every tick, each slot is encoded into a 142-feature state vector in twelve blocks, covering the token itself, timing, market microstructure, creator risk, the open position, rug signals, live trade flow from the stream, wallet-manipulation checks and price trajectory.
Entry and exit agents
Two separate reinforcement-learning (PPO) policies read that same 142-feature state. The entry model decides whether to buy a promoted token; the exit model manages the open position, including partial sells. Both are trained on data the bot records as it runs. Rule-based guardrails, such as stop-losses and a dead-token exit, can override them.
Simulator
In dry-run the bot's own orders are filled by a simulator that aims to charge what a live trade pays: a fill price taken after a latency sampled from live fills, network and priority fees, Jito tips, pump.fun's fees and an estimate of price impact. It has not been verified against live fills, and it cannot model how other traders react to our orders.
The tooling behind it
Cyrobot is developed by one person with a team of AI agents. The guides on this site teach that setup.
Claude Code
Anthropic's coding agent does most of the engineering, with persistent memory and custom skills.
Hermes Workspace
An open-source multi-agent platform by outsourc-e, configured to run scheduled jobs, monitoring and research.
Obsidian
A vault of hundreds of notes acts as long-term memory, so every post-mortem and lesson is searchable.