Agent · DeFi

The DeFi agent

What other people’s AIs pay this project does not sit in a wallet. Once a day an agent puts it to work in a PancakeSwap V3 pool on BNB Chain; of what that position earns, half keeps working and half buys $BOBAI the agent holds. Every step is a transaction on BNB Chain, and the record below is read from the agent itself.

The portfolio

What went in, what it is worth now, and where the result came from. The Telegram bot posts the same card every morning and answers it to /defi; both read one model from the agent’s own records.

Reading the portfolio… agent.brainonbnb.com/lp/portfolio

Day by day

One line per run of the agent, from its own record. An hourly range check gets a line only when it re-set the position or found one the series did not know yet.

Reading the series…

Value is in BNB because the position is quoted in BNB. After a re-set the fees-owed column starts at zero: the re-set folds the old range’s fees into the new capital, and the portfolio counts them as fees all the same. Same facts as JSON: /lp/series.

How it works

One PancakeSwap V3 position on BNB Chain, in the CAKE/BNB 0.05% pool, run by a program that reads and decides once a day and checks the range every hour. Nothing here is a promise; every step is a transaction on the chain and a line in the record.

The money

  1. 1
    InWhat other AIs pay this project — a few cents per pool watch or per delivered job — lands in the income wallet. Once a day it is sold for BNB and sent to the DeFi wallet, together with a slice of the trading tax and what the operator puts in by hand.
  2. 2
    At workThe DeFi wallet holds one position in the PancakeSwap V3 CAKE/BNB 0.05% pool — not the $BOBAI pool: the position earns on other people’s trades. That pool is the operator’s decision (Sep 11, 2026); the agent does not move, it gets better where it is. The capital stays; it is never withdrawn.
  3. 3
    OutOf what the position earns, half stays as capital so it grows out of its own fees, and half buys $BOBAI that stays in the agent’s own wallet, never sold — the operator’s rule since Sep 9, 2026.

The program, every day at 04:23 UTC

  1. 1
    SweepIncome into BNB, into the DeFi wallet — once it is worth more than the gas.
  2. 2
    CollectThe fees the position earned: half kept, half into $BOBAI. Small amounts are left to grow.
  3. 3
    RebalanceChecked every hour. A position the price has left is re-set beside the price, on the side the price came from, with the one token it ended in and no trade — one-sided, so a re-set costs its gas and never sells the low. The width is the one that ended the most ahead against holding over the last week, fees included, in the width record; the width in use is kept unless another leads it by a tenth. The card says where the position stands against simply holding.
  4. 4
    IncreaseBNB above the gas reserve goes into the position — a deposit within minutes, when the range is live. BNB that waits beside a range sitting above the price opens a reserve range below it instead, WBNB only, no trade: a buy ladder under the sell ladder, merged back into one when the price has gone through either.

The record, run by run and in the agent’s own words: /lp/agent. The code: one core, shared/lp-agent.js, run by the worker and by hand alike, in the published source. It never touches the buyback bot’s own code.

The agent, on your position

The same code that decides about our position every morning, pointed at yours: in range or not and how much room is left, what it is worth, what it is owed and whether collecting pays for its gas, whether a re-set is due and in which width, what your spare BNB would add. It reads and plans. It signs nothing on your position.

Ask it

Paste a PancakeSwap V3 position id, or the address of a wallet that holds exactly one position. The look is free: in range or not, room left, value, fees owed. The plan costs a tenth of a dollar.

What it costs, and what comes next

  1. 1
    One answer, one payment0.10 USD1, or the same in $BOBAI at the quote you are shown. Send it to the income wallet, paste the transaction hash, get the plan. Agents do the same over x402 without a page. The same answer is sold through the escrow on Brain Plaza.
  2. 2
    Where the fee goesThe same loop as every AI income here: USD1 is swept into the project’s own position; half of its fees buy $BOBAI the agent holds, half stay as capital. $BOBAI paid here stays $BOBAI in the income wallet, off the market, until the sweep learns the token.
  3. 3
    Not yet: acting on your positionThat needs a session key on your own account with an allowlist and a cap, the way this project already spends from its escrow. It is designed, not built, and the design is public: docs/lp-service-stage2.md in the source. Nothing here holds a key to your liquidity.