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. But how can you empower your applications with these advanced capabilities without getting bogged down in complex integrations? Enter the .do SDK.
The .do SDK is your key to unlocking the power of .do Agentic Workflows directly within your applications. No more reinventing the wheel or struggling with intricate API calls. With the .do SDK, you can easily integrate intelligent, automated processes, making your applications smarter, more efficient, and incredibly powerful.
Imagine seamlessly embedding AI-driven tasks, complex data processing, or automated service delivery into your existing software. That's the promise of the .do SDK. It's designed to make your life as a developer easier, allowing you to focus on building innovative features rather than managing low-level integrations.
Whether you're developing a new application from scratch or enhancing an existing one, the .do SDK provides a clear, concise pathway to integrating agentic workflows. This means bringing cutting-edge AI capabilities and powerful automation right to your users' fingertips.
The core strength of the .do SDK lies in its simplicity and efficiency. It abstracts away the complexities of interacting with .do Agentic Workflows, presenting you with an intuitive API that feels natural to use.
Let's take a look at how straightforward it is to get started with the .do SDK, using TypeScript as an example:
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 just a few lines of code, you can instantiate an agent and trigger a .do workflow – in this case, a text summarization service. The SDK handles the communication, parameter passing, and response handling, leaving you free to utilize the results within your application logic.
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.
Ready to supercharge your applications with agentic workflows? Dive into the world of .do SDK. Visit sdk.do to learn more, explore detailed documentation, and start building smarter applications today!