Are you tired of building complex logic from scratch for every project? Do you wish you could easily package intelligent workflows and reuse them like any other software component? Enter Services-as-Software (.do Services), powered by the .do platform. This revolutionary concept simplifies how developers build, share, and consume sophisticated capabilities, especially those involving agentic workflows.
Think of Services-as-Software as self-contained, intelligent agentic workflows that are packaged and exposed as simple, reusable software services. Instead of dealing with intricate internal logic or managing distributed systems, you interact with these services via standard APIs or SDKs, just like you would with any external software library or microservice.
The .do platform empowers you to define complex agentic processes – workflows involving multiple steps, decision-making, and potentially external interactions – and then wrap them up as consumable services. This modular approach offers significant advantages for developers.
The .do platform provides a comprehensive suite of developer tools designed to streamline the creation of Services-as-Software:
Once your workflow is defined and configured, you can easily publish it as a Service-as-Software. This makes it instantly available for consumption via its dedicated API endpoint or through the powerful .do SDK.
Integrating .do Services into your existing applications is seamless. The platform supports industry-standard methods for consumption:
Here's a quick example using the TypeScript SDK:
import { DoClient } from '@dotdo/sdk';
async function processData(data: any) {
const client = new DoClient({ apiKey: 'YOUR_API_KEY' });
try {
const serviceResult = await client.services.call('myAccount.processDataService', { inputData: data });
console.log('Service executed successfully:', serviceResult);
return serviceResult;
} catch (error) {
console.error('Error calling service:', error);
throw error;
}
}
// Example usage:
processData({ id: 1, value: 'sample' });
This simple example demonstrates how easy it is to call a published service named myAccount.processDataService and pass data to it.
By adopting the Services-as-Software approach on the .do platform, developers gain significant advantages:
The .do platform empowers developers to embrace a new paradigm of building and consuming software. By transforming agentic workflows into reusable Services-as-Software, you can accelerate your development lifecycle, improve code quality, and unlock the power of intelligent automation in a developer-friendly way. Explore the tools and APIs on developer.services.do and start building and using Services-as-Software today!