Masko Agent
Masko Agent puts a mascot on your Mac's screen, outside any window, and lets your AI coding agents drive it. When an agent works, waits for you or finishes, the mascot shows it. Your agent can also talk to the mascot: make it say something, ask you a question, or switch to another mascot. Ko, Masko's own mascot, comes first; any mascot made with Masko can take his place.
Masko Agent is a separate app from Masko for Mac. It has no window: you use it from the mascot itself and from its icon in the menu bar. It needs macOS 14 or later.
Masko Agent is not released yet. Until it is, the install command below says so and installs nothing.
Install it by asking your agent
Ask your agent, in Claude Code, Codex, Cursor or any agent that runs commands:
Install Masko Agent.The agent runs one command:
curl -fsSL https://masko.ai/agent/install | bashThe script downloads the signed app, checks its size and that Masko's Apple team signed it, copies Masko Agent.app into Applications (or ~/Applications when Applications is not writable, so it never asks for a password) and opens it. The mascot appears on your screen. If Masko Agent is already installed, the script opens it. The app updates itself.
Options, after bash -s --:
| Option | What it does |
|---|---|
--json | Prints one JSON line at the end, for agents: ok, app, version, already_installed, opened and a note. |
--no-open | Installs without opening the app. |
--dir DIR | Installs into DIR instead of Applications. |
For example, curl -fsSL https://masko.ai/agent/install | bash -s -- --json.
Connect your agents
Right-click the mascot to open its quick actions, then choose Connect and pick the agents it follows (the menu bar icon has the same list under Connect agents): Claude Code, Codex, Cursor, Kimi, Grok, Hermes and OpenCode. Masko Agent installs the hooks or plugin each one needs.
Agent sessions started after that make the mascot react. Sessions that were already open, including the one that installed Masko Agent, do not: start a new one.
An agent can also connect itself and the others with the connect_agent tool below.
Talk to the mascot from your agent
Masko Agent serves a local MCP server on your Mac, so a connected agent can talk to the mascot. It runs only on your computer and needs no Masko account or API key.
You don't set it up yourself. When you connect an agent, Masko Agent adds an MCP server named masko-agent to that agent's settings (for Claude Code, ~/.claude.json; for Codex, ~/.codex/config.toml; for Cursor, ~/.cursor/mcp.json). It runs a small program, ~/.masko-agent/bin/masko-agent-mcp, which passes each request to the running app. Two things follow:
- Masko Agent must be running. If it is not, the tools answer that it is closed and how to open it:
open -a "Masko Agent". - An agent session that was already open when you connected the agent does not see the tools. Start a new session.
| Tool | What it does |
|---|---|
get_status | Whether the mascot is showing, which mascot plays and which agents are connected. |
get_diagnostics | What to check when the mascot does not appear or does not react: the app version, the mascot's files and each agent's connection. |
list_mascots | The mascots in Masko Agent, with the one playing. |
add_mascot | Adds a mascot from its release link or canvas id (see below) and plays it. |
use_mascot | Plays another mascot that is already in Masko Agent. |
remove_mascot | Removes a mascot from Masko Agent. |
show_mascot | Shows the mascot. |
hide_mascot | Hides the mascot. |
say | Makes the mascot say a short line in a speech bubble. The mascot must be showing. |
ask | Asks the person a question from the mascot, with optional choices, and waits. Returns the answer, or says the person dismissed it or did not answer in time. |
list_agents | The agents Masko Agent can follow and which are connected. |
connect_agent | Connects an agent, so its sessions make the mascot react. |
disconnect_agent | Disconnects an agent. |
Ask in plain words, for example:
Ask me with the mascot whether to deploy now, and wait for my answer.Make a new mascot and add it
New mascots and their animations are made with the Masko MCP server in the cloud, which needs a Masko account. The local server above only plays mascots that already exist. Step by step, with the prompts to paste: Make your own mascot for Masko Agent.
- Connect the Masko MCP server to your agent: see Build with your AI agent.
- Ask for the mascot. The agent makes it with
create_mascot(agent guide), plans what it does in a canvas withcreate_canvas, makes its animations withgenerate_canvasand releases them withrelease_canvas(agent guide). It tells you the cost before anything paid. - The agent asks
get_release_deliverywith thedesktoptarget for this computer's link,masko_agent_link, and passes it toadd_mascoton the local server. The new mascot appears on your screen.
Make a small fox mascot that types when my agent works and sleeps when
it is idle, with Masko (masko.ai). Tell me the cost first. Then add it
to Masko Agent.The link plays the newest release of the canvas, so later releases reach Masko Agent without adding the mascot again. It carries the mascot's app key, which can only play that mascot's released canvases: your account key never goes into Masko Agent. masko_agent_link also carries a one-time code that links this Mac to your Masko account. It works once, within ten minutes, and gives access to nothing. The release link from release_canvas, a public canvas link or a bare canvas id work too; they only skip that link.
What the mascot does, and which animations a mascot needs to react to your agents, is on Masko Agent canvas.
Add a mascot from a link
Anyone can add a mascot without an agent by clicking a link of this form, for example in an email:
masko-agent://add?link=<release link><release link> is any link add_mascot takes, URL-encoded. Masko Agent adds the mascot and puts it on the screen, or explains why it could not.
What Masko Agent sends
Masko Agent needs no Masko account. The prompts, files and code of the agents on your Mac stay on your Mac. Here is what it sends, and where.
Its install token. When it first opens, Masko Agent asks masko.ai for a free token for this install, sending the app and macOS versions, and keeps it in ~/.masko-agent/install-token. A new install, or another Mac, gets its own token. Every call to masko.ai below carries it. If you sign in to a Masko account from Masko Agent, masko.ai links the token to that account.
Mascot downloads. Downloading a mascot sends the token, so Masko counts how many installs play which mascots.
A heartbeat to masko.ai. Once a day, or once a minute while an agent on another computer is paired, Masko Agent tells masko.ai that this install is running and which app version it is. masko.ai counts installs, mascot downloads and paired agents on its side, whether or not you share usage statistics.
Usage statistics, which you can turn off. Masko Agent sends anonymous usage statistics to PostHog, the analytics service Masko uses: a random device id, macOS version, language and region, processor type, which mascot is on screen and for how long, mascots added and removed, which kinds of agents are connected, the kind of each agent event (for example "a tool ran" or "a question was asked"), the name of a tool an agent asks you to approve (such as Bash) and how long you took to answer, what you do with the mascot and its menu, app updates, and app errors. Home folder paths are removed from all of it, and it never includes what an agent writes, reads or runs. If you sign in to a Masko account, your account id is added, not your email or name. To turn it off, uncheck Share anonymous usage in the menu bar menu. Starting the app from Terminal with MASKO_AGENT_ANALYTICS=0 turns it off too.
Agents on other computers. If you pair an agent on another computer, such as Hermes on a server, everything its mascot needs travels to your Mac through masko.ai: your prompts to it and its replies, the folder it works in, the tools it runs with their inputs and results (shortened when long), its questions and approvals, and your answers. masko.ai deletes each message about a day after it was sent. To stop it, ask your agent to unpair it (list_remote_agents, then unpair_remote_agent).
Problem reports, only when you send one. If the mascot does not react and you send a report from the connection doctor, it includes Masko Agent's own logs and settings, the Masko entries in your agents' hook settings, the names of other programs your agents run as hooks, and the Masko lines of Claude Code's debug log, with your home folder removed from every path.
Remove Masko Agent
Disconnect your agents first, from the mascot's Connect menu or with disconnect_agent. Then quit Masko Agent from its menu bar icon and move Masko Agent.app from Applications to the Trash.
