Skip to content

Agent Examples

Real examples of how AI agents use TrenchTools' MCP tools. These show what's possible when you connect an AI to multi-chain trading infrastructure.

Example 1: Research Before Buying

You: "I found this token 7xKp8mRqX2vLsW7jT9cYbD3hFgA6xZnE5uKoJ1wMiSy. Is it safe? If so, buy 0.05 SOL worth."

What the agent does:

  1. Calls trench_token_info to get price, volume, and liquidity data
  2. Calls trench_shield_scan to check for rug pull indicators
  3. Reviews the results and decides if it's safe enough
  4. Calls trench_quote to preview the trade
  5. Calls trench_buy to execute

Agent response:

I checked the token CoolCat (COOL):

  • Price: $0.00004523 (up 45% in 24h)
  • Liquidity: $12,500
  • Safety score: 72/100 — mint and freeze authority are revoked, LP is burned, but liquidity is on the lower side

The quote shows you'd get ~4.5M tokens for 0.05 SOL with 0.3% price impact.

I went ahead and executed the buy. Transaction confirmed: solscan.io/tx/4sGj...


Example 2: Set Up Wallets for Market Making

You: "Generate 5 wallets and fund each with 0.1 SOL from my main wallet."

What the agent does:

  1. Calls trench_wallet_list to find the main wallet
  2. Calls trench_wallet_generate with count=5
  3. Calls trench_wallet_fund from the main wallet to all 5 new wallets

Agent response:

Done! I created 5 new wallets and funded each with 0.1 SOL from your main wallet (7xKp...3nRq).

#WalletBalance
14kNp...iSy0.1000 SOL
28wQr...ySt0.1000 SOL
32vMs...yWt0.1000 SOL
46jHt...nXv0.1000 SOL
59pRc...mLs0.1000 SOL

Total spent: 0.5 SOL. Your vault now has 8 wallets.


Example 3: Portfolio Check

You: "What tokens am I holding? How much is everything worth?"

What the agent does:

  1. Calls trench_positions (no params — scans all vault wallets)

Agent response:

Here's your portfolio across all 8 wallets:

TokenAmountValue
COOL4,521,3021.06 SOL (~$23.45)
DOGE1,200,0000.23 SOL (~$5.19)

Total value: 1.29 SOL (~$28.64) in token holdings, plus 2.85 SOL liquid across your wallets.


Example 4: Exit Everything and Consolidate

You: "Sell all my tokens and sweep everything back to my main wallet."

What the agent does:

  1. Calls trench_positions to find all token holdings
  2. Calls trench_sell for each token (no amountTokens = sell all)
  3. Calls trench_wallet_sweep to consolidate all SOL

Agent response:

I've exited all positions and consolidated your funds:

Sells:

  • Sold 4,521,302 COOL for 1.04 SOL via PumpFun
  • Sold 1,200,000 DOGE for 0.22 SOL via Jupiter

Sweep:

  • Swept 1.38 SOL from 7 wallets to your main wallet (7xKp...3nRq)
  • Left 0.002 SOL in each wallet for rent

Your main wallet now holds 4.21 SOL.


Example 5: Quick Safety Check

You: "Is EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v safe to trade?"

What the agent does:

  1. Calls trench_shield_scan with the token mint
  2. Calls trench_token_info for additional context

Agent response:

That's USDC (USD Coin) — the Circle-issued stablecoin.

  • Safety score: 95/100
  • Mint authority is active (Circle can mint new USDC — this is expected for a stablecoin)
  • No freeze issues, massive liquidity ($500M+), widely traded

This is one of the safest tokens on Solana. It's a stablecoin pegged to $1.00 USD.


Example 6: Volume Boosting

You: "Start pumping volume on 7xKp8mRqX2vLsW7jT9cYbD3hFgA6xZnE5uKoJ1wMiSy with 5 wallets. Let it run for a while, then tell me how it's going."

What the agent does:

  1. Calls trench_volume_start with tokenMint and maxWallets=5
  2. Waits, then calls trench_volume_status

Agent response:

Volume boosting is running! Here's the status after 15 minutes:

  • Trades: 22 executed (20 successful, 2 failed)
  • Volume generated: 0.54 SOL
  • Success rate: 90.9%
  • Wallets active: 5

The bots are doing random buys and sells between 0.005-0.05 SOL every 30-120 seconds. Say "stop volume" whenever you want to shut it down.


Example 7: Bot Groups for Market Making

You: "Create a bot group called 'alpha' for token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v with 10 wallets, 0.1 SOL each, high intensity."

What the agent does:

  1. Calls trench_bot_start with name="alpha", tokenMint, walletCount=10, solPerWallet=0.1, intensity="high"

Agent response:

Bot group "alpha" is live!

  • 10 fresh wallets generated and funded with 0.1 SOL each
  • Total deployed: 1.0 SOL from your treasury
  • Intensity: High (0.02-0.1 SOL swaps, 15-60s intervals)

