For Developers
In today's fast-paced digital landscape, the ability to automate tasks, integrate AI, and deliver services-as-software is no longer a luxury—it's a necessity. For developers looking to unlock the full potential of agentic workflows within their applications, the .do SDK offers a powerful and seamless solution.
The .do SDK, found at sdk.do, is your gateway to programmatic control over .do Agentic Workflows. Imagine being able to trigger complex operations, leverage AI capabilities, and streamline service delivery with just a few lines of code. That’s the power of the .do SDK.
Before we dive into the SDK, let's briefly touch on what we mean by "Agentic Workflows." Simply put, these are automated processes driven by "agents" – intelligent entities capable of perceiving, reasoning, and acting within their environment to achieve specific goals. Think of them as smart, specialized workers in your digital ecosystem, ready to execute tasks on demand.
The @dot-do/sdk is a Software Development Kit specifically designed to help you integrate and interact with these powerful .do Agentic Workflows directly within your applications. It abstracts away the complexities of API calls and communication, allowing you to focus on building innovative features.
Let's look at how incredibly simple it is to get started. With just a few lines of TypeScript, you can execute a .do 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...");
In this example, we import the Agent class, instantiate it with an API key (ensuring secure communication), and then call a .do workflow named "summarize" with a text input. The SDK handles the heavy lifting, returning the summarized text directly to your application. This is how easily you can automate tasks, integrate AI, and deliver services-as-software with simple API calls.
The possibilities are endless. Consider these use cases:
Understanding the power of the .do SDK is one thing; getting started is another. Here are some common questions developers ask:
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. This versatility means you can build powerful full-stack applications leveraging agentic workflows.
The .do SDK empowers developers to integrate sophisticated agentic workflows directly into their applications. By providing a streamlined interface to these powerful capabilities, it enables you to build more intelligent, automated, and efficient software.
Visit sdk.do to learn more and start your journey with the .do SDK. Unlock the power of .do Agentic Workflows within your applications and redefine what's possible!
Keywords: sdk, software development kit, agentic workflows, ai integration, api, developer tools