Skip to content

rmax-ai/agentic-workflows

Repository files navigation

Agentic Workflows

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.

Purpose

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.

Organizing principle

The repository is curated in this order:

  1. pattern first
  2. domain second
  3. implementation/examples third

That ordering is deliberate. The goal is to catalog reusable workflow structure before collecting sector-specific examples.

Repository structure

agentic-workflows/
├─ README.md
├─ docs/
├─ data/
│  ├─ vocabularies/
│  ├─ patterns/
│  └─ views/
├─ instances/
├─ schema/
└─ .agent/

Foundational docs

Phase 1 establishes the repository's shared model and canonical schema:

  • docs/ontology.md — ontology layers, core entities, relationships, and normalization rules
  • docs/schema.md — canonical pattern fields, cardinality expectations, and schema usage guidance
  • docs/index-tree.md — intended pattern-first browse tree and alternate browse views
  • docs/contribution-guide.md — file placement, naming conventions, workflow, and dependency order
  • schema/pattern.schema.json — JSON Schema for canonical YAML pattern entries

Core concepts

Pattern

A reusable workflow structure such as synthesis, reconciliation, monitoring, triage, planning, recommendation, execution, or optimization.

Domain

A context where a pattern appears, such as engineering, finance, compliance, operations, research, support, or HR.

Instance

A concrete example of a canonical pattern applied to a real workflow, system, or operating environment.

Design rules

  1. Patterns are canonical. Pattern entries carry the reusable structure.
  2. Domains are contextual. Domains show where a pattern appears without redefining it.
  3. Instances are grounded. Instances come after patterns and vocabularies are stable.
  4. Governance is first-class. Autonomy, reversibility, approval boundaries, privacy, and auditability belong in the model, not just in prose.

Contribution order

Work should proceed in dependency order:

  1. foundations and schema
  2. controlled vocabularies
  3. browse views
  4. canonical patterns
  5. grounded instances
  6. coverage refinement

See docs/contribution-guide.md for authoring rules and docs/schema.md for the canonical pattern contract.

Development tooling

Repository helper scripts use uv with Python 3.14.

Typical setup:

  1. uv python install 3.14
  2. uv sync
  3. uv run python scripts/python/validate_yaml.py

Automation entrypoints:

  1. ./scripts/run-agentic-workflows-loop.sh for one ontology iteration
  2. ./scripts/run-agentic-workflows-forever.sh for repeated ontology iterations with a stop-file check
  3. ./scripts/run-mermaid-illustration-loop.sh for one Mermaid illustration batch across Markdown workflow files
  4. ./scripts/run-mermaid-illustration-forever.sh for repeated Mermaid illustration batches with a stop-file check

Mermaid illustration batching accepts the usual shell environment overrides:

  • BATCH_SIZE to change the default batch size from 10
  • MODEL to change the default Copilot model from gpt-5.4
  • COPILOT_BIN to point at a non-default Copilot CLI binary
  • REPO_ROOT to override repository auto-detection

Static site publication:

  1. uv run python scripts/python/build_site_docs.py
  2. uv run mkdocs serve
  3. uv 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:

  1. Enable GitHub Pages in the repository and set the source to GitHub Actions.
  2. Push to main or run the Publish Site workflow manually.
  3. The workflow at .github/workflows/publish-site.yml validates YAML, regenerates build/site-docs, builds the site, and deploys build/site.

Keep shell entrypoints thin and put reusable repository logic in checked-in Python helpers instead of ad hoc interpreter snippets.

Status

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.

License

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors