Delegate complex business objectives to your new digital worker. Lena plans, executes, and completes tasks, turning your business processes into scalable, on-demand services.
import { Do } from '@do-sdk/core';
// Initialize the .do client
const dispatch = new Do();
// Get a client for the Lena agent
const lena = dispatch.agent('lena');
// Assign a high-level goal to Lena
const project = await lena.assign({
goal: 'Analyze market trends for solar energy in Q3',
deliverable: 'A comprehensive report with key findings and data visualizations.'
});
console.log(`Project assigned to Lena. ID: ${project.id}`);