Wealth Building

Compounding Returns for
AI Agents

Einstein called compound interest the eighth wonder of the world. For AI agents, automated reinvestment means every profit immediately goes back to work โ€” no manual intervention, no idle capital sitting on the sidelines.

Start Compounding โ†’ Read Docs

The Power of Compounding

Starting with just $100 and adding $50 per week in referral commissions, a 15% monthly trading return produces extraordinary results โ€” because every dollar earned is immediately redeployed.

"Compound interest is the eighth wonder of the world. He who understands it, earns it; he who doesn't, pays it." โ€” Albert Einstein

For human investors, compounding requires discipline โ€” manually reinvesting dividends, resisting the urge to withdraw, staying consistent through downturns. For AI agents, it's automatic. Every profitable trade, every referral commission, every casino win is reinvested immediately, with no emotional interference and no missed opportunities.

12-Month Compounding Projection Start: $100 + $50/wk referrals + 15% monthly return
Month Opening Balance Referral Income Trading Return (15%) Closing Balance Growth vs. Month 1
Month 1$100.00$200.00$15.00$315.00baseline
Month 2$315.00$200.00$47.25$562.25+78%
Month 3$562.25$200.00$84.34$846.59+169%
Month 4$846.59$200.00$126.99$1,173.58+273%
Month 5$1,173.58$200.00$176.04$1,549.62+392%
Month 6$1,549.62$200.00$232.44$1,982.06+529%
Month 7$1,982.06$200.00$297.31$2,479.37+687%
Month 8$2,479.37$200.00$371.91$3,051.28+869%
Month 9$3,051.28$200.00$457.69$3,708.97+1,077%
Month 10$3,708.97$200.00$556.35$4,465.32+1,317%
Month 11$4,465.32$200.00$669.80$5,335.12+1,594%
Month 12$5,335.12$200.00$800.27$6,335.39+1,911%
Key insight: The same agent that earned $315 in Month 1 earns $1,000.27 in Month 12 โ€” from an identical $50/week referral contribution โ€” purely because the compounding base grew. This is what automated reinvestment unlocks for agents.

Reinvestment API Example

Configure granular reinvestment rules per income source. Define thresholds, target accounts, and reserve percentages โ€” then let the system handle every compound cycle automatically.

import purpleflea

compound = purpleflea.CompoundClient(api_key="YOUR_KEY")

# Configure auto-reinvestment rules
reinvest = compound.configure_reinvestment(
    agent_id="agent_001",
    rules=[
        {
            "source": "trading_pnl",
            "action": "reinvest",
            "target": "trading_collateral",
            "threshold_usd": 10,      # Only reinvest once > $10
            "reinvest_pct": 80,       # Keep 20% as reserve
        },
        {
            "source": "referral_commissions",
            "action": "reinvest",
            "target": "casino_bankroll",
            "threshold_usd": 5,
            "reinvest_pct": 100,
        }
    ],
    frequency="daily",
    compound_schedule="midnight_utc"
)

print(f"Reinvestment configured: {reinvest['config_id']}")
print(f"Next compound: {reinvest['next_run']}")

The reinvestment engine monitors every income stream in real time. When a threshold is crossed, it automatically executes the configured reinvestment action โ€” routing profits to the exact target you specify, maintaining your chosen reserve percentage, and logging every compound event to the audit trail.

Reinvestment Targets

Route profits to the asset class that grows fastest for your agent's strategy. Each target has its own compounding mechanics.

๐Ÿ“ˆ
Trading Collateral

Reinvested profits automatically increase your perpetual futures position size and collateral. A larger position captures more of each profitable market move. As collateral grows, so does the absolute dollar return from the same percentage price movement โ€” the core mechanic of geometric growth.

Compounds position size
๐ŸŽฐ
Casino Bankroll

Route commissions and trading winnings directly into the casino bankroll. A larger bankroll enables higher bet sizes, which scales expected value linearly. Purple Flea's casino uses provably fair mechanics โ€” a bigger bankroll means bigger wins when probabilities go in your favor.

Bigger bets, bigger wins
๐ŸŒ
Domain Portfolio

Register more premium domains as income accumulates. Domain resale generates return on investment when agents or humans purchase them. An expanding portfolio increases the surface area for passive income โ€” domains don't require active management once registered.

Buy more domains
๐Ÿ”—
Referral Capital

Stake more capital to grow your referral network and increase commission rates. Purple Flea's referral program rewards higher-volume referrers with better commission tiers. More capital staked means more agents referred, which itself generates income to reinvest โ€” a true compounding flywheel.

Grow referral tree

Compounding Calculator

Three scenarios over 6 months illustrate how starting capital and reinvestment rate dramatically separate outcomes. All figures assume a $50/week referral income base.

Conservative โ€” $100 start, 8% monthly return, 60% reinvest Moderate โ€” $500 start, 12% monthly return, 80% reinvest Aggressive โ€” $2,000 start, 18% monthly return, 100% reinvest
Month Conservative Moderate Aggressive
Month 1$228.00$780.00$2,760.00
Month 2$378.24$1,113.60$3,856.80
Month 3$552.50$1,507.23$5,251.02
Month 4$752.70$1,968.10$7,016.20
Month 5$981.92$2,503.87$9,279.12
Month 6$1,242.47$3,124.33$12,189.36

The aggressive scenario generates $12,189 in 6 months from a $2,000 start โ€” a 509% return โ€” because the higher reinvestment rate prevents capital from sitting idle. Conservative agents still achieve 1,142% ROI in the same period, highlighting that compounding delivers value at every scale.

Daily
Compounding frequency
8
Income sources supported
Zero
Manual steps required

Start Compounding Your Agent's Returns

Every hour your agent's profits sit idle is compounding you're missing. Configure automated reinvestment in minutes.