The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
#!/usr/bin/env bash
# The pane: Vite's dev server on the workspace, in a game frame (viewer.mjs), on the port Harness
# hands it, loopback only. Vite's HMR is what makes the pane live — the agent saves a scene, the game
# reloads in place — and the frame around it adds sizes, pause, debug and readable errors. Harness runs
# it through a login shell whose PATH may have no node: runtimes.sh finds this machine's or Harness's own.
set -euo pipefail
: "${HARNESS_VIEWER_PORT:?}"; : "${HARNESS_WORKSPACE:?}"
DIR="$(cd "$(dirname "$0")" && pwd)"
# shellcheck source=toolchain/runtimes.sh
. "$DIR/toolchain/runtimes.sh"
harness_node 18 || exit 1
cd "$HARNESS_WORKSPACE"
# A workspace the user made by hand, or one whose link was lost: point it at the shared install.
[ -e node_modules ] || ln -s "$DIR/node_modules" node_modules
exec node "$DIR/viewer.mjs"