Game art in an Aider session, by /run
Aider pairs with you in the terminal and edits your files from a chat, without MCP. That is fine for asset gen, which is a plain command. Type /run asset … (or ! for short) and the output can be added to the chat, so Aider sees which files were written and can write the code that uses them. Aider can also propose shell commands itself while it works, and runs one only after you say yes. The torchlit dungeon below came from a handful of those calls.
Set it up in Aider
Install the CLI
Install the asset command (Node 20.11 or later).
npm install -g @tyrbo/assetLet Aider run it
Aider takes no MCP server: run
/run asset …in its chat (or!), or accept a shell command it suggests, and the output joins the chat.Try it free
In an empty scratch folder, a mock call checks the setup with no key: it writes stand-in files and spends nothing.
asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mockLog in in your own terminal
Make an asset key in the Tyrbo app (Settings, Asset gen) and paste it into asset login yourself. The agent never asks for the key and never runs the login.
asset login
Aider’s own docs, read November 25, 2026:
The commands
asset image room "a small square dungeon room seen from above at a slant, filling the whole picture: the back wall of big stone blocks with its face showing, short side walls, a worn flagstone floor, a doorway in the back wall, empty, no characters, no props, no torches"
asset image props "a dungeon's furniture and clutter" --kind props --names barrel,crate,table,chest,weapon-rack,banner,bones,candles,pillar,well
asset icons "a dungeon crawler's loot" --names health-potion,mana-potion,key,sword,shield,coin,scroll,gem
asset ui "a torchlit dungeon crawler's HUD in carved stone and dark iron with gold trim" --desktop
asset spendMade by the CLI, not drawn for this page
Real files the asset CLI wrote, each under the command that made it.

See prompt
asset image room "a small square dungeon room seen from above at a slant, filling the whole picture: the back wall of big stone blocks with its face showing, short side walls, a worn flagstone floor, a doorway in the back wall, empty, no characters, no props, no torches"
See prompt
asset image props "a dungeon's furniture and clutter" --kind props --names barrel,crate,table,chest,weapon-rack,banner,bones,candles,pillar,well
See prompt
asset icons "a dungeon crawler's loot" --names health-potion,mana-potion,key,sword,shield,coin,scroll,gem
See prompt
asset ui "a torchlit dungeon crawler's HUD in carved stone and dark iron with gold trim" --desktopHow the art gets into the chat
There are two paths, and you hold the key to both:
- You run it.
/run asset image props "…" --names barrel,crateruns the command, then Aider offers to add what it printed to the chat. Say yes, and the JSON line namingbarrel.png,crate.pngand the sheet is in front of the model. - Aider suggests it. Shell suggestions are on by default. When Aider proposes an
assetcommand, you read it, and it runs only if you agree.--no-suggest-shell-commandsturns this off if you would rather type every call.
Either way, nothing is spent behind your back: a paid call is quoted first and refused when your credits cannot cover it.
Conventions Aider keeps reading
Aider can load a conventions file read-only with /read, or every time with --read on the command line. Put the agent lines from the docs in it: the look first, --mock before a real call, asset <verb> --help for flags, and the title screen once the rest is in. Add the paths your loader expects, so the code Aider writes matches the files the CLI makes.
This dungeon started without asset look, which is allowed: with no look set, the first picture becomes it, and the props, the icons and the interface followed the room.
One call, many files
Two calls on this page do a lot each. asset image props with --names draws ten pieces of furniture on one sheet at one scale and cuts them apart. asset icons always draws a full sheet of 64 in one picture, the named ones first, which is cheaper than asking for icons one at a time. Then asset ui --desktop builds the interface from the same stone and iron, previewed as ui-desktop.png beside a UI.md that says what a last look found wrong.
When a call fails, the reason prints on stderr and the exit code is 1, which is in the output Aider reads, so it can suggest a better command.
Questions people ask
Do I need an MCP bridge for Aider?
No. Asset gen is a normal command, so /run covers everything the server would do. Aider’s own docs describe no MCP support.
Can I try the commands before I log in?
Yes. Add --mock to any of them: it runs offline with no key and writes stand-ins under the real file names, which is a good way to let Aider write the loader first.
Does Aider see the pictures themselves?
It sees the file names and numbers in the output. If your model reads images, add a picture to the chat as you would any file and ask Aider what to change.
Install it, then ask for the look.
Get an asset keyMake a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.