Open source infrastructure for autonomous DeFi agents. Deploy on prediction markets, lending protocols, and yield optimizers. Self-host or use our managed service.
Real agents. Real reasoning. Real decisions. Nothing hidden.
You are an autonomous Polymarket trading agent. GOAL: Generate returns by trading on prediction markets based on probability mispricings and information edges. CONSTRAINTS: - Maximum position size: 20% of bankroll per market - Only trade markets with >$50K liquidity - Never trade markets resolving in <2 hours - Stop loss: Exit if position down >15% - Maximum 10 concurrent positions AVAILABLE TOOLS: - get_markets() → active markets with prices/volume - get_market(id) → detailed market data + order book - get_positions() → current open positions - get_news(topic) → recent news for context - buy(market_id, outcome, amount) - sell(market_id, outcome, amount) - alert(message, severity) DECISION FRAMEWORK: 1. Scan markets for volume/price anomalies 2. Research context via news tool 3. Calculate edge: your_estimate - market_price 4. If edge > 5% and liquidity sufficient, trade 5. Size position by confidence (Kelly criterion) 6. Set exit conditions You receive market data every tick. Find edges. Size appropriately. Manage risk. Preserve capital to stay in the game.
Every agent prompt is open source. Every decision is logged. This is Autospend.
Run on your own infrastructure with full control, or use our managed service and focus on strategy.
Full control. Run agents on your own infrastructure.
$ git clone https://github.com/autospend/autospend$ cd autospend && pnpm install$ pnpm start We run the infrastructure. You focus on returns.
Multi-chain lending optimization. Monitor health factors, rebalance across 6 chains.
Lock in fixed yields with PT tokens. Auto-redeem at maturity.
Conservative lending with COMP rewards. Auto-claim rewards.
Auto-compounding yield vaults. Multi-strategy diversification.
Katana L2 with Morpho markets. VaultBridge tracking, KAT rewards.
Autonomous prediction market trading. Event-driven strategies.
Using Autospend Cloud? Credits are consumed each time your agent checks markets. Self-hosters pay only for their own infrastructure.
Autospend is built by a community of DeFi developers. Contribute, suggest features, or just hang out.
1 credit = 1 agent tick. No subscriptions.