.omni-architect.yml configuration file or via CLI arguments. The configuration file approach is recommended for persistent project settings, while CLI arguments are useful for one-off executions or overriding specific settings.
Configuration Methods
Configuration File Location
Place the.omni-architect.yml file in the root of your project directory. When running Omni Architect, it will automatically detect and load this configuration.
Core Configuration Options
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prd_source | string | Yes | - | PRD document in Markdown format or path/URL to the document |
project_name | string | Yes | - | Project name used as namespace in diagrams and Figma |
figma_file_key | string | Yes | - | Figma file key from URL: https://www.figma.com/file/<FILE_KEY>/... |
figma_access_token | string | Yes | - | Figma personal access token with write permissions |
diagram_types | array | No | ["flowchart", "sequence", "erDiagram", "stateDiagram", "C4Context"] | List of Mermaid diagram types to generate |
design_system | string | No | "material-3" | Design system for Figma assets: material-3, apple-hig, tailwind, custom |
validation_mode | string | No | "interactive" | Validation mode: interactive, batch, auto |
validation_threshold | number | No | 0.85 | Minimum score (0.0-1.0) for auto-approval when validation_mode=auto |
locale | string | No | "pt-BR" | Language for labels, annotations, and generated documentation |
Priority Order
When both configuration file and CLI arguments are present:- CLI arguments take highest priority (override everything)
- Configuration file (
.omni-architect.yml) takes second priority - Default values are used if neither is specified
Sensitive values like
figma_access_token should be passed via CLI arguments with environment variables rather than stored in the configuration file.Environment Variables
You can reference environment variables in your configuration:.omni-architect.yml
CLI
Minimal Configuration
The absolute minimum required configuration:Complete Configuration Example
For a full-featured setup with all options:.omni-architect.yml
Next Steps
Diagram Types
Learn about all 7 available Mermaid diagram types
Design Systems
Configure Material 3, Apple HIG, Tailwind, or custom systems
Validation Modes
Understand interactive, batch, and auto validation
Design Tokens
Customize colors, typography, and spacing