Quick Start
import { Steps, Tabs, TabItem } from ‘@astrojs/starlight/components’;
From Zero to Mobile AI Assistant
Section titled “From Zero to Mobile AI Assistant”-
Clone and build
Terminal window git clone https://github.com/m1ab0t/mia.git ~/miacd ~/mia && npm install && npm run build && npm link -
Run setup
Terminal window mia setupFollow the prompts to pick your AI provider and authenticate.
-
Start the daemon and pair your phone
Terminal window mia startmia p2p qrScan the QR code with the Mia mobile app. You’re connected — start chatting from your phone.
-
Or use the CLI directly
Terminal window mia chatMia automatically detects your project, scans git state, and injects relevant context.
Common Workflows
Section titled “Common Workflows”From Your Phone (Primary)
Section titled “From Your Phone (Primary)”Once paired, the Mia mobile app gives you full control:
- Chat — Send prompts, get streaming AI responses with full codebase context
- Switch agents — Tap to switch between Claude Code, Gemini, Codex, OpenCode
- Personas — Create custom AI personalities or generate them from a description
- Scheduler — Create and monitor cron-based automated tasks
- Slash commands —
/standup,/doctor,/usage,/memory,/recap, and more
Interactive CLI Development
Section titled “Interactive CLI Development”cd ~/my-projectmia chatInside the chat, use slash commands:
| Command | What it does |
|---|---|
/add src/api.ts | Inject a file into context |
/exec npm test | Inject command output |
/diff | Inject current git diff |
/remember prefers pnpm | Save a fact to memory |
/new | Start a fresh conversation |
One-Shot Questions
Section titled “One-Shot Questions”# Ask about the current projectmia ask "What does the auth middleware do?"
# Pipe in contextcat error.log | mia ask "What caused this crash?"
# Work on a specific directorymia ask --cwd ~/other-project "Summarize this codebase"AI Commit Messages
Section titled “AI Commit Messages”# Stage some changes, then:mia commitSwitch AI Providers
Section titled “Switch AI Providers”From the mobile app, tap the plugin switcher. Or from CLI:
mia plugin listmia plugin switch geminimia plugin testScheduled Tasks
Section titled “Scheduled Tasks”# Morning standup every weekday at 9ammia scheduler add "0 9 * * 1-5" "Write a standup report"
# Weekly changelog every Fridaymia scheduler add "0 17 * * 5" "Generate a changelog for this week"Next Steps
Section titled “Next Steps”- Architecture Overview — Understand how Mia works under the hood.
- P2P & Mobile — Deep dive into the mobile app and P2P networking.
- CLI Commands — Full reference for all CLI commands.
- Configuration — Customize Mia’s behavior.