For Developers
In today's fast-paced digital world, developers are constantly seeking ways to build more intelligent, automated, and efficient applications. The rise of AI and agentic workflows has opened up new frontiers, allowing systems to perform complex tasks autonomously. But how do you seamlessly integrate these powerful capabilities into your existing projects? Enter the .do SDK.
The .do SDK is your key to unlocking the full potential of .do Agentic Workflows, bringing unparalleled automation and AI integration directly into your applications. No more wrestling with complex APIs or reinventing the wheel—the SDK streamlines the entire process, empowering you to build smarter, faster.
Build Smarter with the .do SDK
At its core, the .do SDK is a Software Development Kit designed to facilitate easy interaction with .do Agentic Workflows. Imagine being able to automate tasks, integrate cutting-edge AI functionalities, and deliver powerful "services-as-software" with just a few lines of code. That's the promise of sdk.do.
Let's look at how straightforward 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...");
This simple TypeScript example demonstrates how you can call a "summarize" workflow, passing in your text, and receiving the summarized output. The SDK handles all the underlying communication, letting you focus on your application's logic.
Integrate Agentic Workflows into Your Applications Seamlessly
The .do SDK isn't just about calling pre-defined functions; it's about seamlessly weaving sophisticated agentic capabilities into the fabric of your application. Whether you're building a backend service that automates data processing, a frontend tool that provides intelligent content generation, or anything in between, the SDK provides the robust foundation you need.
Why the .do SDK?
Frequently Asked Questions
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.
In essence, the .do SDK is more than just a library; it's a productivity multiplier. It's an essential tool for any developer looking to embed intelligent automation and advanced AI capabilities into their applications with minimal effort and maximum impact.
Ready to transform your development workflow? Explore the .do SDK today and start building smarter. Visit sdk.do to learn more and get started!