by mttydev
An open-source AI agent that works with you in the terminal. Your models, durable sessions, visible cost. Works with mtty for an integrated workspace.
# Add to your Claude Code skills
git clone https://github.com/mttydev/miaoGuides for using ai agents skills like miao.
Last scanned: 12/3/2026
{
"issues": [
{
"file": "AGENTS.md",
"line": 211,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/mttydev/miao/main/install | bash\"",
"severity": "medium"
},
{
"file": "README.md",
"line": 89,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://mtty.dev/miao/install | bash\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-12-03T03:30:13.920Z",
"npmAuditRan": false,
"pipAuditRan": true,
"promptInjectionRan": true
}See how miao compares with popular alternatives.
miao is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by mttydev. An open-source AI agent that works with you in the terminal. Your models, durable sessions, visible cost. Works with mtty for an integrated workspace. It has 263 GitHub stars.
Yes. miao passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/mttydev/miao" and add it to your Claude Code skills directory (see the Installation section above).
miao is primarily written in TypeScript. It is open-source under mttydev on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh miao against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
miao is an open-source AI agent that works with you in the terminal. Use the models you choose to write code, research topics, manage files, and automate tasks—with visible progress, context usage, and cost.
For an integrated workspace, run miao inside mtty, the AI-native terminal and editor: see agent status per pane, get notified when input is needed, and queue your next prompt while it works.
miao focuses on the engineering around the model: context efficiency, durable sessions, collaboration, and control over long-running work. Its aim is the same useful result with less waiting and fewer wasted tokens.

The terminal and browser captures below use the same illustrative session, imported into the real application without a model request. Captured on 2026-10-04 with miao v0.1.0; the opt-in mini interface is from the current v0.1.1 development build and uses its built-in demo mode.
| Choose your provider | Review in the browser |
|---|---|
![]() |
![]() |
| Compact interactive mode · development preview | Review before allowing an edit · development preview |
|---|---|
![]() |
![]() |
More short, controllable demos: miao on mtty.dev.
Use multiple providers in one interface, switch models within a session, and configure specialist agents with their own models and permissions. The provider catalog and custom provider configuration let you choose for reasoning quality, speed, or price rather than rebuilding your workflow around one vendor.
Add a requirement while the agent is working. V2 saves the input before scheduling execution and brings it into the conversation at a safe provider-turn boundary. Explicit queued inputs wait until the current work would otherwise become idle. You can refine the task without starting another conversation or interrupting every tool call.
Delegate a scoped task to a specialist subagent and continue that subagent session later. V2 also provides list_sessions and send_message: agents can discover and message other sessions in the same project, subject to permissions. Research and focused investigations can live in their own conversations while the main session keeps the overall objective.
Per-turn usage, estimated cost, time to first token, and prompt-cache telemetry make performance visible. Context Epochs preserve an immutable system-context baseline and admit changes chronologically, helping keep cache prefixes reusable. Optional output pruning, compaction tuning, cache TTL, and session budgets give you controls for longer tasks.
Cost estimates use configured model rates and provider currency metadata. They are useful for understanding a session; your provider's billing remains authoritative.
V2 uses durable prompt admission and an event-backed session history. List, reopen, fork, and export sessions instead of treating each terminal window as a disposable chat. Large tool results are bounded in model context, with full output retained in temporary files when available.
Durable history does not imply automatic execution recovery after a crash: unfinished provider work requires an explicit resume, and arbitrary commands are not guaranteed to run exactly once.
| What you need | What miao provides |
|---|---|
| Understand an unfamiliar repository | File reading, search, project instructions, skills, and specialist subagents |
| Implement and verify a change | File edits and patches, shell commands, optional LSP diagnostics and formatting |
| Compare models without changing tools | In-session model selection, provider configuration, per-agent models and reasoning variants where supported |
| Work through a larger task | Todos, mid-task input, durable sessions, and an opt-in autonomous continuation loop |
| Connect your own tools | Local and remote MCP servers, custom commands, skills, and plugins |
| Review and reuse work | Diffs, session forks, history export, and permission prompts |
| Integrate with another application | HTTP server, browser UI, CLI automation, and generated Promise / Effect clients in the workspace |
Try a concrete task: “Find the cause of this failing test, fix it, run the relevant checks, and explain the diff.” Then add a constraint while it works: “Preserve the public API and avoid new runtime dependencies.”
Install on macOS or Linux with the bash script, or on Windows from PowerShell:
irm https://mtty.dev/miao/install.ps1 | iex # Windows: PowerShell 5.1 or 7
Windows terminal rendering is still being verified; see the Windows verification notes.
Windows binaries are currently unsigned.
curl -fsSL https://mtty.dev/miao/install | bash # redirects to this repo's install script
miao providers login # choose a provider and connect your account / API key
cd /path/to/project
miao # start the terminal UI
Inside the TUI, use ctrl+p for the command palette or ctrl+x m for model selection. Run miao models to inspect available models.
miao run "Explain this repository's architecture and identify its main entry points"
miao web # open the browser interface
miao upgrade # update the release binary
The installer places the release command at ~/.miao/bin/miao. Start with the guide for configuration, permissions, MCP, LSP, and troubleshooting.
The V2 autonomous loop is opt-in. It continues while todos remain open, with iteration and stall guards. A budget bounds cost, tokens, provider turns, or wall-clock time: state it for the Session in configuration, or state one for a Goal with the goal tool. At four fifths spent the run is warned with what is left, and at the limit it stops at the next provider-turn boundary — the message you already sent stays queued for the next run, and the model is never switched. Money counts only what a provider reported, so a note that makes a money claim says when a turn carried no charge and the remaining amount is a lower bound. An agent's own budget is a different bound: it caps the provider-billed tokens accumulated over one prompt, so a long orchestration prompt can reach it while its context window is nearly empty. Every reminder names the quantity that fired, and a spent allowance prints the window's occupancy and the compaction threshold beside the tally. It is not a hard cap on a provider bill or on a turn already in flight.
{
"loop": { "enabled": true, "max_iterations": 25 },
"budget": { "cost_usd": 5, "turns": 40, "wallclock_ms": 3600000 },
"compaction": { "prune": true },
}
cost.budget_usd remains supported as the money axis of the same budget.
Place this in .miao/miao.jsonc for a project or ~/.config/miao/miao.jsonc globally. These settings are optional; see the configuration guide before tuning them.
Use /remote-control in the TUI to configure a self-hosted relay and pair or revoke App/Web devices. The legacy WeChat/QQ connectors and local IM session Router have been removed. See Runtime behavior and relay setup.