The digital landscape is constantly evolving, demanding greater flexibility, automation, and seamless integration between your systems. The .do platform is designed to meet these challenges head-on, providing a powerful ecosystem for building intelligent, agentic workflows. To truly unleash the platform's potential and tailor its capabilities to your unique needs, you need a robust and easy-to-use interface. That's where the .do SDK comes in.
The .do Software Development Kit (SDK) is your key to integrating and extending the core functionalities of the .do platform. It empowers developers to programmatically interact with the platform's features, enabling you to build custom solutions, automate complex processes, and connect your existing services effortlessly.
Simply put, the .do SDK provides a set of libraries, tools, and documentation to facilitate your interaction with the .do platform's API. It abstracts away the complexities of making direct HTTP requests, offering a more intuitive and developer-friendly way to:
The .do platform embraces the concepts of Business as Code and Services as Software. The .do SDK is instrumental in realizing this vision. By providing a programmatic interface, it allows you to define and manage your business logic and services within a structured, version-controlled environment. This leads to greater agility, transparency, and maintainability of your critical business processes.
We've made it easy to begin your journey with the .do SDK. You can install it using popular package managers like npm or yarn:
npm install @do/sdk
or
yarn add @do/sdk
Once installed, you can quickly start interacting with the platform. Here's a simple example in TypeScript demonstrating how to list available agents:
import { DoSDK } from '@do/sdk';
const sdk = new DoSDK({
apiKey: 'YOUR_API_KEY', // Replace with your actual API key
});
// Example: Fetch available agents
async function listAgents() {
try {
const agents = await sdk.agents.list();
console.log('Available Agents:', agents);
} catch (error) {
console.error('Error listing agents:', error);
}
}
listAgents();
This concise example demonstrates the ease of use and the power packed within the SDK.
The possibilities are vast. With the .do SDK, you can:
Here are some common questions we receive about the .do SDK:
Q: What is the .do SDK?
A: The .do SDK allows developers to programmatically interact with the .do platform, enabling them to build custom applications, automate workflows, and integrate with existing services.
Q: How do I get started with the .do SDK?
A: You can install the .do SDK via npm or yarn package managers. Detailed installation instructions and documentation are available on our developer portal.
Q: What programming languages does the .do SDK support?
A: The .do SDK is designed to be used with a variety of programming languages. We primarily provide examples and support for TypeScript/JavaScript, but the underlying API can be accessed from any language capable of making HTTP requests.
The .do SDK is designed with developers in mind, offering a clear, concise, and powerful way to harness the full potential of the .do platform. Whether you're looking to automate internal processes, build cutting-edge applications, or integrate your services seamlessly, the .do SDK provides the tools you need to succeed.
Ready to start building? Explore our comprehensive documentation and get started with the .do SDK today!