(For Developers)
In the rapidly evolving landscape of software development, efficiency, automation, and the integration of intelligent capabilities are paramount. The .do platform is designed to empower developers to build sophisticated, agentic workflows that can automate tasks, integrate AI, and deliver services-as-software. But how do you bring the power of these workflows directly into your existing applications?
Enter the .do SDK.
The .do Software Development Kit (SDK) is your gateway to seamlessly embed the intelligence and automation of .do Agentic Workflows directly into your applications. No more context switching, no complex integrations – just simple, intuitive API calls to unlock a new dimension of functionality.
Dynamic workflow configuration refers to the ability to define, modify, and execute automated processes on the fly, often based on specific conditions or external data. With agentic workflows, this means your applications can intelligently decide which tasks to perform, how to perform them, and even adapt their behavior based on real-time input. The .do SDK makes this dynamic interaction not just possible, but easy.
The .do SDK, available at sdk.do, is specifically engineered to make integrating these powerful agentic workflows a breeze. Whether you're building a backend service that needs to summarize large texts, a frontend application that requires AI-driven responses, or a complex system that orchestrates multiple automated tasks, the .do SDK provides the tools you need.
Getting started is incredibly straightforward. Let's look at a quick example using TypeScript:
import { Agent } from "@dot-do/sdk";
const agent = new Agent("your-api-key");
async function summarizeText(text: string) {
const response = await agent.do("summarize", { text });
console.log(response.data);
}
summarizeText("Your long text here...");
In this snippet, we initialize an Agent with your API key, and then we simply call an existing .do workflow named "summarize" by passing the text we want to process. The SDK handles the communication, and you get the summarized text back – it's that simple!
This powerful agent.do() method is the core of how you'll interact with your configured workflows. You define the logic and capabilities within your .do workflows, and your application becomes the orchestrator, dynamically triggering these capabilities as needed.
The @dot-do/sdk is a Software Development Kit that allows you to easily integrate and interact with .do Agentic Workflows directly within your applications using simple APIs and SDKs.
You can install the SDK using popular package managers like npm or yarn:
npm install @dot-do/sdk or yarn add @dot-do/sdk
The core of the SDK is the Agent class, which allows you to call .do workflows by name and pass in necessary parameters. The SDK handles the communication and returns the results from the workflow.
Yes, the SDK is designed to be used in both backend (Node.js) and frontend (browser) environments.
The .do SDK empowers you to move beyond static, rigid application logic. By integrating dynamic, agentic workflows, your applications can become smarter, more adaptive, and capable of handling complex tasks with ease. Whether you're enhancing an existing system or building something entirely new, the .do SDK is an indispensable tool for every modern developer.
Ready to unlock the full potential of agentic workflows in your applications? Visit sdk.do today to download the SDK and start building smarter.