ontograph

Overview

Creates a Mermaid diagram describing the ontology. The command prefers an @openai/agents generated graph but falls back to a deterministic layout when the agent is unavailable.

Usage

ouro ontograph [--agent-model <model>]

Key Options

  • --agent-model <model> – Override the model that synthesises the graph.

Inputs & Outputs

  • Inputs: .ouro/ontology/main.md as the source of technologies, components, and patterns.
  • Outputs: .ouro/ontology/ontograph.md containing a Mermaid code block ready for rendering in Markdown viewers.

When to Use

  • Communicate the system architecture visually to new contributors.
  • Embed the generated graph in slide decks or documentation.

Follow-up Checklist

  • Render the Mermaid snippet in your Markdown viewer to verify layout.
  • Commit the updated ontograph.md alongside ontology changes.