Gajae Code

Start

Getting Started

Install Gajae Code, launch it in a repository or worktree, and run your first reviewable loop.

Requirements

Gajae Code (gjc) is distributed as a Bun package. You need Bun installed. tmux is optional but recommended for leader/worker sessions, and git is required to use worktree isolation.

Install

Install the CLI globally with Bun:

bun install -g gajae-code

The scoped package is also published as @gajae-code/coding-agent.

Windows (native install)

On a clean Windows 11 machine, install Bun first, then install gjc with Bun's global installer:

# 1. Install Bun powershell -c "irm bun.sh/install.ps1|iex" # 2. Restart the terminal so PATH refreshes, then confirm Bun bun --version # 3. Install and verify gjc bun install -g gajae-code gjc --version gjc --smoke-test

bun install -g places the gjc launcher in %USERPROFILE%\.bun\bin. That directory must be on PATH. Bun's installer adds it automatically, but the change only applies to terminals started after installation — restart PowerShell if gjc is "not recognized".

Verify

gjc --version && gjc --smoke-test

Quick start

Run gjc directly in the checkout you want to work in, use a tmux-backed leader session, or point it at an isolated worktree for risky or reviewable work:

# Run directly in the current checkout gjc # Use a tmux-backed leader session gjc --tmux # Use an isolated worktree for risky or reviewable work gjc --tmux --worktree ../my-task-worktree

Your first loop

Inside a session, use the public workflow surface to go from intent to a proven result:

/skill:deep-interview clarify ambiguous requirements /skill:ralplan build and critique the implementation plan gjc ultragoal create-goals --brief-file <approved-plan> gjc ultragoal complete-goals

Add gjc team ... only when coordinated tmux workers materially help with implementation or verification.

Configuration

Provider retry budgets live in ~/.gjc/config.yml:

retry: requestMaxRetries: 4 streamMaxRetries: 100 maxRetries: 3 maxDelayMs: 300000

requestMaxRetries applies before a stream is established. streamMaxRetries applies only to replay-safe transient stream failures. Invalid auth, unsupported models/providers, malformed requests, context overflow, user aborts, and permanent quota failures remain fail-fast.

The default dark theme is the red-claw identity; light-appearance terminals default to the bundled blue-crab theme. Explicit user theme settings always win.