Skip to content

Commit 9962476

Browse files
committed
docs: add MLflow tracking as example of AI provider agnosticism principle
- Demonstrates provider-agnostic implementation pattern - Shows how to avoid N×M complexity problem - References tracking/parse_session.py as concrete example - Closes #1329
1 parent 9a51d0a commit 9962476

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

knowledge/principles/ai-provider-agnosticism.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ Historical note: `.claude/command-templates/` are intentionally retired; they re
6666
- Strengths: Novel OpenAI models, cutting-edge capabilities, unique availability
6767
- MCP: TOML config with mcp_servers sections
6868

69+
## Implementation Example: MLflow Tracking
70+
71+
MLflow session tracking (`tracking/parse_session.py`) demonstrates provider agnosticism by extracting actual commands rather than maintaining provider-specific patterns. Instead of N×M complexity (N providers × M patterns), it uses a single parser that looks for `git`, `gh`, and bash commands regardless of AI formatting. This avoids provider detection entirely - working automatically with Claude Code, OpenAI Codex, and future assistants.
72+
6973
## Relationship to Other Principles
7074

7175
- **[Systems Stewardship](systems-stewardship.md)**: Consistent interfaces across providers

0 commit comments

Comments
 (0)