Masko Agent canvas
Masko Agent plays a mascot's canvas: its poses, the moves between them and the rules that pick them. Masko Agent never chooses an animation itself. It turns on and off a few named inputs as your agents work and as you touch the mascot, and the canvas decides what to play. A mascot reacts to exactly the inputs its canvas uses; an input it does not use is skipped.
What your agents turn on
Masko Agent follows Claude Code, Codex, Cursor, Kimi, Grok, Hermes and OpenCode. Every connected session sets the same inputs.
| Input | On while | How long |
|---|---|---|
behavior::working | an agent's turn runs | until the turn ends |
behavior::attention | an agent waits for you: a permission or a question | until you answer |
behavior::celebrate | a turn just finished | about 4 seconds, played once |
behavior::error | a turn just failed | about 8 seconds |
behavior::waiting | an agent compacts its conversation | until it is done |
action::thinking | inside a turn, between two tools | until the next tool starts |
action::reading | the agent reads files (Read, Grep, Glob, LS and their kind) | until the read ends |
action::tool:… | a tool runs, see below | until the tool ends |
behavior::rest | none of the behaviors above is on | use it to go back to idle |
One animation per tool
While a tool runs, Masko Agent turns on the most precise tool input your canvas has, and only that one:
action::tool:<server>.<tool>for one tool of an MCP server, for exampleaction::tool:masko.generate_canvasoraction::tool:linear.create_issue.action::tool:<server>for any tool of that server, for exampleaction::tool:masko.action::tool:<tool>for a built-in tool, for exampleaction::tool:bashoraction::tool:edit.
So a canvas can give one Masko tool its own animation and all the other Masko tools another. A tool without an animation of its own keeps the mascot working.
What you turn on
| Input | On while |
|---|---|
behavior::heldContact | you hold the mascot with the mouse |
behavior::heldShake | you shake it while you hold it |
The poses a mascot needs
A mascot that reacts well to agents needs few poses. This is the canvas Masko Agent is made for:
| Pose | Entered when | Left when |
|---|---|---|
| idle | the canvas starts | |
| working | behavior::working | behavior::rest |
| attention | behavior::attention | behavior::rest |
| celebrate | behavior::celebrate | after its loop, back to idle |
| error | behavior::error | after its loop, back to idle |
| held | behavior::heldContact | behavior::heldContact turns off |
| shaken | behavior::heldShake | behavior::heldShake turns off |
Each pose needs a loop and a move in from idle; a pose left on behavior::rest also needs a move back. Tool, thinking and reading poses are extras: add them once the base works.
This base is the built-in canvas template masko-agent-7state. With the REST API, apply it to a new canvas to start from these seven poses and their moves.
Several inputs are often on at once, for example an agent working while you hold the mascot. Any State moves with priorities decide which pose wins, not the order the inputs came in. Ko, Masko's own mascot, uses: error 80, shaken 79, held 74, attention 60, Masko tools 55, celebrate 50, and working with no priority, so everything else wins over working.
Make it with your agent
With the Masko MCP server connected, ask in plain words:
Make a canvas for my mascot for Masko Agent: idle, working, waiting for
me, celebrate, error, held and shaken, with the inputs from
masko.ai/docs/ai-agents/masko-agent-canvas. Tell me the cost first.
Then release it and add it to Masko Agent on this computer.The whole path, from signing in to Masko to the mascot on your screen, is the tutorial Make your own mascot for Masko Agent. The agent builds the canvas with create_canvas, makes its animations with generate_canvas, releases it with release_canvas and adds it with the link from get_release_delivery (agent guide). To give a tool its own animation later, ask for one more pose on action::tool:<server>.<tool>: it costs one pose and its moves, and nothing else changes.
