Formats like Structurizr DSL, Mermaid, and PlantUML use text to define diagrams, making them inherently machine-readable and ideal for AI agents to parse directly for code generation. Structurizr DSL, specifically for the C4 model, is highlighted for its AI-friendly, model-based consistency.