Empower your applications with AGI agents that understand context, reason through problems, and execute multi-step tasks autonomously. Go beyond automation, achieve orchestration.
import { AGIAgent } from '@do/agi';
// Initialize the AGI with access to relevant business tools
const strategyAgent = new AGIAgent({
name: 'MarketStrategyAI',
description: 'An AGI to analyze market data and formulate growth strategies.',
tools: ['SalesforceReader', 'GoogleAnalytics', 'MarketReportGenerator']
});
// Define a complex, high-level objective
const objective = `
Analyze our Q4 sales performance using Salesforce data and
correlate findings with website traffic from Google Analytics.
Generate a comprehensive strategic growth plan for the next quarter,
including three key initiatives with projected KPIs.
`;
// Run the agent to achieve the objective
const strategicPlan = await strategyAgent.run({ objective });
console.log(strategicPlan);