The Interactive Mode is a critical feature of the SUI Agent Kit that allows users to guide AI agents step-by-step in performing blockchain operations. This mode involves real-time feedback, memory for retaining context, and user-driven interactions. Below, we provide a detailed explanation and step-by-step instructions for implementing the Interactive Mode.


Purpose of Interactive Mode

Interactive Mode is designed for:

  1. Enhanced User Control: Users can guide the AI agent step-by-step for executing tasks (e.g., transferring tokens or checking balances).
  2. Real-Time Feedback: Provide immediate feedback to users after each action (e.g., “Transaction successful” or “Insufficient balance”).
  3. Context Retention: Maintain the context of the conversation (e.g., remembering selected wallets or previously checked balances).
  4. Error Mitigation: Allow users to correct errors or provide missing information interactively.

Key Components of Interactive Mode

1. User Input

2. AI Agent

3. Feedback System

4. Memory for Context