AIToday

AISOP – an open protocol for defining AI agent workflows using Mermaid diagrams or JSON flow graphs

Hacker News3d ago1 min read
AISOP – an open protocol for defining AI agent workflows using Mermaid diagrams or JSON flow graphs

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. 1

    AISOP enables multi-step AI programs with visual (Mermaid) or structural (JSON) control flow — branching, parallel execution, sub-tasks, and error handling — all in a single portable JSON format.

  2. 2

    The protocol supports 14+ control flow patterns (sequential, decision, parallel fork/join, loop, retry, error routing, and others), three-layer separation of metadata/flow/functions, and 24 protocol-reserved system calls for human confirmation, I/O, assertions, and state management.

  3. 3

    Reference implementations in Python and JavaScript use only standard library dependencies; Mermaid format uses ~50% fewer tokens than JSON flow format.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

5 minutes a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →