Execute Solana DEX swaps with safety checks
The agent discovers tokens, performs safety checks, quotes prices, and generates unsigned Solana swap transactions for local signing, ensuring non-custodial execution.
How it works
The agent connects to the Autonomous Intelligence MCP server to access DEX execution tools. It first uses discovery tools (quote, safety, gems, token info) which require no API key to find tradeable tokens and verify safety. For actual swaps, it requires an AI_AGENT_KEY. The agent calls /agent/swap/build to get an unsigned transaction, ensuring keys never leave the environment, and the user signs it locally. This allows for automated, safe crypto trading.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Find the best price to swap 0.1 SOL to USDC. Run a safety check on the output, then build the unsigned swap transaction.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Give any AI agent the power to discover, safety-check, quote and execute Solana swaps, earning you the built-in platform fee on every trade.Jarvis Cloud API, OpenAI-compatible inference · Autonomous AI