๐Ÿ’ฌ Prompts (3)
For AI Agents

Prompts (3)

Pre-built strategy prompts that guide the AI agent through complete flash loan workflows. Each prompt includes step-by-step instructions and tool call sequences.

flash_arbitrage

Guides the agent through a complete arbitrage strategy: check liquidity, find the best route, verify profitability, build the transaction.

ParameterTypeDescription
tokenstring (required)Token to borrow (SOL, USDC, mSOL...)
amountnumber (required)Amount to borrow
// Agent receives this strategy guide:
Step 1: Call vaea_get_capacity(token) โ€” check available liquidity
Step 2: Call vaea_find_best_route(token, amount) โ€” find optimal protocol
Step 3: Call vaea_check_profitability() โ€” verify profit after costs
Step 4: Call vaea_build_flash_loan() โ€” construct TX
Step 5: Insert arb instructions at _agent_hint position

flash_liquidation

Guides the agent through flash loan-powered liquidation: borrow collateral token, liquidate unhealthy position, receive bonus, repay.

ParameterTypeDescription
protocolstring (required)Lending protocol to liquidate on (marginfi, kamino...)
tokenstring (required)Collateral token to borrow

flash_collateral_swap

Guides a collateral swap: borrow new collateral, deposit into position, withdraw old collateral, swap, repay.

ParameterTypeDescription
from_tokenstring (required)Current collateral token
to_tokenstring (required)Desired collateral token
lending_protocolstring (required)Protocol where the position exists
โ„น๏ธ Note
Prompts are optional guides. The agent can also compose tool calls freely without following a prompt template. Prompts just provide pre-optimized workflows for common strategies.
โš ๏ธ Devnet Only
Mainnet โ€” April 2026
๐Ÿ”