Architecture Overview
High-Level Architecture
┌─────────────────────────────────────────────────┐
│ CLI Layer │
│ (cmd/gonzo - Entry Point) │
└─────────────────┬───────────────────────────────┘
│
┌─────────────┼─────────────┐
│ │ │
▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌──────────┐
│ Input │ │ TUI │ │ AI │
│ Sources │ │ Engine │ │ Engine │
└────┬────┘ └────┬────┘ └────┬─────┘
│ │ │
│ ┌────▼────┐ │
└──────►│Analyzer │◄──────┘
│ Engine │
└────┬────┘
│
┌────▼────┐
│ Memory │
│ Store │
└─────────┘Directory Structure
Core Components
1. CLI Layer (cmd/gonzo)
cmd/gonzo)2. TUI Engine (internal/tui)
internal/tui)3. Analyzer Engine (internal/analyzer)
internal/analyzer)4. Memory Store (internal/memory)
internal/memory)5. OTLP Handler (internal/otlplog)
internal/otlplog)6. AI Integration (internal/ai)
internal/ai)Data Flow
Log Ingestion Flow
User Interaction Flow
AI Analysis Flow
Key Design Patterns
1. Model-View-Update (MVU)
2. Plugin Architecture
3. Streaming Pipeline
4. Provider Abstraction
Technology Stack
Core Framework
CLI & Configuration
Protocols & APIs
Log Processing
AI Integration
Performance Considerations
Memory Management
CPU Optimization
Network Efficiency
Extension Points
Testing Strategy
Building & Development
Build Process
Development Mode
Release Process
Related Documentation
Last updated