How navzar81-dev/miko works
MIKO is a Windows desktop AI companion with a floating chat pill and a six-tab control dashboard. The main workflow is user prompt → Tauri command handling → configured language model, with tool execution routed through permissions and, when selected, native PC actions or MCP connectors; replies can be spoken. Separate dashboard flows manage configuration, skills, memory, permissions, and connectors. The graph reflects documented capabilities as well as sampled calls; some runtime-to-model and voice links are documented rather than visible in the excerpts.
Main entry points: tools.rs Tool permissions and routing · lib.rs Tauri command runtime · dashboard.js Control dashboard · voice.rs Voice engine
Components 16
User experience
- Floating chat pill
ui/app.js - Control dashboard
ui/dashboard.js
Assistant runtime
- Tauri command runtime
src-tauri/src/lib.rs - Configuration
src-tauri/src/config.rs - Language model client
src-tauri/src/llm.rs - Voice engine
src-tauri/src/voice.rs - Markdown skills
src-tauri/src/skills.rs
Tools and integrations
- Tool permissions and routing
src-tauri/src/tools.rs - Windows PC actions
src-tauri/src/hands.rs - MCP connector hub
src-tauri/src/mcp.rs
Persistent data
- History and audit store
src-tauri/src/memory.rs
Other components
- User
- LLM providers
- Microphone
- Speech services
- MCP servers
Connections 20
- User → Floating chat pill: enters prompt
README.md - Floating chat pill → Tauri command runtime: invokes commands
ui/app.js - User → Control dashboard: manages settings
README.md - Control dashboard → Tauri command runtime: invokes commands
ui/dashboard.js - Tauri command runtime → Tool permissions and routing: executes tools
src-tauri/src/lib.rs - Tool permissions and routing → Windows PC actions: dispatches actions
src-tauri/src/tools.rs - Tool permissions and routing → MCP connector hub: calls MCP tools
src-tauri/src/tools.rs - Tool permissions and routing → History and audit store: reads and writes
src-tauri/src/tools.rs - Tool permissions and routing → Markdown skills: uses skills
src-tauri/src/tools.rs - Tool permissions and routing → Language model client: analyzes screens
src-tauri/src/tools.rs - Tauri command runtime → Voice engine: controls conversation
src-tauri/src/lib.rs - Tauri command runtime → History and audit store: stores facts
src-tauri/src/lib.rs - Control dashboard → History and audit store: manages memories
ui/dashboard.js - Control dashboard → MCP connector hub: tests connectors
ui/dashboard.js - Control dashboard → Markdown skills: manages skills
- Tauri command runtime → Language model client: requests responses
src-tauri/src/lib.rs - Language model client → LLM providers: sends requests
src-tauri/src/llm.rs - Voice engine → Microphone: captures audio
README.md - Voice engine → Speech services: generates speech
README.md - MCP connector hub → MCP servers: connects tools
README.md