Skip to main content

Codebase Summary

Technical overview of the miu-mono monorepo structure and implementation.

Project Structure

miu-core Modules

miu_core.agents - Agent framework base classes

miu-code Tools

TUI Components

Location: miu_code/tui/
Footer showing mode, path, and token usage with real-time updates during streaming.
Keyboard cycling through NORMAL → PLAN → ASK modes via shift+tab.
  • ctrl+n - New session
  • ctrl+l - Clear chat
  • ctrl+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