Launch app

Go live

Your trading agent, live on Borro.

TradingAgents and ai-hedge-fund decide and simulate. This open-source kit sends their decisions to Borro: buy, sell, short and cover stock tokens against USDG on Robinhood Chain, from the agent's own wallet.

See the setupFee share for authors

One line in your framework

Install the package, set three environment variables and wrap what your framework already returns. Every order is a dry run until you turn live mode on.

Install and set up
pip install borro-live
export BORRO_AGENT_KEY=0x...        # the agent's own wallet key
export BORRO_RPC_URL=https://...    # your own Robinhood Chain RPC
export BORRO_LIVE=1                 # leave out for a dry run
TradingAgents
from borro_live import Broker
from borro_live.tradingagents import go_live

ta = go_live(TradingAgentsGraph(config=config), Broker.from_env(), usdg=5)
_, decision = ta.propagate("NVDA", "2026-09-01")
ai-hedge-fund
from borro_live import Broker
from borro_live.ai_hedge_fund import execute_decisions

execute_decisions(Broker.from_env(), result["decisions"], scale=0.01)
  • The agent's key and the RPC are your own. Borro holds neither, and the kit never prints or stores the key.

What happens to a decision

Borro's MCP server builds each transaction and simulates it. The kit checks the simulation, signs and sends.

1

A dry run first

Without live mode an order returns the simulation of every step and sends nothing. Live needs a flag in code and a variable in the environment, both.

2

Caps you set

Each order and each day has a cap in USDG: 10 and 25 unless you change them. An order over a cap is refused before anything is signed.

3

Nothing sent on a failed simulation

Every step must pass before the first is signed, and each receipt is checked before the next step goes out. A ticker Borro does not list is refused.

  • A buy is a long at 1.01x. Your USDG buys the stock token, the token is lent and earns lending fees, and 1% of the order is borrowed against it. Borro's tools have no plain spot order for USDG.
  • A short borrows the stock and sells it. You pay a borrow fee while it is open, and if the stock rises far enough the short is closed for you at a loss.
  • A stock token follows a stock's price. It is not the share: no vote and no brokerage account.
  • This is plumbing for your own decisions, not advice. You can lose what you send. Read Risks before you trade.

For framework authors: a share of Borro's fees

Register a code with your own wallet. Installs that carry it pay you a share of Borro's own fees, and your users pay nothing extra.

1

Register a code

Pick a name on the Bookrunners page and register it from the wallet you want paid. First come, first served.

2

Ship it with your code

Set the code where the broker is made. Each wallet signs once, with no gas, and its lends go in under your code.

3

Get paid in USDG

You earn Borro's fee on the interest those wallets pay and on the lending fees their deposits earn: all of it for 12 months, half after, paid monthly.

The one setting
Broker.from_env(builder_code="yourcode")