fund-agent
Collect pending pump.fun fees, swap SOL to USDC via Jupiter with a gas reserve, and create a stable agent budget. Preview the quote, then confirm to execute.
Instructions
One-prompt loop that turns creator fees into an agent budget: optionally collect pending pump.fun fees, then swap SOL→USDC via Jupiter (keeping a gas reserve) so the wallet holds a stable budget. Preview first (no confirm) — it shows the live quote; call with confirm: true after the user approves. Honest by design: the USDC stays in the wallet; it does not auto-pay Anthropic/OpenAI (fiat-only) or OpenRouter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Wallet name (default: project directory name) | |
| confirm | No | Set true only after the user approved the preview | |
| dry_run | No | Quote and sign but never execute the swap | |
| keep_sol | No | Gas reserve to keep in SOL (default 0.01) | |
| sol_amount | No | SOL to swap (default: everything above the gas reserve) | |
| slippage_bps | No | Swap slippage in bps (default 100 = 1%) | |
| collect_first | No | Collect pending creator fees before swapping (default true) |