Docs / README
kitty-game-composer
Source: docs/pypi/README.md
kitty-game-composer
The command-line core of Kitty, the game composer. You describe a retro game session in one gamecomposer.yml (emulator, game, controls, resources, saves) and the kitty command validates it and runs it in a Linux sandbox through the local Kiri runtime.
Every asset is pinned by URL and SHA-256, and the player listens on 127.0.0.1 only. Kitty does not bundle or link commercial ROMs, BIOS files or firmware; you can load any game file from your own computer, and the registry lists only games whose licence allows redistribution.
Install
Not published on PyPI yet —
kitty-game-composerreturns 404 today. Until it is published, install from source using the steps in Get Kitty.
pipx install kitty-game-composer
Plain pip install kitty-game-composer inside a virtual environment works too. You need Python 3.10 or newer. To launch games you also need the Kiri CLI running and on PATH as kiri; validating a manifest does not.
There is also a thin npm launcher, @kitty-game-composer/cli, that finds this package and runs it. It is not published on npm yet either, and it does not install Python for you.
Use
kitty config # validate gamecomposer.yml, print normalized JSON
kitty up # check digests, build the guest on Kiri, open the player
kitty --file examples/snes/gamecomposer.yml up # a specific manifest
kitty ps
kitty logs nes
kitty down # remove containers, keep saves
kitty ls --json # every Kiri-managed instance
up --new starts a second copy of the same manifest and -i ID addresses it. Exit codes: 0 ok, 1 runtime error, 2 bad input or manifest.
Links
- Get Kitty / install guide
- Repository and desktop app
- Registry — contribute games, consoles and controllers there
- User guide
- Manifest spec
- TypeScript SDK on npm
- Releases · Changelog · Issues
MIT licence. Emulators, games and other third-party assets keep their own licences.

