For Developers
In today's rapidly evolving digital landscape, developers are constantly seeking tools that enhance productivity, streamline complex tasks, and unlock new possibilities. The .do SDK emerges as a powerful solution, designed to integrate cutting-edge agentic workflows directly into your applications. Whether you're building a new service or augmenting an existing one, the .do SDK empowers you to build smarter and deliver exceptional experiences.
At its core, the @dot-do/sdk is a Software Development Kit that serves as your gateway to the world of .do Agentic Workflows. It provides a seamless interface, allowing your applications to interact with sophisticated AI-driven processes through simple API calls. Imagine automating tasks, integrating intelligent services, and delivering "services-as-software" with just a few lines of code – that's the power of the .do SDK.
Unlock the power of .do Agentic Workflows within your applications using the .do SDK. Easily automate tasks, integrate AI, and deliver services-as-software with simple API calls.
Agentic workflows represent a paradigm shift in how we build software. Instead of relying solely on predefined logic, they leverage AI and intelligent agents to perform tasks, make decisions, and even adapt to new information. By integrating these workflows via the .do SDK, you can:
The .do SDK is designed for ease of use, allowing developers to quickly integrate and experiment.
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's functionality revolves around the Agent class. This class acts as your primary interface for calling .do workflows by name and passing in necessary parameters. The SDK handles all the underlying communication, abstracting away the complexities and returning the results directly to your application.
Here's a quick example to illustrate how simple it is:
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 TypeScript example, we're instantiating an Agent with an API key, then calling a hypothetical ".do" workflow named "summarize" and passing it a text string. The SDK takes care of the rest, returning the summarized text.
One of the key strengths of the .do SDK is its versatility. It's built to function seamlessly in both:
This flexibility ensures that no matter where your application lives, you can leverage the power of agentic workflows.
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 represents a significant leap forward for developers looking to build sophisticated, intelligent, and highly automated applications. By simplifying the integration of agentic workflows, it empowers you to focus on innovation and deliver cutting-edge solutions. Dive into the world of agentic intelligence and start building smarter with the .do SDK today!