Buff round-up investing plugin for ElizaOS. Auto-invests spare change from every agent transaction into crypto assets via Jupiter on Solana.
npm install @elizaos-plugins/plugin-buffSet environment variables:
BUFF_AGENT_SEED=your-32-byte-hex-seed # Deterministic wallet (optional — generates random if not set)
BUFF_PLAN=sprout # seed|sprout|tree|forest
BUFF_INVEST_INTO=BTC # BTC|ETH|SOL|USDC
BUFF_THRESHOLD=5 # USD threshold before auto-swap{
"name": "my-agent",
"plugins": ["@elizaos-plugins/plugin-buff"]
}| Action | Trigger | Description |
|---|---|---|
BUFF_ROUNDUP |
"round up my $4.73 transaction" | Record a round-up |
BUFF_INVEST |
"check my Buff investments" | Check threshold & auto-invest |
BUFF_PORTFOLIO |
"show my Buff portfolio" | View invested assets |
BUFF_SET_PLAN |
"set plan to tree" | Change round-up tier |
BUFF_SET_ALLOC |
"set allocation 60% BTC 40% ETH" | Set portfolio split |
The buffPortfolioProvider automatically injects portfolio context into agent conversations, so the agent knows its investment status.
- Agent makes transactions (swaps, API calls, payments)
- Each transaction is rounded up to the nearest increment
- Spare change accumulates in the agent's Buff wallet
- When threshold is reached → auto-swap to BTC/ETH via Jupiter
- Agent builds a crypto portfolio passively
MIT