In today's fast-paced digital landscape, building intelligent, automated applications is key to staying competitive. The .do platform empowers you to create powerful Agentic Workflows that can automate tasks, integrate AI, and deliver services-as-software. But how do you seamlessly bring that power into your existing applications? Enter the sdk.do - Software Development Kit (SDK).
For Developers: The .do SDK is your bridge to leveraging these advanced capabilities with unparalleled ease.
The .do SDK isn't just another library; it's a comprehensive toolkit designed to unlock the full potential of .do Agentic Workflows within your projects. Whether you're building a new application or enhancing an existing one, the SDK simplifies the process of integrating complex AI-driven processes and automated services.
Think of it this way: instead of reinventing the wheel for every automated task or AI integration, you can tap into pre-built, robust .do workflows directly from your code. This significantly reduces development time, minimizes complexity, and accelerates your time to market.
The possibilities are vast when you combine your application's logic with the power of .do Agentic Workflows. Here are just a few examples:
The .do SDK is designed with developers in mind, offering a straightforward API that feels intuitive to use. Let's look at how easy it is to get started:
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 simple TypeScript example, we're instantiating an Agent and then calling a .do workflow named "summarize" with a text input. The SDK handles all the underlying communication, allowing you to focus on building your application's core features.
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 build smarter, more capable applications by seamlessly integrating the power of Agentic Workflows. Reduce development effort, accelerate innovation, and deliver exceptional user experiences.
Ready to unlock the power of .do? Visit sdk.do to learn more and start building!