A collection of 30+ OSOP workflow templates covering 9 domains. Each example is a complete, valid .osop.yaml file that can be validated and run with the OSOP CLI .
Website: osop.ai | GitHub: github.com/osop/osop-examples
# Clone the examples
git clone https://github.com/osop/osop-examples.git
cd osop-examples
# Validate any example
osop validate devops/ci-build-test-deploy.osop.yaml
# Render a diagram
osop render devops/ci-build-test-deploy.osop.yaml --format mermaid
# Dry-run an example
osop run devops/ci-build-test-deploy.osop.yaml --dry-run
File
Description
devops/ci-build-test-deploy.osop.yaml
Full CI/CD pipeline: build, unit test, integration test, approval, deploy
devops/rollback-on-failure.osop.yaml
Deployment with automatic rollback via error edges
devops/multi-env-promotion.osop.yaml
Promote through dev, staging, production with approval gates
devops/hotfix-release.osop.yaml
Emergency hotfix: branch, fix, fast-track review, deploy
devops/infrastructure-drift-check.osop.yaml
Scheduled Terraform plan to detect infrastructure drift
devops/secret-rotation.osop.yaml
Rotate secrets across services with validation steps
File
Description
testing/e2e-test-suite.osop.yaml
End-to-end test suite with parallel browser tests
testing/load-test-ramp.osop.yaml
Progressive load testing with ramp-up stages and thresholds
testing/canary-validation.osop.yaml
Canary deployment with automated health check validation
testing/regression-gate.osop.yaml
Regression test gate with retry on flaky tests
Infrastructure (4 examples)
File
Description
infrastructure/provision-cluster.osop.yaml
Provision a Kubernetes cluster with networking and monitoring
infrastructure/database-migration.osop.yaml
Database schema migration with backup and rollback
infrastructure/ssl-cert-renewal.osop.yaml
Automated SSL certificate renewal with DNS validation
infrastructure/disaster-recovery-failover.osop.yaml
DR failover: health check, DNS switch, data sync verification
AI Agent (3 examples + 1 execution log)
File
Description
ai-agent/rag-pipeline.osop.yaml
RAG pipeline: ingest, chunk, embed, index, query
ai-agent/model-evaluation.osop.yaml
LLM evaluation: generate, judge, aggregate scores, report
ai-agent/agent-tool-selection.osop.yaml
Multi-tool agent: decide tool, execute, validate output, retry
ai-agent/research-and-summarize.osoplog.yaml
Example .osoplog execution record: research workflow with retries, cost tracking, and human approval
File
Description
data/etl-pipeline.osop.yaml
Extract-Transform-Load with validation and error handling
data/data-quality-check.osop.yaml
Data quality checks: schema, nulls, outliers, freshness
data/batch-export.osop.yaml
Batch data export with chunking and progress tracking
data/data-anonymization.osop.yaml
PII detection and anonymization pipeline for compliance
File
Description
api/api-versioning-release.osop.yaml
API version release: generate docs, update gateway, notify consumers
api/webhook-retry-handler.osop.yaml
Webhook delivery with exponential backoff retry
api/rate-limit-monitor.osop.yaml
Monitor API rate limits and alert on threshold breach
File
Description
mobile/app-store-release.osop.yaml
Mobile release: build, sign, screenshot, submit, monitor reviews
mobile/beta-distribution.osop.yaml
Beta build distribution to TestFlight and Firebase App Distribution
File
Description
platform/feature-flag-rollout.osop.yaml
Gradual feature flag rollout: 1%, 10%, 50%, 100% with monitoring
platform/tenant-onboarding.osop.yaml
SaaS tenant onboarding: provision, configure, seed data, notify
File
Description
business/employee-onboarding.osop.yaml
Employee onboarding: accounts, access, equipment, orientation
business/invoice-approval.osop.yaml
Invoice approval workflow with amount-based routing
business/incident-response.osop.yaml
Incident response: detect, triage, mitigate, resolve, postmortem
devops/
testing/
infrastructure/
ai-agent/
data/
api/
mobile/
platform/
business/
Each domain directory contains self-contained .osop.yaml files. Every example includes:
A clear name and description
Proper use of OSOP node types (start, end, step, decision, fork, join, etc.)
Connected edges forming a valid graph
Realistic actions and conditions
Comments explaining non-obvious logic
We welcome community-contributed examples. Please ensure your workflow:
Passes osop validate
Uses descriptive node IDs (kebab-case)
Includes a description on the workflow and non-trivial nodes
Targets a real-world use case
Open a pull request with your example in the appropriate domain directory.
Apache License 2.0 — see LICENSE for details.