Showcases
This section illustrates how users can leverage the FMCP Forge by simply providing a natural language prompt. The Forge then intelligently generates a Strategy Agent by identifying and orchestrating the necessary Capabilities from the FMCP Marketplace to achieve the user's stated goal.
Below are examples of such prompt-generated Strategy Agents, showcasing the versatility and power of this approach.
Example Showcases
1. DEX Aggregation Strategy Agent
User Prompt:
Generated Strategy Agent: The Forge interprets the prompt, identifies relevant DEX querying and execution capabilities from the Marketplace, calculates the optimal route considering factors like gas costs and price impact, and then executes the swap on the best-identified DEX.
Potential Capabilities Utilized by Forge:
query_price_uniswap_v3
query_price_sushiswap
query_price_curve_v2
calculate_optimal_swap_route
(Utility Capability)execute_swap_on_dex
(Parameterized Capability)get_gas_price_estimate
2. Portfolio Rebalancing Strategy Agent
User Prompt:
Generated Strategy Agent: The Forge sets up a monitoring agent. This agent uses capabilities to periodically check the user's multi-asset balances (likely on Binance via API), fetch current prices to calculate current allocations, compare these to the target allocations, and if deviations exceed the 5% threshold, execute the necessary market orders on Binance to rebalance.
Potential Capabilities Utilized by Forge:
get_wallet_balance_multi_asset
(Binance)get_token_price_oracle
(or Binance API for prices)calculate_rebalancing_trades
(Utility Capability)execute_market_order_binance
3. Yield Opportunity Discovery Strategy Agent
User Prompt:
Generated Strategy Agent: The Forge generates an agent that schedules weekly scans. It uses capabilities to find USDC lending pools on Aave and Compound across both Ethereum and Polygon. It then filters these pools by checking their audit status (potentially via a
check_audit_status_defisafety
utility that interacts with an external data source like DeFi Safety) and ensuring their Total Value Locked (TVL) is above $1 million. Finally, it fetches the APYs for the qualifying pools and presents a ranked list to the user.Potential Capabilities UtilIZED by Forge:
find_pools_on_aave_v3
(parameterized for chain and asset)find_pools_on_compound_v3
(parameterized for chain and asset)get_pool_apy
get_pool_tvl
check_audit_status_defisafety
(Utility Capability)rank_yield_opportunities
(Utility Capability)
Further Examples of Prompt-Generated Strategies
Below are additional prompts that illustrate the range of Strategy Agents that can be generated. The Forge would similarly identify and orchestrate the necessary capabilities from the Marketplace for each.
Automated Yield Compounding Strategy Agent:
Prompt:
"Harvest my rewards from Protocol X farm on Polygon every day, swap them to USDC on Quickswap, and deposit back into the farm. Only proceed if Polygon gas is under 150 gwei."
Key Capabilities: Harvesting, swapping (Quickswap), depositing, gas check (Polygon).
LP Management Strategy Agent:
Prompt:
"Monitor my Uniswap V3 position [ID] for impermanent loss. Alert me via email if IL exceeds 5%. Also, suggest alternative pools on Uniswap V3 if their risk-adjusted yield (APY vs Volatility) looks better."
Key Capabilities: Uniswap V3 position tracking, IL calculation, alternative pool discovery, risk-adjusted yield comparison, email alerts.
Automated Loan Health Strategy Agent:
Prompt:
"Watch my MakerDAO vault [ID]. If the health factor drops below 2.0, automatically deposit ETH from my wallet to bring it back up to 2.5, but don't deposit more than 1 ETH in total per week."
Key Capabilities: MakerDAO vault monitoring, ETH deposit, balance check, weekly deposit limit tracking.
Cross-Chain Bridging Optimizer Strategy Agent:
Prompt:
"Find the cheapest route to bridge 1000 USDC from Arbitrum to Solana using Hop Protocol or Stargate, considering all fees and gas. Show me the best option."
Key Capabilities: Querying bridge routes (Hop, Stargate), gas estimation (Arbitrum, Solana), cost comparison.
Proactive Security Monitoring Strategy Agent:
Prompt:
"Monitor my wallet [Address] on Ethereum for any new ERC20 approvals given to contracts NOT on my whitelist [Contract List]. Alert me instantly on Telegram if a non-whitelisted approval happens."
Key Capabilities: ERC20 approval event listening, whitelist checking, Telegram alerts.
Gas Fee Optimization Scheduler Agent:
Prompt:
"I have this transaction data [TX Data]. Submit it on Ethereum, but only when the base gas fee is below 15 gwei. Check every 5 minutes."
Key Capabilities: Ethereum base fee checking, raw transaction submission, scheduled task.
Cross-Chain Tax Data Aggregation Strategy Agent:
Prompt:
"Generate my 2024 tax report. Include all swaps, staking, and lending activities from my wallets [Addresses] on Ethereum, Polygon, and Arbitrum. Format it as a CSV compatible with Koinly."
Key Capabilities: Multi-chain transaction history fetching, DeFi transaction categorization, Koinly CSV formatting.
These examples demonstrate the potential for users to generate highly customized and automated financial strategies by simply describing their intent to the FMCP Forge, which then leverages the ecosystem of shared Capabilities.
Last updated