Development Guide

Step 1: Initialize the Framework

Initialize the DeAI framework with the following code:

const deAI = new deAIMultiAgent({ config: { ... } });

Step 2: Add Agents

Define and add agents to the framework:

deAI.addAgent(
  new BedrockLLMAgent({
    name: "Trading Agent",
    description: "Executes trades based on recommendations."
  })
);

deAI.addAgent(
  new BedrockLLMAgent({
    name: "Market Agent",
    description: "Focuses on trends and opportunities in Web3 and crypto."
  })
);

Step 3: Handle Requests

Route user queries to the appropriate agent:

Last updated