# Prompt-to-DeFi

Prompt-to-DeFi enables anyone to become a strategy creator by building custom multi-step DeFi strategies using natural language. Users describe strategy ideas, and AI agents transform them into executable workflows across 35+ protocols and 14+ chains.

### How It Works

#### 1. Strategy Creation

**Three Tools for Creation:**

**A. Text Prompts**\
Strategy creators describe strategy ideas in plain language, and AI agents build the required transactions.

**B. Strategy Templates**\
Strategy creators start with INFINIT's pre-built templates and customize parameters:

* Adjustable parameters: tokens, chains, allocations, LTV percentages
* Faster onboarding for common strategy patterns

**C. Smart Action**\
Strategy creators type `/` to enable guided, step-by-step strategy building through clicks:

* Choose protocols: Aave, Uniswap, Pendle, Morpho, etc.
* Select actions: Lend, Borrow, Swap, Bridge, Stake
* Specify chains: Ethereum, Arbitrum, Base, etc.
* Build valid prompts without memorizing syntax

***

#### 2. Strategy Generation

**AI Agent Code Generation**\
Once strategy creators submit prompts, INFINIT's Agent Swarm:

* Analyzes intent and validates feasibility
* Generates transaction sequences with proper dependencies
* Creates executable workflows, maintaining user logic

**Real-Time Validation**\
During generation, agents check for:

* Protocol compatibility and supported tokens
* Execution dependencies and sequencing
* Smart contract limitations

**Strategy Output:**\
A complete strategy showing:

* Each execution step with protocol and action

***

#### 3. Simulation & Testing

**Mandatory Simulation**\
Before execution, users test strategies in real environments:

**Simulation Preview Shows:**

* Exact execution outcome for each step
* Slippage estimates at current liquidity levels
* Expected final position and asset breakdown
* Any warnings or errors that would occur

**Issue Detection:**

* Paused pools or restricted protocols
* High utilization rates affecting availability
* Deposit caps or supply limits
* Unsupported token pairs or routes
* Insufficient liquidity for specified amounts

**Benefits:**

* Catch errors before committing real capital
* Understand actual slippage and price impact
* Validate strategy logic with real on-chain state

***

#### 4. Save, Share & Execute

**Save to Dashboard**\
Strategy creators store custom strategies for future use:

* Access anytime from saved strategies
* Edit and re-simulate as needed
* Build personal strategy libraries

**Share with Others**\
Strategy creators generate shareable links for strategies:

* Others can copy and execute independently
* Enable strategy monetization

**Execute When Ready**\
When Strategy creators are satisfied with the simulation:

* Proceed to execution through Agent-Powered Execution

***

### Benefits

Prompt-to-DeFi opens new opportunities for DeFi strategy creators and transforms how users interact with DeFi, creating a direct bridge between expertise and execution that benefits the entire ecosystem.

**Beyond Manual Execution or Coding:** INFINIT introduces a new way to create DeFi strategies through natural language prompting. Strategy creators simply prompt ideas and watch them transform into executable strategies.

**Monetize Ideas Directly:** DeFi KOLs and experts can become strategy creator and transform market insights into revenue-generating, executable strategies without technical barriers. No coding or manual work is required.

**Scale Expertise:** Strategy creators turn personal knowledge into reusable strategy infrastructure that can be deployed, shared, and executed by thousands of users without effort.
