Skip to content

RedGem 0.5.0 (experimental)

Choose a tag to compare

@carlosdanielpohlod carlosdanielpohlod released this 31 Oct 17:41
· 845 commits to main since this release
fa83197

Experimental release, with the Agent panel and a stronger MCP as its main additions.

Agent panel: a coding agent inside the editor

A chat with a coding agent in the editor, over the Agent Client Protocol. Claude Code and Codex come as presets, run by their open-source adapters, and you can add your own agents.

  • Answers stream in as markdown, with tool calls and their diffs, the agent's plan, permission questions (allow once, allow always, reject) and a Stop button. The selected objects can be attached as context.
  • The agent works in the game's folder, and gets the editor's live MCP tools: it lists and moves objects, presses Play, reads errors and looks at the viewport.
  • Each game keeps its past conversations, and the last one comes back when the editor opens the game again.

See the Agent panel in the manual.

MCP

# Uses the open editor when there is one, the files otherwise:
redgem mcp /path/to/game --editor auto
  • game_query inspects an object's live state (world pose, body, velocity, grounded), raycasts and overlaps a sphere, in the editor's running game or after headless frames. game_shot returns a small PNG of the saved game.
  • --editor auto finds the game's running editor on every call, skipping stale connection files, and works on the files when none is open.
  • The editor bridge (wire version 2) proves it holds the credential before a client sends it.
  • Argument errors are tool results naming the argument and its range; events read as one line each.

Also in 0.5.0

  • Ruby colors in the script tabs, heredocs, %w[], regexes and #{} interpolations included.
  • Builds in the background: the editor stays usable while a game builds, showing the step it is at and how it ended.
  • Camera helpers: Camera.follow, Camera.orbit, Camera.shake, Camera.world_to_screen and Time.unscaled_delta.
  • Named save slots, object checkpoints, GameObject.stable_id and Scene.find_by_id, Debug.line and Debug.box, a frame profiler with a statistics overlay, prefab files and Game.load_scene_async.
  • Fixes: the Agent panel with relative game paths, agent edits refused as "editor is busy", Play taking the keyboard from the message box, viewport captures shrinking too much, and redgem shot and game_shot crashing without a display.

Downloads

System File Requirements
Linux x86_64 redgem-linux-x86_64.tar.gz Unpack and run bin/redgem. OpenGL 3.3, AVX2, glibc 2.39 or newer (Ubuntu 24.04+). Includes players for building Linux, Windows and Android games.
Windows x86_64 redgem-windows-x86_64.zip Unpack and run redgem.exe. Builds Windows games.
macOS Apple Silicon redgem-macos-arm64.zip macOS 11+. Right-click RedGem.app and choose Open the first time; it is unsigned.
macOS Intel redgem-macos-x86_64.zip Same requirements.

The macOS downloads are on their way: GitHub is retiring its macOS 14 machines, so the Mac packages are being built on newer ones and will be added to this release as soon as they finish.

Linux is tested locally; Windows tests and native Mac editor tests run on GitHub's machines. Android players are compiled for arm64-v8a and x86_64; no phone or emulator was used for this release. Mac packages are not notarized.

See the full changelog and known limitations.