For Developers
In the rapidly evolving landscape of software development, efficiency and intelligent automation are paramount. Engineers are constantly seeking ways to build more powerful, responsive, and autonomous applications. This is where agentic workflows come into play – dynamic, intelligent processes that can adapt, learn, and execute tasks with minimal human intervention.
Imagine integrating such sophisticated capabilities directly into your applications, effortlessly. This is precisely what the .do SDK enables, offering a seamless bridge to unlock the power of agentic workflows and elevate your software to new heights.
The .do SDK is a Software Development Kit crafted specifically to allow developers to integrate and interact with .do Agentic Workflows directly within their applications. Forget complex integrations; the SDK simplifies the process, allowing you to incorporate AI and advanced automation with simple API calls.
Whether you're looking to automate tasks, integrate AI-driven intelligence, or deliver sophisticated services-as-software, the .do SDK provides the tools you need. It's designed to streamline development, enhance application capabilities, and optimize performance across the board.
At its core, the .do SDK empowers you to leverage existing .do workflows or create new ones, then call them from your code. This means you can offload complex, often repetitive, and computationally intensive tasks to intelligent agents, freeing up your application's resources and improving overall responsiveness.
Consider a common scenario: summarizing long texts. Without an agentic workflow, you might need to implement a complex NLP model directly within your application, requiring significant computational power and constant model updates. With the .do SDK, this becomes a simple API call to an agentic workflow:
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...");
This elegant snippet handles the heavy lifting, allowing your application to focus on its primary functions while outsourcing the specialized task to a dedicated agent. This modular approach not only saves development time but also significantly optimizes performance.
The agent.do() method is the gateway to a myriad of possibilities. You can imagine agentic workflows for:
By utilizing the .do SDK, you're not just calling an API; you're tapping into a system designed for intelligent execution, adaptability, and continuous improvement.
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 is not just another library; it's a strategic tool for developers looking to build next-generation applications. By integrating agentic workflows seamlessly, you can optimize performance, reduce development cycles, and deliver more intelligent and responsive software.
Visit sdk.do now to learn more and start building smarter with the .do SDK. Unlock the power of agentic workflows and redefine what's possible in your applications.