The dream of modern business is efficiency at scale. We've built tools for task management, communication, and data storage, but a significant gap remains: the delegation of complex, multi-step objectives. What if you could assign a goal like "Analyze market trends for solar energy" with the same ease as making an API call?
Enter Lena, your autonomous digital worker on the .do platform.
Lena represents a paradigm shift from simple automation to true autonomy. She is designed not just to follow a script, but to understand, plan, and execute on high-level business goals. This is more than just automation; it's the dawn of Services-as-Software. In this technical deep-dive, we'll explore exactly how the .do platform translates your complex objectives into executable agentic workflows, all through a simple API.
For years, "automation" has meant rigid, rule-based systems. Think IFTTT (If This Then That) logic: if a new email arrives with an invoice, save the attachment to a specific folder. While useful, these systems are brittle. They break if the trigger changes, and they lack the capacity to reason or handle ambiguity.
An Autonomous Agent like Lena operates on a different level. Instead of a script, you give her a goal. She then creates her own script. This process is called an agentic workflow, and it involves three key stages:
This ability to reason and adapt makes Lena a dynamic problem-solver, not just a static task-doer.
Delegating a task to Lena is refreshingly simple. Using the .do SDK, you can assign an entire project in just a few lines of code.
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}`);
This code is the tip of the iceberg. The real magic happens on the .do platform the moment lena.assign() is called.
Lena receives the goal: "Analyze market trends for solar energy in Q3". Her first action is to use her underlying models to reason about what this means. She might decompose this abstract objective into a concrete plan like this:
With a plan in place, Lena begins executing the tasks. She is not following a pre-programmed path. If a data source from Task 1 is unavailable, she will adapt, search for an alternative, and continue. If a data analysis technique in Task 4 yields no significant results, she can try another approach. This resilience is a core feature of a true Digital Worker. She operates with the persistence of a human employee dedicated to getting the job done.
Finally, Lena synthesizes all her work into the specified deliverable. The raw data, analysis, visualizations, and written summary are compiled into a single, polished report. The project object returned by the API call acts as your handle to this completed work, allowing you to track progress and retrieve the final result.
You have effectively packaged a complex service—market analysis—and invoked it on-demand through an API. This is the essence of Business-as-Code.
So, where does Lena fit in your organization? She isn’t here to replace your team; she’s here to augment it. By delegating time-consuming and complex knowledge work to Lena, you free up your human experts to focus on what they do best: strategy, creativity, and building human relationships.
Imagine your team being able to:
These capabilities are no longer the domain of large, dedicated teams. With Lena, they become programmable services, ready to be integrated into any application or workflow.
The future of work isn't about more tools; it's about better teammates. By turning complex business processes into simple API calls, Lena isn't just another piece of software—she's your new autonomous teammate, ready to help you scale your business at the speed of code.
What is Lena?
Lena is an autonomous digital worker powered by the .do platform. She is designed to understand and execute complex business objectives, operating as a programmable, scalable member of your team.
How do I delegate tasks to Lena?
You can assign tasks and objectives to Lena through the .do SDK or a simple API call. Just define your goal in plain English, and Lena will handle the planning and execution.
What kind of work can Lena do?
Lena can perform a wide range of knowledge-based work, including market research, data analysis, report generation, lead qualification, and process automation. Any business process that can be defined can be delegated to Lena.
Is Lena just another automation tool?
No. Lena is a true autonomous agent. Unlike simple automation scripts that follow rigid rules, Lena can reason, plan, and adapt to complete high-level goals with minimal human intervention, making her a dynamic problem-solver.