Documentation
AFTERBELL docs
Everything about how AFTERBELL works: the six agents, the exit engine, the Verifier, replay, watches, payments and the trust model.
Overview
AFTERBELL answers one question for Robinhood Chain traders: if I sell this position right now, how much USDG do I actually get?
Your wallet shows a mark, a price multiplied by your balance. What the market pays is the exit: what the pools return after fees, price impact and stale prices. On thin pools paired with Robinhood Stock Tokens the two can be far apart, and wallets don't show the gap.
You paste a token (or its pool) and a position size. Six AI agents investigate one pinned mainnet block, deterministic code quotes and simulates every supported route, a Verifier checks the result, and you get one number: the real exit, with every claim linked to on-chain evidence.
Quickstart
- Open the app. Go to app.afterbellagents.xyz and log in with email or a wallet (via Privy).
- Paste a token or pool. Any token paired with a Robinhood Stock Token in a Uniswap V2 pool on Robinhood Chain, or the pool address itself.
- Enter your size in the token's units, e.g.
10000. - Run the agents. A full six-agent run takes about three minutes. You watch each agent start and finish live.
- Read the result. The headline is your exit in USDG, with the route, gas and validity. Below it: the agents' findings, the routes, the Verifier's checks and the written brief.
No wallet approval is ever needed to analyze. AFTERBELL only reads the chain.
How a run works
- Pin a block. The run picks a recent Robinhood Chain mainnet block. Every read uses that block, so the report is internally consistent and reproducible.
- Resolve the market (Pair agent). The address becomes a pool, a traded token, a Stock Token and USDG, matched by contract address and chain ID, never by symbol.
- Investigate in parallel. Stock, Flow, Exit and Replay run at the same time, each as its own Hermes Agent process.
- Verify. The Verifier checks the other five. If the pinned quote has aged past its validity window, the exit is re-quoted at a fresh block and any drift is disclosed.
- Write the brief. A brief is written only from verified claims; every factual sentence cites them.
- Publish. The report is saved with its evidence. When you open it later, the page fetches a live quote so the number you act on is current.
The six agents
Each specialist runs as its own Hermes Agent process (by Nous Research) on Claude Opus 5.5, and works through AFTERBELL's tools over MCP. A run only says “six agents ran” when all six processes were actually recorded.
Pair
Resolves the address you paste to a supported Uniswap V2 pool, the traded token, its paired Robinhood Stock Token and the quote asset, all by contract address and chain ID.
ReadsUniswapV2Factory.getPair, pool reserves, the RHJ Stock Token registry
Stock
Reads the paired Stock Token's reference price from Chainlink's Robinhood feeds, with each reading's age, and interprets the US market session.
ReadsChainlink latestRoundData (24/5 and 24/7 feeds), RHJ asset data
Flow
Accounts for what moved in the pool over the last 24 hours: swaps, buys and sells, the largest moves with transaction links, and liquidity changes.
Readseth_getLogs for Swap, Sync, Mint and Burn
Exit
Quotes every supported route into USDG for your exact size, picks the best, and simulates it at the pinned block. Fees and gas are itemized.
ReadsExact V2 math, Uniswap QuoterV2, eth_call with state overrides
Replay
Builds a timeline of the last 24 hours from timestamped on-chain observations and says exactly where its coverage ends.
ReadsPool logs and contract storage
Verifier
Cross-checks the other five: identity, provenance, timestamps, simulation status and arithmetic. Failures are published, never hidden.
ReadsThe other five agents' outputs and evidence
Pair runs first. Stock, Flow, Exit and Replay run in parallel once the market is known. The Verifier runs last.
Agents vs. code
The most important rule in AFTERBELL: agents never compute numbers.
- Prices, routes, quotes, simulation and arithmetic are deterministic code, using exact integer math on token base units.
- Agents call that code through tools, read the results, reason about them, and write findings.
- Every factual statement must cite evidence IDs that exist. Findings that cite nothing, or cite evidence that doesn't exist, are rejected.
- Interpretations are allowed but labelled as interpretations, so you can tell fact from opinion.
The MCP tools
afterbell_begin_task | Gives an agent its role and the typed outputs of the agents it depends on. |
afterbell_run_specialist | Runs the agent's deterministic chain reads at the pinned block and returns evidence. |
afterbell_submit_findings | Accepts the agent's findings; every fact must cite evidence IDs. |
afterbell_submit_brief | Accepts the written brief; every factual sentence must cite verified claims. |
afterbell_resolve_market | Resolves a token or pool to a supported market. |
afterbell_exit_quote | Quotes and simulates an exit into USDG. |
afterbell_get_report | Reads a published report. |
The exit engine
Supported markets
Tokens on Robinhood Chain paired with a registered Robinhood Stock Token in a Uniswap V2 pool, exiting to USDG (0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168).
Routes
- Pair → Stock Token → USDG (Uniswap V3) at the 0.01%, 0.05%, 0.3% and 1% fee tiers, wherever a pool exists.
- Pair → Stock Token → USDG (Uniswap V2).
- Token → WETH (V2) → USDG (V3), when the token also has a WETH pool.
Quoting and simulation
- V2 legs use exact constant-product math (x·y=k, 0.30% fee) from the pool's reserves.
- V3 legs are quoted through Uniswap's QuoterV2.
- The best route is then simulated with
eth_calland state overrides at the pinned block. Nothing is sent on-chain. A route is “simulation-verified” only when the simulation reproduces the quote. - Gas is estimated and itemized separately, never hidden in the number.
Validity and live quotes
A quote is valid for 60 seconds after its block. Pools move, so when you open a report whose quote has expired, the page re-runs the same route search and simulation at the latest block and shows it as a live quote. The agents' verified figure stays visible underneath. The report itself is never changed.
The Verifier
The Verifier is a separate step that re-checks everything before a report is published, using code, not opinion. Its checks fall into five groups:
- Identity: the pool comes from the official factory; the Stock Token and USDG are matched by contract address; lookalike tokens are flagged.
- Provenance: every fact cites existing evidence; all evidence is from chain 4663; nothing is from after the pinned block.
- Time: feed readings are not newer than the block; a stale quote is re-quoted at a fresh block, with drift disclosed.
- Simulation: the best route's output reproduces in a fixed-block simulation.
- Arithmetic: pair price recomputed from reserves; the V2 leg recomputed with x·y=k; the route size equals your size; the USD mark recomputed.
If a check fails, the report says so, as an inconsistency or a disclosed gap. Nothing is hidden.
The 23 checks from the latest public run
| pass | Pool confirmed by official Uniswap V2 factory |
| pass | Stock Token matched by contract address + chain ID |
| pass | Quote asset is the documented USDG contract |
| pass | Every factual claim cites existing evidence |
| pass | All on-chain evidence is from chain 4663 |
| pass | No evidence from after the pinned block |
| pass | Robinhood NVDA (24/7) updatedAt is not after the analysis block |
| pass | Robinhood NVDA / USD updatedAt is not after the analysis block |
| pass | Headline quote within 60s TTL when the report was assembled (re-quoted at block 126541058) |
| pass | Re-quoted route output reproduced by fixed-block simulation |
| pass | Best route output reproduced by fixed-block simulation |
| pass | Pair price recomputed from reserves |
| pass | V2 leg output recomputed with x·y=k (0.30% fee) |
| pass | Route input equals the entered size in base units |
| pass | USD mark = size × pair price × reference USD |
| pass | Historical V3 swaps re-derived exactly from reconstructed state |
| pass | Replay capture check: pair-factory |
| pass | Replay capture check: stock-registry |
| pass | Replay capture check: decimals |
| pass | Replay capture check: v3-factory |
| pass | Replay capture check: v3-math-vs-quoter |
| pass | Replay capture check: v2-sync-head |
| pass | Replay capture check: feed-coverage |
Reading a report
| Estimated net exit | USDG for your full size on the best route. Tagged Simulation-verified or Quote only, with its block and validity, or Live quote when refreshed. |
| USD mark | Size × pool price × the Stock Token's Chainlink price. Labelled stale when the feed is old, for example outside US market hours. |
| Exit vs. mark | How far the real exit sits below or above the mark: fees, price impact and the mark's age. |
| Specialists | Each agent's status, timing and findings, with links to their evidence. |
| Routes | Every route that was quoted, its output, and why any failed. |
| Verifier | Every check with pass or fail and its detail. |
| Brief | A short written summary built only from verified claims, with interpretations marked. |
Replay
Replay rebuilds a token's history from on-chain logs and contract storage, including Uniswap V3 tick state rolled back from the pinned block. It doesn't need an archive node.
- Every logged pool swap is re-derived exactly, to the wei, as proof that the reconstruction is right.
- You see the pair price, the stock's reference price and what you could have exited for at every point.
- Where history can't be reproduced, the point is shown as unavailable, not guessed.
A recorded week ships as a data file anyone can re-derive offline. See it on the replay page.
Watches and alerts
A watch keeps checking your exit after you leave.
- Choose a token or pool, your size and a floor in USDG.
- Review the exact payment and approve it (see Payments below).
- For 7 days, AFTERBELL re-quotes your exit about every 1 minute with deterministic code.
- If it falls below your floor, an alert lands in your inbox with the block, the quote and its evidence, and the full specialist team re-investigates.
Payments and the contract
Watches cost 1 USDG on Robinhood Chain mainnet, paid through the AFTERBELL WatchRedeemer contract:
| Contract | 0x99b1922119b3A129F5237bFA10F446De7E5D992F |
| Payment token | USDG 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 |
| Recipient (treasury) | 0xe6f85037966FFdD75CA31fC8c3Be12935fCBD903 |
| Source code | Verified on Sourcify (exact match) |
How paying works
- You sign a permit for exactly the watch price, then send one transaction. There is no open-ended approval on any token.
- The contract moves exactly that amount from your wallet straight to the treasury, once per order. It holds no funds.
- The server confirms the payment on-chain before activating the watch. Paying the same order twice is rejected.
What the owner can and can't do
- The owner wallet can change the watch price and the treasury address.
- A price change makes older unpaid orders fail rather than overcharge.
- The owner cannot move your funds, and the contract cannot touch any token other than the one you permit, for the exact amount.
The contract has not had a third-party audit yet. It is under 100 lines, built on OpenZeppelin, with its own test suite, and its source is public.
Networks and data sources
| Analysis | Robinhood Chain mainnet, chain ID 4663, read-only: full six-agent reports. |
| Elysium | Live: the exit engine on Elysium (Kinetiq), chain ID 99901, read-only. Any token into USDC across the official Uniswap V2, V3 and V4 deployments, best route executed at a pinned block, hooked pools flagged. Open the Elysium exit checker. The other agents follow. |
| Payments | Robinhood Chain, chain ID 4663, in USDG. |
| Chain data | Robinhood Chain RPC (docs). |
| Stock prices | Chainlink Robinhood feeds (24/5 and 24/7). |
| Stock Token registry | Robinhood RHJ assets. |
| DEX contracts | Uniswap deployments (V2 factory, V3 factory, QuoterV2). |
| Explorer | Robinhood Chain Blockscout; Elysium explorer. |
| Elysium contracts | Uniswap deployments for chain 99901 (V2 and V3 factories, QuoterV2, V4 PoolManager, StateView, V4Quoter), each verified onchain; USDC and WHYPE read onchain. |
Security and privacy
- Read-only analysis. Analysing a token never asks your wallet to approve or move anything.
- No custody. AFTERBELL never holds your funds. Watch payments go from your wallet straight to the treasury.
- Login. Email or wallet via Privy. The server verifies Privy's signed tokens, then issues its own secure, HTTP-only session.
- Assets matched by address. Tokens are always matched by contract address and chain ID, never by name or ticker, so lookalikes can't slip in.
- Public data only. The public site shows run results and system status, never who ran an analysis or anything about our servers.
The $AFTERBELL token
$AFTERBELL is the community token of AFTERBELL on Robinhood Chain.
- Network: Robinhood Chain mainnet (4663). View on the explorer.
- There is only one $AFTERBELL: the address above. Any other token using the name is not ours.
- You don't need the token to use AFTERBELL. Watches are paid in USDG.
Nothing on this site is financial advice. Do your own research.
Limitations
- Only markets paired with a registered Robinhood Stock Token in a Uniswap V2 pool are supported today.
- The exit is a verified estimate at a specific block, not a guaranteed fill. Prices and liquidity move.
- A route that is quoted but can't be simulated is marked Quote only.
- The public RPC has no archive state, so history uses logs and storage. Points that can't be reproduced are shown as unavailable.
- Alerts arrive in the app's inbox. Email delivery is not available yet.
Roadmap
| Now | Six-agent exit analysis, the Verifier with fresh re-quotes, replay from chain data, watches and in-app alerts paid in USDG. |
| Next | More venues (Uniswap V4 pools, aggregator routes), deeper history with an archive RPC, email and webhook alerts. |
| Later | Scaling out (Postgres and multiple workers), a third-party audit of the payment contract with a multisig owner, and more Robinhood Chain markets as new Stock Token pools appear. |
No dates we can't keep. Every shipped piece gets a public build log on X.
Glossary
- Exit
- The USDG you would receive selling your full size now on the best supported route.
- Mark
- A position's value at the current price, ignoring fees and price impact.
- Pinned block
- The single block every read in a run uses.
- Price impact
- How much your own sale moves the pool price against you.
- Robinhood Stock Token
- A tokenized stock on Robinhood Chain, priced by Chainlink feeds.
- Simulation-verified
- The quoted route was reproduced in a fixed-block
eth_callsimulation. - Evidence
- A recorded on-chain read (block, contract, method, result) that a fact must cite.
- Hermes Agent
- The open agent framework by Nous Research that runs each AFTERBELL specialist.
- MCP
- Model Context Protocol, the interface agents use to call AFTERBELL's tools.
- Permit
- A signature allowing a contract to take an exact token amount, instead of an open-ended approval.
- USDG
- Global Dollar, the stablecoin AFTERBELL quotes exits in and accepts for watches.