Codebase Summary
Technical overview of the miu-mono monorepo structure and implementation.Project Structure
miu-core Modules
- Agents
- Providers
- Tools
- Patterns
miu_core.agents - Agent framework base classesmiu-code Tools
TUI Components
Location:miu_code/tui/
StatusBar
StatusBar
Footer showing mode, path, and token usage with real-time updates during streaming.
Mode Management
Mode Management
Keyboard cycling through NORMAL → PLAN → ASK modes via shift+tab.
Session Control
Session Control
ctrl+n- New sessionctrl+l- Clear chatctrl+c- Quit
Usage Tracking
Mode Management
Dependencies
Core Framework
Optional Providers
CLI/TUI
Development Setup
Build System
- Package Manager: UV with workspace management
- Build Backend: hatchling
- Type Checking: MyPy (strict mode)
- Linting: Ruff
- Testing: Pytest with asyncio