Devkit
A remote build, deploy, release and profiling host for games and apps. Agents and people drive it over HTTP,
MCP or a web UI; several devkit servers can be connected and reached through any one of them.
v1 runs on macOS (Xcode, iOS devices and simulators, Instruments, Unity). Windows and Linux hosts follow in v2 and v3.
Install (macOS)
Build the menu bar app and install it:
app/build.sh --dmg # dist/Devkit.app and dist/Devkit.dmg
Open Devkit.dmg, drag Devkit to Applications and start it. Devkit lives in the menu bar and runs the server; from
its menu:
- Start at Login registers it as a login item.
- Allow Screen Viewing… grants the screen recording permission the web UI's live screen needs. macOS asks for
"Devkit", not for Python.
- Copy Owner Token copies the admin token for the first sign-in to the web UI; Open Devkit opens it.
The app keeps its data (tokens, projects, jobs, files) in ~/Library/Application Support/Devkit. It needs Xcode
(which provides /usr/bin/python3) and macOS 14 or later.
build.sh signs with the first Developer ID or Apple Development identity in your keychain (override with
DEVKIT_SIGN_IDENTITY). An ad-hoc signature works too, but macOS then forgets the screen recording permission after
every rebuild.
Without the app
bin/devkit-server # web UI, API and MCP on http://<host>:7420; data next to the code
bin/install-launchagent # optional: start at login as a LaunchAgent (--uninstall to remove)
The first start writes config.json with an owner token (admin). Create further tokens in the web UI under
Settings → Access tokens.
Jobs keep the Mac awake with caffeinate while they run (and the display, for launch and profiling jobs); an idle
devkit lets the Mac sleep as usual.
Build identity and maintenance
GET /api/ping returns version, build (Git commit, dirty flag, source SHA-256), disk, and host capabilities.
The Hosts page displays the build identity. app/build.sh embeds build-info.json so the installed app identifies
its source even outside a Git checkout. Comparing only the version is insufficient: multiple builds may share it.
New jobs are refused when free space in the data volume is below min_free_bytes in the existing host config
(default 2 GiB). The worker rechecks before checkout/execution. This is a reserve, not an estimate of build size.
On server startup and while work is pending, the watcher wakes an idle worker. With the exclusive worker lock held,
the worker reconciles interrupted running jobs to failed, preserving artifacts and recording an interruption reason.
It never automatically replays a job, upload, or release. If a recorded PID/process group is still present or cannot
be checked, recovery stops and the queue stays blocked rather than signalling it. Job processes inherit the worker
lock, including checkout commands. Existing workers from an older app should finish before upgrading.
Artifact retention is manual and defaults to a preview:
bin/devkit cleanup --keep-last 50 --older-than-days 30
bin/devkit cleanup --keep-last 50 --older-than-days 30 --apply
The same operation is available to admin tokens through POST /api/cleanup with optional keep_last,
older_than_days, and boolean apply (default false). Cleanup requires an idle worker and drained queue; admission
and deletion are serialized. It removes only canonical artifact directories for terminal jobs older than the age
limit, retaining the newest N terminal jobs and every artifact source referenced by another recorded job's
params.from_job. Job metadata records artifacts_expired; checkout/import caches, credentials, configuration,
job logs, and project data are retained. There is no scheduled deletion.
Claude Code plugin
The plugin/ directory is a Claude Code plugin: it connects the devkit MCP server and adds a skill that teaches Claude
how to build, install, profile and release through it, plus /devkit:status and /devkit:profile.
-
In the devkit web UI, open Settings → Access tokens and create an Operator token for the agent. Settings also
shows the address to use.
-
Install the plugin from this repository, in a Claude Code session:
/plugin marketplace add rennerdo30/devkit
/plugin install devkit@devkit
Claude Code asks for the devkit address (e.g. http://192.168.1.50:7420) and the token. The token is kept in
Claude Code's credential store, not in settings files.
From a shell instead:
claude plugin marketplace add rennerdo30/devkit
claude plugin install devkit@devkit --config devkit_url=http://192.168.1.50:7420
claude plugin configure devkit@devkit # shows what is still missing; set the token in a session (below)