Zing Forum

Reading

Workflows: A Vendor-Neutral Declarative Protocol for AI Agent Workflows

The open-source workflow protocol defines a standard format for persistent multi-step AI agents, supporting MCP integration and cross-platform interoperability

AI代理工作流协议声明式配置MCP标准化供应商无关持久化JSON Schema
Published 2026-05-04 00:14Recent activity 2026-05-04 00:22Estimated read 5 min
Workflows: A Vendor-Neutral Declarative Protocol for AI Agent Workflows
1

Section 01

Workflows Protocol: A Standardized Solution for AI Agent Workflows

Workflows is a vendor-neutral declarative protocol designed to address fragmentation in the AI agent workflow domain. It defines a standard format for persistent multi-step AI agents, supports MCP integration and cross-platform interoperability, with the goal of building an open and interconnected AI agent ecosystem.

2

Section 02

Fragmentation Dilemma of AI Agent Workflows

With the development of AI agent technology, different frameworks (such as LangChain, LlamaIndex, AutoGPT) each define their own workflow description methods, lacking interoperability. This leads to vendor lock-in for developers, hinders the sharing of best practices and community collaboration, and prevents the same workflow from being reused across frameworks.

3

Section 03

Design Advantages of the Declarative Protocol

Workflows adopts a declarative design where developers describe goals rather than steps. This brings three key benefits: portability (not dependent on specific runtimes, executable across implementations), composability (reuse of modular sub-processes), and auditability (definitions serve as documentation, easy to review and version control).

4

Section 04

Protocol Specification and JSON Schema Definition

The Workflows protocol is formally defined via JSON Schema. Core concepts include: steps (atomic operations like LLM calls, tool execution), state (execution data storage and persistence strategies), transitions (step flow rules such as conditional branching), and error handling (fault-tolerance mechanisms like retries and degradation).

5

Section 05

Persistence and Durability Guarantees

The protocol requires compatible implementations to support workflow state persistence, ensuring breakpoint recovery after failures to avoid progress loss or repeated execution. Additionally, persistent records of execution history enhance observability, facilitating problem diagnosis and performance optimization.

6

Section 06

MCP Integration and Tool Ecosystem Expansion

Workflows deeply integrates MCP (Model Context Protocol), enabling seamless calls to MCP-compatible tool services to expand capability boundaries without the need for adaptation code. The MCP standardized interface also provides security advantages such as unified auditing, permission control, and result verification.

7

Section 07

Node Reference Implementation and Conformance Testing

The project provides a Node.js reference implementation to demonstrate protocol usage, serving as a reference for implementations in other languages. It also includes conformance test fixtures covering parsing, state management, execution semantics, etc., to ensure different implementations comply with the specification and guarantee interoperability.

8

Section 08

Significance of Standardization and Ecosystem Outlook

Workflows promotes the standardization of AI agent infrastructure, bringing value to developers (low switching costs), tool providers (low integration thresholds), and enterprise users (high maintainability). Although widespread adoption will take time, it is expected to form an open and interconnected AI agent ecosystem.