Integrating powerful functionalities into your applications shouldn't be a struggle. That's where the .do SDK comes in. Building on the power of .do Agentic Workflows, the SDK provides a streamlined way to connect your applications to intelligent, automated tasks, simplifying your development process and delivering advanced capabilities to your users.
The .do SDK allows you to effortlessly integrate Agentic Workflows into your applications, transforming complex operations into simple function calls. Whether you're automating tasks, integrating AI models, or delivering services as downloadable software, the SDK provides the tools you need to build smarter, more efficient applications.
The core of the .do platform lies in its Agentic Workflows – intelligent, self-contained units that can perform a wide range of tasks. The .do SDK acts as your bridge to these workflows, allowing you to trigger them and receive their results directly within your own code. This eliminates the need for manual integration and reduces the complexity of incorporating advanced functionalities.
The .do SDK is designed for ease of use. With a simple, intuitive API, you can quickly connect to the .do platform and start interacting with your workflows.
Here's a quick look at how easy it is to get started with the TypeScript SDK:
This simple example demonstrates how to initialize an Agent and call a workflow named "summarize" with a specific input. The SDK handles the underlying communication, allowing you to focus on your application logic.
The .do SDK is built with developers in mind. It provides a robust and flexible solution for integrating agentic workflows into a variety of application types. Whether you're building a web application, a mobile app, or a backend service, the SDK offers the tools and documentation you need to succeed.
To help you get started, here are some common questions about the .do SDK:
What is the @dot-do/sdk?
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.
How do I install the SDK?
You can install the SDK using popular package managers like npm or yarn:
npm install @dot-do/sdk or yarn add @dot-do/sdk
How do I use the SDK to interact with .do workflows?
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.
Can I use the SDK in both backend and frontend applications?
Yes, the SDK is designed to be used in both backend (Node.js) and frontend (browser) environments.
Ready to unlock the power of Agentic Workflows in your applications? Head over to sdk.do to learn more and get started with the .do SDK. Integrate smarter, build faster, and deliver powerful services with ease.
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...");