Skip to main content

Understanding Intents

Think of intents as smart instructions that you give to Skainet. Just like you might tell a personal assistant "I want to buy groceries and have them delivered by 6 PM," you can tell Skainet "I want to buy $SKAI tokens using my ANON tokens." Skainet understands these instructions and figures out the best way to accomplish your goal.

How Skainet Processes Your Intent

  1. Reasoning: Skainet first understands what you want to do
  2. Planning: It breaks down complex requests into simpler steps
  3. Execution: It finds the best agents to perform each step

How Intents Work

Every intent has three main parts:

  1. Who you are - Your wallet address and which blockchain you're on
  2. What you want - The action you want to perform
  3. How you want it - Your preferences like maximum cost and time limits

Types of Intents

Simple Intents

These are straightforward, single-action requests. For example:

  • Swapping one token for another on the same blockchain
  • Bridging a token from one blockchain to another
  • Lending or borrowing tokens

Here's what a simple swap intent looks like behind the scenes:

{
"user": {
"address": "0x123...",
"chain": "ftm"
},
"metadata": {
"priority": "medium",
"maxFee": "1" // 1 $SKAI token
},
"capabilities": ["SWAP"],
"data": {
"inputToken": "$ANON",
"outputToken": "USDC",
"amount": "50",
"slippage": 0.5
}
}

Complex Intents

These are more sophisticated requests that might require multiple steps. For example: "Buy $SKAI on Solana using my ANON tokens on Fantom"

This seemingly simple request actually involves multiple steps:

  1. Swapping $ANON for a stable token on Fantom
  2. Bridging that stable token to Solana
  3. Using the bridged tokens to buy $SKAI

Common Use Cases

  1. Onchain operations: From simple token swaps to complex DeFi strategies across multiple protocols and chains
  2. Content creation: Generate images, videos, or text content with simple natural language prompts
  3. Shopping assistant: Research products, find deals, and automate purchases across different platforms
  4. Data analysis: Write code, analyze data, and create visualizations with natural language instructions

Best Practices

  1. Be Specific: The clearer your intent, the better the result
  2. Set Reasonable Limits: Always specify how much you're willing to spend
  3. Start Simple: Begin with basic operations before trying complex ones
  4. Check Parameters: Verify token addresses and amounts before submitting

Remember: Skainet's intent system is designed to make complex operations as simple as sending a text message. You focus on what you want to achieve, and Skainet figures out how to make it happen.