A pattern-first ontology of agentic workflows.
This repository treats reusable workflow patterns as the primary organizing spine, with domains as context and implementations/examples as downstream grounding.
The repository is intended to answer:
- what kinds of workflows are meaningfully agentic,
- why they require more than static automation,
- what capabilities and architectures they depend on,
- what autonomy, governance, and evaluation constraints apply,
- how the same workflow pattern recurs across domains.
The repository is curated in this order:
- pattern first
- domain second
- implementation/examples third
That ordering is deliberate. The goal is to catalog reusable workflow structure before collecting sector-specific examples.
agentic-workflows/
├─ README.md
├─ docs/
├─ data/
│ ├─ vocabularies/
│ ├─ patterns/
│ └─ views/
├─ instances/
├─ schema/
└─ .agent/
Phase 1 establishes the repository's shared model and canonical schema:
docs/ontology.md— ontology layers, core entities, relationships, and normalization rulesdocs/schema.md— canonical pattern fields, cardinality expectations, and schema usage guidancedocs/index-tree.md— intended pattern-first browse tree and alternate browse viewsdocs/contribution-guide.md— file placement, naming conventions, workflow, and dependency orderschema/pattern.schema.json— JSON Schema for canonical YAML pattern entries
A reusable workflow structure such as synthesis, reconciliation, monitoring, triage, planning, recommendation, execution, or optimization.
A context where a pattern appears, such as engineering, finance, compliance, operations, research, support, or HR.
A concrete example of a canonical pattern applied to a real workflow, system, or operating environment.
- Patterns are canonical. Pattern entries carry the reusable structure.
- Domains are contextual. Domains show where a pattern appears without redefining it.
- Instances are grounded. Instances come after patterns and vocabularies are stable.
- Governance is first-class. Autonomy, reversibility, approval boundaries, privacy, and auditability belong in the model, not just in prose.
Work should proceed in dependency order:
- foundations and schema
- controlled vocabularies
- browse views
- canonical patterns
- grounded instances
- coverage refinement
See docs/contribution-guide.md for authoring rules and docs/schema.md for the canonical pattern contract.
Repository helper scripts use uv with Python 3.14.
Typical setup:
uv python install 3.14uv syncuv run python scripts/python/validate_yaml.py
Automation entrypoints:
./scripts/run-agentic-workflows-loop.shfor one ontology iteration./scripts/run-agentic-workflows-forever.shfor repeated ontology iterations with a stop-file check./scripts/run-mermaid-illustration-loop.shfor one Mermaid illustration batch across Markdown workflow files./scripts/run-mermaid-illustration-forever.shfor repeated Mermaid illustration batches with a stop-file check
Mermaid illustration batching accepts the usual shell environment overrides:
BATCH_SIZEto change the default batch size from10MODELto change the default Copilot model fromgpt-5.4COPILOT_BINto point at a non-default Copilot CLI binaryREPO_ROOTto override repository auto-detection
Static site publication:
uv run python scripts/python/build_site_docs.pyuv run mkdocs serveuv run mkdocs build
The published documentation tree is generated into build/site-docs, and MkDocs renders the static site into build/site.
GitHub Pages deployment:
- Enable GitHub Pages in the repository and set the source to GitHub Actions.
- Push to
mainor run thePublish Siteworkflow manually. - The workflow at
.github/workflows/publish-site.ymlvalidates YAML, regeneratesbuild/site-docs, builds the site, and deploysbuild/site.
Keep shell entrypoints thin and put reusable repository logic in checked-in Python helpers instead of ad hoc interpreter snippets.
Foundational docs, schema, controlled vocabularies, browse views, family docs, and the first canonical patterns are now in place. The next priority is to expand the seed pattern set and begin grounding stable patterns with instances, with repository helper tooling standardized on uv-managed Python 3.14.
See LICENSE.