Building reliable and powerful applications on any platform requires a solid understanding of its foundational architecture. On the .do platform, this foundation is built upon clearly defined data models that govern how Agents, Workflows, and Services-as-a-Software interact and exchange information.
While the high-level concepts of Agentic Workflows might seem abstract, diving into the underlying structure is crucial for developers and users who want to leverage the platform to its full potential. This is where the canonical reference documentation, accessible through reference.do, plays a vital role.
In the context of the .do platform, data models are the blueprints that define the structure and relationships of the core components and the data they process. Think of them as the API contracts and object schemas that dictate what information is available, how it's organized, and how different parts of the system communicate.
Understanding these models is essential because they provide:
The .do platform organizes its core functionalities around several key concepts, each represented by specific data models. While the full details are in the agentic workflow reference, let's touch upon the primary ones:
When an agentic API call triggers a Workflow, the platform manages the execution based on the definitions in these data models. Data flows between steps, agents, and services according to the specified schemas.
Consider the output of a single step executed by an agent within a workflow. The platform needs a standard way to report the result. This is where a data model like AgentStepOutput comes into play:
interface AgentStepOutput {
status: 'success' | 'failure'; // Did the step succeed or fail?
output: any; // The actual data produced by the step
agentId: string; // Which agent executed this step?
}
And similarly, the overall outcome of the entire workflow execution is captured by a AgentWorkflowOutput model:
interface AgentWorkflowOutput {
status: 'completed' | 'failed'; // Did the workflow finish successfully?
steps: AgentStepOutput[]; // A list of the results for each step
finalOutput: any; // The combined or final result of the workflow run
}
These TypeScript interfaces, often used as data model definitions, provide the blueprint for how execution results are structured and can be consumed by other parts of the workflow or external systems. They are part of the detailed business-as-code reference available through the platform's documentation.
The most comprehensive source for understanding the .do platform's data models, API documentation, and interaction patterns is the official reference documentation. It provides detailed specifications, schemas, and examples that go far beyond this brief overview. Whether you are implementing a new Agent, designing a complex Workflow, or integrating an external Service-as-Software, referring to this documentation is your most reliable path to success.
By exploring the reference, you gain insights into:
Thinking "behind the scenes" about the data models that power the .do platform's Agentic Workflows and Services-as-Software is a critical step towards building robust, scalable, and predictable applications. These models define the language and structure of interaction within the ecosystem.
Don't leave your understanding to chance. Dive into the comprehensive reference documentation at https://reference.do to explore the definitive source for the platform's data models, API specifications, and more. Master the blueprints, and unlock the full potential of Agentic Workflows on the .do platform.