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."
})
);