It lets you turn plain-English DeFi ideas into a single, executable workflow.
Want a low-risk yield loop, hedge, and LP? One prompt → AI agents craft transactions → simulate → execute.
Here's a quick tutorial 🧵
1. What's Prompt-to-DeFi?
- You describe a strategy in plain language - INFINIT’s AI Agent Swarm converts it into an executable workflow - You simulate it first, then execute - You can save + share it via a link so others can copy & run it, and monetize it
2. How does it work?
1) Create (or edit) a strategy
You can start in two ways:
- From scratch → pick your starting token + chain (ex, USDC on Ethereum), then describe the steps in text - From templates → pick a prebuilt strategy and tweak parameters (tokens, chains, allocations, LTV, etc.)
Templates include things like: - Delta-neutral trading (great for farming points) - Leveraged looping - Multi-LP strategies
2) Check supported agents
Before you write anything complex:
- Go to Agents - Toggle “Prompt-to-DeFi Supported” - Only build flows that use those supported agents/protocols
3) Use Smart Action to build prompts faster
While writing your prompt, type “/” to open Smart Action (guided prompt builder).
It helps you:
- Choose actions: Lend / Borrow / Swap / Bridge - Pick agents + protocols - Select supported chains - This is the cheat code for avoiding invalid syntax.
4) Generate + simulate strategy
Once your prompt looks good:
- Click Next to generate the strategy - Enter an asset amount to simulate - Simulation runs in a real execution setting to: - Validate each step - Show expected slippage numerically - Catch protocol issues (paused pools, caps, utilization limits, etc.)
If the simulation doesn’t look clean, you edit the prompt and rerun.
5) Save + share
After reviewing the sim:
- Save it to your dashboard for later - Share via a strategy link Anyone can copy the strategy and execute independently
3. Prompt Guiding
Write step-by-step, one action per line.
Recommended order per line: Action → % amount → token → protocol → chain
Rules
- Use percentages only (100%, 50%, etc.) - Don’t include exact token amounts - Prompt describes the logic, not the trade size - Actual amount gets defined later during simulation
Example prompt (good format)
- Lend 100% USDC to Aave on Ethereum - Borrow USDT from Aave at 50% LTV against USDC on Ethereum - Swap 100% USDC to PT sUSDE on Pendle on Ethereum
4. Final Thoughts
This feels like the first time DeFi UX is actually usable without complexities and technical knowledge.
You type the idea → it builds the workflow → you simulate → it executes.
If strategy creation becomes this easy, DeFi onboarding will change quickly.
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
Prompt-to-DeFi by @Infinit_Labs is now live.
It lets you turn plain-English DeFi ideas into a single, executable workflow.
Want a low-risk yield loop, hedge, and LP? One prompt → AI agents craft transactions → simulate → execute.
Here's a quick tutorial 🧵
1. What's Prompt-to-DeFi?
- You describe a strategy in plain language
- INFINIT’s AI Agent Swarm converts it into an executable workflow
- You simulate it first, then execute
- You can save + share it via a link so others can copy & run it, and monetize it
2. How does it work?
1) Create (or edit) a strategy
You can start in two ways:
- From scratch → pick your starting token + chain (ex, USDC on Ethereum), then describe the steps in text
- From templates → pick a prebuilt strategy and tweak parameters (tokens, chains, allocations, LTV, etc.)
Templates include things like:
- Delta-neutral trading (great for farming points)
- Leveraged looping
- Multi-LP strategies
2) Check supported agents
Before you write anything complex:
- Go to Agents
- Toggle “Prompt-to-DeFi Supported”
- Only build flows that use those supported agents/protocols
3) Use Smart Action to build prompts faster
While writing your prompt, type “/” to open Smart Action (guided prompt builder).
It helps you:
- Choose actions: Lend / Borrow / Swap / Bridge
- Pick agents + protocols
- Select supported chains
- This is the cheat code for avoiding invalid syntax.
4) Generate + simulate strategy
Once your prompt looks good:
- Click Next to generate the strategy
- Enter an asset amount to simulate
- Simulation runs in a real execution setting to:
- Validate each step
- Show expected slippage numerically
- Catch protocol issues (paused pools, caps, utilization limits, etc.)
If the simulation doesn’t look clean, you edit the prompt and rerun.
5) Save + share
After reviewing the sim:
- Save it to your dashboard for later
- Share via a strategy link
Anyone can copy the strategy and execute independently
3. Prompt Guiding
Write step-by-step, one action per line.
Recommended order per line:
Action → % amount → token → protocol → chain
Rules
- Use percentages only (100%, 50%, etc.)
- Don’t include exact token amounts
- Prompt describes the logic, not the trade size
- Actual amount gets defined later during simulation
Example prompt (good format)
- Lend 100% USDC to Aave on Ethereum
- Borrow USDT from Aave at 50% LTV against USDC on Ethereum
- Swap 100% USDC to PT sUSDE on Pendle on Ethereum
4. Final Thoughts
This feels like the first time DeFi UX is actually usable without complexities and technical knowledge.
You type the idea → it builds the workflow → you simulate → it executes.
If strategy creation becomes this easy, DeFi onboarding will change quickly.