AI Engine

This is the "brain" of Agentify it turns your plain English request into a structured sequence of blockchain actions.

It has four main components:

Natural Language Understanding (NLU)

  • Reads what you type.

  • Extracts meaning: actions (swap, stake, lend), assets (ETH, USDC), amounts, and targets (Polygon, Arbitrum, etc.).

  • Determines the user’s intent.

Task Planner

  • Translates the intent into atomic blockchain operations.

    • Example: "Stake my ETH" becomes:

      1. Check ETH balance

      2. Approve staking contract

      3. Call staking function

  • Breaks down even complex requests into clear steps.

Knowledge Base & Live Data Feeds

  • Pulls in up-to-date data:

    • Token prices

    • Wallet balances

    • Protocol APYs

    • Gas fees, and more

  • Sources include: on-chain data via RPC, The Graph/Subgraphs, oracles like Chainlink, and internal databases.

Policy & Constraints Module

  • Applies user-specific settings (e.g., “Don’t go over 0.3% slippage”).

  • Enforces security guardrails.

  • Ensures all smart contract interactions are pre-approved and safe.

Last updated