Skip to content
maskostudioDocs

All pages

  • Overview/docs/use-cases
  • Mobile app/docs/use-cases#mobile
  • Website/docs/use-cases#website
  • Desktop/docs/use-cases#desktop
  • AI agents/docs/use-cases#agents
  • Videos/docs/use-cases#videos
  • Brand/docs/use-cases#brand
  • Start building/docs/ai-agents
  • Set up once/docs/ai-agents#set-up-once
  • Ask in plain words/docs/ai-agents#ask-in-plain-words
  • What your agent does/docs/ai-agents#what-your-agent-does
  • MCP server/docs/mcp
  • Agent guide: create a mascot/docs/ai-agents/create-mascot
  • Agent guide: animate a mascot/docs/ai-agents/animate-mascot
  • Agent guide: interactive mascot/docs/ai-agents/build-interactive-mascot
  • Agent guide: website or app/docs/ai-agents/integrate-mascot
  • Agent guide: desktop pet/docs/ai-agents/desktop-pet
  • Masko Agent/docs/ai-agents/masko-agent
  • Masko Agent canvas/docs/ai-agents/masko-agent-canvas
  • Masko for Cursor/docs/ai-tools/cursor
  • Masko in ChatGPT/docs/ai-tools/chatgpt
  • Masko in Lovable/docs/ai-tools/lovable
  • Masko in Devin/docs/ai-tools/devin
  • Masko in n8n/docs/ai-tools/n8n
  • Masko in Hermes Agent/docs/ai-tools/hermes
  • Masko in OpenClaw/docs/ai-tools/openclaw
  • Start here/docs/tutorials#start-here
  • All tutorials/docs/tutorials
  • Create your first mascot/docs/tutorials/first-mascot
  • Create an animated character/docs/tutorials/first-animation
  • Make a character talk/docs/tutorials/make-it-talk
  • Put your mascot on your website/docs/tutorials/mascot-on-your-website
  • Guide onboarding with a talking mascot/docs/tutorials/web-onboarding-mascot
  • Add a mascot that celebrates progress and welcomes users back/docs/tutorials/web-progress-companion
  • Add a talking support mascot in the bottom right/docs/tutorials/web-support-mascot
  • Show a mascot while your AI thinks/docs/tutorials/ai-loading-mascot
  • Make your own mascot for Masko Agent/docs/tutorials/masko-agent-mascot
  • Give your AI agent a face/docs/tutorials/ai-agent-face
  • Animate the mascot you already have/docs/tutorials/animate-your-mascot
  • How to make Telegram stickers/docs/tutorials/telegram-stickers
  • How to make Discord stickers/docs/tutorials/discord-stickers
  • Quickstart: your first animation/docs/quickstart
  • Terminal quickstart/docs/terminal
  • API keys and workspaces/docs/authentication
  • CLI browser login/docs/authentication/cli
  • How mascots work/docs/how-mascots-work
  • Credits and costs/docs/credits
  • From text/docs/create/from-text
  • From an image/docs/create/from-image
  • From a website/docs/create/from-website
  • From a brand book/docs/create/from-brand-book
  • Reference images/docs/manage/references
  • Props/docs/manage/props
  • What you can generate/docs/generation
  • Pose-to-animation walkthrough/docs/generate/workflow
  • Images and poses/docs/generate/images
  • Animations/docs/generate/animations
  • Talking animations/docs/generate/talking
  • Sounds/docs/generate/sounds
  • Motion/docs/generate/motion
  • Animation presets/docs/generate/presets
  • Write good requests/docs/generate/requests
  • Logos, backgrounds and stickers/docs/generate/design-assets
  • Cursor follower/docs/generate/cursor-follower
  • Batch generation/docs/generate/batch
  • Image and video exports/docs/manage/media-exports
  • Canvases and releases/docs/canvas
  • Build a canvas/docs/canvas/build
  • Canvas templates/docs/canvas/templates
  • Generate canvas assets/docs/canvas/generate-all
  • Export a canvas/docs/canvas/export
  • Overview and demo/docs/player
  • Play one animation/docs/player/one-animation
  • Play a canvas/docs/player/canvas
  • Ship in an app with an app key/docs/player/app-keys
  • Play on an ESP32 board/docs/player/esp32
  • Hosting and file formats/docs/generate/cdn
  • File sizes/docs/generate/file-sizes
  • Float a mascot on your Mac/docs/integrations/desktop
  • Jobs and polling/docs/manage/jobs
  • Webhooks/docs/manage/webhooks
  • Manage mascots and assets/docs/manage/collections
  • All endpoints/docs/reference
  • Requests and responses/docs/reference/conventions
  • Errors and recovery/docs/reference/errors
  • Command line reference/docs/terminal/commands
  • TypeScript SDK/docs/sdk/typescript
  • Changelog/docs/reference/changelog
  • Migrate to mascots and canvases/docs/manage/studio-migration
Get an API key
Documentation

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 | bash

The 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 --:

OptionWhat it does
--jsonPrints one JSON line at the end, for agents: ok, app, version, already_installed, opened and a note.
--no-openInstalls without opening the app.
--dir DIRInstalls 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.
ToolWhat it does
get_statusWhether the mascot is showing, which mascot plays and which agents are connected.
get_diagnosticsWhat 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_mascotsThe mascots in Masko Agent, with the one playing.
add_mascotAdds a mascot from its release link or canvas id (see below) and plays it.
use_mascotPlays another mascot that is already in Masko Agent.
remove_mascotRemoves a mascot from Masko Agent.
show_mascotShows the mascot.
hide_mascotHides the mascot.
sayMakes the mascot say a short line in a speech bubble. The mascot must be showing.
askAsks 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_agentsThe agents Masko Agent can follow and which are connected.
connect_agentConnects an agent, so its sessions make the mascot react.
disconnect_agentDisconnects 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.

  1. Connect the Masko MCP server to your agent: see Build with your AI agent.
  2. Ask for the mascot. The agent makes it with create_mascot (agent guide), plans what it does in a canvas with create_canvas, makes its animations with generate_canvas and releases them with release_canvas (agent guide). It tells you the cost before anything paid.
  3. The agent asks get_release_delivery with the desktop target for this computer's link, masko_agent_link, and passes it to add_mascot on 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.

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.