Skip to content

About

End-to-end Goal Engineering for official OpenCode V2 — upfront clarification, specialist background subagents, real-browser visual checks, and durable handoffs across macOS, Linux & Windows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

UltraCode (v1.2.0) is a non-invasive, provider- and model-neutral Goal Engineering layer built on official OpenCode V2 across macOS, Linux, and Windows — spanning Terminal (TUI), Desktop App, Web, and Mobile.

Instead of guessing early or drifting halfway through multi-step tasks, UltraCode clarifies open requirements upfront with structured choice cards, delegates work across specialized background agents, inspects rendered UI in a real Chromium browser, and saves durable handoffs inside your repository.

Note

Self-hosted engineering provenance: UltraCode v1.2.0 — including its OpenCode v2.4+ runtime alignment, durable milestone checkpoints, and upstream stewardship canary — was developed and built with UltraCode v1.0.0.

Overview

Standard AI Chat vs UltraCode Workflow

Key Capabilities

  • One Command, Zero Prerequisites: A single ultracode CLI with full opencode flag and subcommand passthrough. Both the installer and ultracode upgrade automatically detect, install, or update official OpenCode V2 (v2.3.2+, verified on v2.4+).
  • Every Surface Synchronized: Embedded ultracode-conversation plugin syncing live state across Server RPC, TUI Command Palette, OpenCode Desktop (ComposerPill with live Goal progress, Pause / Resume / Clear controls & Settings → UltraCode), and Web/Mobile (/goal, /review, /setup-models, /approvals, and /direction).
  • Two Primary Roles + Five Specialists: Cleanly replaces overlapping stock Build/Plan modes so Shift+Tab switches directly between UltraBuild (end-to-end delivery) and UltraPlan (read-only planning & sprint contracts), backed automatically by librarian, architect, implementer, reviewer, and visual-evaluator (with optional multi-tier model pairing via ultracode setup-models or /setup-models).
  • Evidence-Gated Goal Engine & Handoffs: Unified /goal and session milestones backed by deterministic workspace verification gates, compaction-safe goal anchoring, and stall circuit breakers; pauses cleanly on interrupts or restarts, and includes a cross-platform TypeScript ultracode ralph run runner (--worktree, --init).
  • Strictly Additive & Reversible: Never patches official OpenCode binaries, never reads or transmits your API keys, preserves existing JSONC comments and custom skills, and uninstalls cleanly.
UltraBuild and UltraPlan primary roles plus 5 background specialists

Getting Started

1. One-Line Install

macOS / Linux:

curl -fsSL https://ultracode.plutokeating.beer/install.sh | bash

Windows (PowerShell):

irm https://ultracode.plutokeating.beer/install.ps1 | iex

Tip

You do not need to pre-install Node.js, Bun, or OpenCode. If official OpenCode V2 is missing, the installer sets it up automatically from the official release channel.

2. Launch on Any Surface

ultracode           # Open the terminal interface in the current directory
ultracode desktop   # Launch OpenCode Desktop (or download the official installer if missing)
ultracode pair      # Generate a pairing link & QR code for browser or mobile access
  • Role Toggle: Press Shift+Tab to switch between UltraBuild (default) and UltraPlan (read-only planning).
  • Live Autonomy Switches: Toggle Command approvals (auto by default) and Direction questions (manual by default) from the OpenCode Desktop UltraCode composer pill, Settings → UltraCode, the TUI Command Palette, or /approvals and /direction on Web and Mobile.

CLI Reference

Command Description
ultracode [args...] Launch OpenCode with full flag, path, and subcommand passthrough
ultracode desktop Open official OpenCode Desktop or download the platform installer
ultracode pair [--remote] Pair a browser or mobile client via link and QR code
ultracode setup-models Configure optional multi-tier role model preferences
ultracode upgrade Update official OpenCode V2 and UltraCode together, then sync
ultracode sync Idempotently sync configuration, plugin, roles, and managed runtime
ultracode doctor Verify OpenCode version, plugin state, roles, and MCP health (zero model calls)
ultracode ralph run <goal> Run isolated fresh-session Ralph iterations (--worktree, --init)
ultracode uninstall --yes Remove UltraCode cleanly while preserving user configs and backups

Repository Structure

Project.UltraCode/
├── packages/
│   ├── installer/      # Unified ultracode CLI, JSONC union merger & 6-target standalone builder
│   ├── plugin-gui/     # OpenCode Desktop GUI plugin (ComposerPill & SettingsPage)
│   └── config/         # Embedded OpenCode roles, Server/TUI/RPC conversation plugin & Ralph templates
├── scripts/            # Zero-prerequisite installers (install.sh, install.ps1) & 6-locale brand asset generator
├── website/            # Astro + Starlight 6-language website & docs (ultracode.plutokeating.beer)
└── docs/               # Architecture, CLI API, Quick Start, Cloudflare guide & 6-locale SVG/OG assets

Local Verification

bun install --cwd packages/plugin-gui
bun run --cwd packages/plugin-gui check
bun run --cwd packages/plugin-gui build

bun install --cwd packages/installer
bun test --cwd packages/installer
bun run --cwd packages/installer check
bun run --cwd packages/installer build

bun install --cwd website
bun run --cwd website check
bun run --cwd website build

Important

Automated tests run entirely against isolated temporary directories and local stubs — never invoking live AI models or reading personal credentials.

Documentation

About

End-to-end Goal Engineering for official OpenCode V2 — upfront clarification, specialist background subagents, real-browser visual checks, and durable handoffs across macOS, Linux & Windows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages