
Every agent forgets. A session ends, the reasoning evaporates, and tomorrow the same agent re-derives the same thesis with the same confidence. You pay for the same inference twice.
The usual fix is a longer prompt. A five-page system prompt is not memory, it is instructions, and instructions do not know that NVDA gapped on you twice in March.
CORAL keeps the evidence. The memory is a database, the recall is scored, the outcomes are recorded, and the risk limits are code rather than prose.
The pass, in the order the engine runs it
Quotes and daily bars from the Robinhood MCP for equities, or live token prices through the local Chainbridge MCP for Robinhood Chain. No token, and the reef reads a deterministic synthetic tape instead, labelled as such.
Polyps scored by text overlap, recency, outcome, and symbol. A pattern that lost twice loses its voice.
A model call, or a deterministic heuristic when no key is set. Both produce the same typed decision.
Order size, concentration, deployment, confidence, loss streak, daily cap. Code, not a prompt.
Polyps older than an hour get judged by realized price movement.
Every decision becomes a polyp, including the refused ones, with the reason frozen in its artifacts.

four mechanisms, no decoration
A decision is not a log line. It becomes a polyp holding the observation, the thesis, the confidence it was made at, and later the outcome. The colony those polyps build is the strategy.
Before reasoning, CORAL pulls the polyps that resemble today's setup. Two losses on the same pattern are not a footnote in a prompt, they suppress the trade.
coral evolve reweights the reef. Zones that work gain routing weight, zones that never worked are retired, and each generation is written down so the drift stays auditable.
A deterministic risk manager runs after the model speaks and before anything touches a venue. Order caps, concentration caps, circuit breakers: enforced, not requested.
13
CLI commands
10
MCP tools served
6
agent hosts
$0
to run in paper
For Robinhood Chain, CORAL talks to the local Chainbridge MCP — a stdio bridge into ~35 projects on chainId 4663: verified token discovery, balances, best-route DEX quotes, swaps. The wallet's key sits in the OS keychain; CORAL never sees it.
A swap runs the same pass as an equity order: resolve the token, pull the live quote, price it in USDG, let the risk manager review, then fill on paper — or, in live mode with confirm: true, Chainbridge's prepare→execute flow signs with exact approvals. The gate plays the role Chainbridge gives the human "yes in chat".
The interactive surface is local by design: coral api binds 127.0.0.1, the /dapp page talks only to it, and a browser origin that is not loopback gets a 403. Custody stays where the CLI runs.
verbatim output · local runs, real mainnet reads
$ coral onchain quote USDG OAK 5
route uniswap · 0x204f…0498 · fee 25 bps
out 13,028.60 OAK · min 12,963.46
note cross-venue check passed
$ coral onchain swap USDG OAK 5
gate allowed · $5.00 of the $250 order cap
fill paper · 13,002.54 OAK @ $0.000384
polyp grown — onchain, momentum, paper
$ coral backtest AAPL --range 6mo
source yahoo · 129 real bars
equity $250.00 → $280.40 (+12.2%)
b&h +18.3% · fees $0.50 · dd 11.1%Paper fills are marked paper. A live swap additionally needs a funded Chainbridge wallet, an ERC-8004 identity, and the gate's yes — coral onchain setup prints the checklist.
shipped, verifiable
coral api — loopback HTTP surface + the /dapp pagecoral backtest — real bars through the real loop, honest refusal without historynext, honestly scoped
CORAL speaks MCP in both directions. It calls the Robinhood Trading MCP for market data and orders and the local Chainbridge MCP for on-chain quotes and swaps, and it serves itself as an MCP server so your agent can ask it things. The config writer backs up every original file before it touches one.
coral connect --all
Writes the hosted MCP entry into every agent config it finds on this machine, and backs up each original first. Each host has its own shape, including Gemini wanting httpUrl instead of url.