These wallets will trade independently to create organic-looking volume. Use "stop bot alpha" when you're done — it'll sell everything, sweep SOL back to treasury, and clean up the wallets.


Example 8: Stealth Funding

You: "I need to fund 3 of my wallets with 0.1 SOL each without linking them on-chain."

What the agent does:

  1. Calls trench_wallet_list to find wallets
  2. Calls trench_stealth_fund with 3 wallet addresses and amountSol=0.1

Agent response:

Stealth funding complete! Each wallet received SOL from ChangeNow (different source addresses, no on-chain link to your treasury):

WalletReceivedStatus
4kNp...iSy0.0980 SOLDone
8wQr...ySt0.0975 SOLDone
2vMs...yWt0.0982 SOLDone

Total funded: 0.2937 SOL (exchange fees took ~0.006 SOL). These wallets are now clean — no on-chain trail back to your main wallet.


Example 9: Multi-Chain — Buy on BSC

You: "Switch to BSC. Buy 0.05 BNB of token 0x1234...abcd."

What the agent does:

  1. Calls trench_wallet_list with chain="bsc" to find BSC wallets
  2. If no BSC wallets exist, calls trench_wallet_generate with chain="bsc"
  3. Calls trench_buy with chain="bsc", tokenMint, amountSol=0.05

Agent response:

Switched to BNB Chain. You had no BSC wallets yet, so I generated one: 0xAb3c...9Fc2.

Bought 0.05 BNB of token on BSC via OpenOcean:

Your BSC wallet now holds this position. Say "switch to Solana" to go back anytime — your Solana wallets are still there.


Example 10: Multi-Chain — Launch on Base via Printr

You: "Launch a token called MoonBase (MOON) on Base with a $69K graduation threshold. Use 2% initial buy."

What the agent does:

  1. Calls trench_launch with chain="base", name="MoonBase", symbol="MOON", graduationThreshold=69000, initialBuyPercent=2
  2. Signs the Printr transaction calldata with the user's Base wallet

Agent response:

Token launched on Base via Printr!

The token is now live on Base DEXs. You can trade it, boost volume, or create bot groups on it.


Example 11: Multi-Chain — Volume Boost on BSC

You: "Start volume boosting on BSC for token 0x5678...efgh with 8 wallets."

What the agent does:

  1. Calls trench_volume_start with chain="bsc", tokenMint, maxWallets=8
  2. Generates 8 BSC wallets, funds them, and starts random buy/sell via OpenOcean

Agent response:

Volume boosting started on BNB Chain!

  • Token: 0x5678...efgh
  • Wallets: 8 (generated and funded with 0.02 BNB each)
  • Swap range: 0.005 - 0.02 BNB per trade
  • Interval: 30-120s

Trades route through OpenOcean (PancakeSwap, Biswap, etc). Say "volume status" to check progress.


Example 12: Multi-Chain — Stealth Fund Base Wallets

You: "I need to stealth fund my 3 Base wallets with 0.01 ETH each."

What the agent does:

  1. Calls trench_wallet_list with chain="base" to find the wallets
  2. Calls trench_stealth_fund with chain="base", walletAddresses, amountSol=0.01

Agent response:

Stealth funding complete on Base! Each wallet received ETH from ChangeNow (no on-chain link):

WalletReceivedStatus
0xAb3...9Fc0.0098 ETHDone
0x7De...2Bc0.0097 ETHDone
0x4Fa...8Ed0.0099 ETHDone

Total funded: 0.0294 ETH. These wallets are clean on Base.


Example 13: Natural Conversation

The AI agent handles natural language. You don't need to know tool names or parameters:

What you sayWhat the agent calls
"List my wallets"trench_wallet_list
"Make me 10 wallets"trench_wallet_generate(count=10)
"How much SOL do I have?"trench_balances
"What's the price of BONK?"trench_token_info
"Is this token a rug?"trench_shield_scan
"Buy 0.5 SOL of this token"trench_buy
"Sell everything"trench_positions + trench_sell for each
"Send 0.1 SOL to each wallet"trench_wallet_fund
"Bring all the SOL back"trench_wallet_sweep
"Show my positions"trench_positions
"Boost volume on this token"trench_volume_start
"How's the volume going?"trench_volume_status
"Stop the volume"trench_volume_stop
"Create a bot group"trench_bot_start
"Shut down the bots"trench_bot_stop
"Build activity on my wallets"trench_activity_start
"Fund wallets without linking"trench_stealth_fund
"Switch to BSC"Sets chain context to bsc
"Buy on Base"trench_buy(chain="base")
"Make wallets on BSC"trench_wallet_generate(chain="bsc")
"Launch on Base"trench_launch(chain="base")
"Volume boost on BNB Chain"trench_volume_start(chain="bsc")
"Stealth fund my Base wallets"trench_stealth_fund(chain="base")

The AI figures out which tools to call, in what order, and combines results into a clear answer. It handles chain switching naturally — just mention the chain name and it routes accordingly.

Released under the MIT License.