Core Feature

SOP Doc

API Doc shows each endpoint. SOP Doc shows the sequence — which steps, in what order, who is involved. Click Visual to see the flow.

How SOP Doc Works

sop-doc-browse.osop.yaml
Write .osop Filehuman

Define a process as YAML. Each step is a node (api, agent, human, cli). Connections are edges.

sequentialosop validate
osop validatecli

Check the .osop file against JSON Schema. Catches errors before anyone sees them.

sequentialBrowse in SOP Doc
fallbackWrite .osop File
Browse in SOP Docmcp

Open osop.ai/sop-doc. Visual tab shows the flow diagram. YAML tab shows the spec.

sequentialShare with Team
Share with Teamhuman

PMs read the Visual tab. Engineers read the YAML. Everyone sees the same process.

The Optimization Loop

the-loop.osop.yaml
osop runcli

Execute the workflow. Agent nodes call LLMs. API nodes send HTTP requests.

sequential.osoplog Generated
.osoplog Generatedsystem

Every node: timestamps, duration, cost, tools used, AI reasoning, human decisions.

sequentialosop synthesize
osop synthesizeagent

Feed multiple .osoplog to AI. It writes an optimized .osop.

sequentialosop diff
osop diffcli

Compare old vs new. See what changed: duration, cost, status per step.

sequentialHuman Reviews
Human Reviewshuman

Accept, modify, or reject AI suggestions. The human decides.

looposop run

Stripe Payment Flow (API SOP)

stripe-payment-flow.osop.yaml
POST /v1/customersapi

Create a Stripe customer with email and metadata.

sequentialPOST /v1/payment_intents
POST /v1/payment_intentsapi

Create a payment intent. Amount, currency, customer ID.

sequentialPOST /v1/payment_intents/{id}/confirm
POST /v1/payment_intents/{id}/confirmapi

Confirm the payment with a payment method.

sequentialGET /v1/payment_intents/{id}
fallbackPOST /v1/payment_intents
GET /v1/payment_intents/{id}api

Verify the payment succeeded. Check status field.

conditionalAI Generate Receipt
AI Generate Receiptagent

AI generates a personalized receipt email from payment details.

Import Existing Workflows

import-existing.osop.yaml
Identify Source Formathuman

GitHub Actions, Airflow, n8n, CrewAI, Argo, or LangGraph.

sequentialosop import
osop importcli

Convert to OSOP format. Maps jobs/operators/tasks to OSOP nodes and edges.

sequentialosop validate
osop validatecli

Verify the converted file is valid OSOP.

fallbackosop import
sequentialReview in Editor
Review in Editorhuman

Open in visual editor. Check flow matches original. Adjust if needed.

Session Log: Full zh-TW i18n

session-i18n-zh-tw.osop.yaml
User Requests Full zh-TW Translationhuman

User reports that switching to Chinese leaves many sections in English.

sequentialExplore i18n Architecture
Explore i18n Architectureagent

Explored next-intl setup, message files, routing config, and all page components.

sequentialIdentify Untranslated Strings
Identify Untranslated Stringsagent

Found hardcoded English in home, optimize, sop-doc, hub, OsopCodeBlock, DocsNav, blog.

sequentialDesign Translation Plan
Design Translation Planagent

Created 6-step plan: shared UI keys, components, pages, YAML content.

sequentialCreate Translation Namespaces
Create Translation Namespacesmcp

Created optimize, sop-doc, hub message files for en and zh-TW.

parallelTranslate Page Content
parallelTranslate UI Components
Translate Page Contentmcp

Added translation keys for home, optimize, sop-doc, hub, layout footer.

sequentialTranslate YAML Showcases
Translate UI Componentsmcp

Updated OsopCodeBlock, DocsNav, blog with useTranslations.

Translate YAML Showcasesmcp

8 YAML blocks across 3 pages now render Chinese node names.

sequentialBuild Translation Infrastructure
Build Translation Infrastructuremcp

Created translate.ts, get-translated.ts for runtime YAML translation.

sequentialExtract 2126 Strings
Extract 2126 Stringscli

Extracted all translatable strings from 245 workflows.

sequentialCoordinate 4 Parallel Translators
Coordinate 4 Parallel Translatorsagent

Split into 4 batches and dispatched parallel translation agents.

sequentialMerge & Verify
Merge & Verifycli

Merged 245 workflows, fixed garbled chars, verified all pages.

Add your own SOPs

Write .osop files for your API, your team, your company. Every process becomes visible and shareable.