Deploy Lexi, an AI-powered agent, to handle complex tasks, streamline workflows, and operate your business as code. From customer support to data analysis, Lexi delivers services as software.
import { lexi } from '@do/sdk';
// Ask Lexi to perform a complex, multi-step task
const newReport = await lexi.run({
task: "Generate Q3 sales performance report",
instructions: [
"Analyze sales data from Salesforce CRM",
"Cross-reference with marketing spend from HubSpot",
"Create visualizations for regional performance",
"Summarize key findings and provide recommendations",
"Output the final report as a PDF"
]
});
console.log('Report successfully generated:', newReport.url);