PGM fork of jcode (github.com/1jehuang/jcode, MIT): a Rust coding agent harness for 40+ AI providers
  • Rust 92.8%
  • Python 4.3%
  • Shell 1.2%
  • JavaScript 0.9%
  • TypeScript 0.5%
  • Other 0.3%
Find a file
Sponge c2b82ac960
Some checks failed
CI / Build & Test (macos-latest) (push) Waiting to run
CI / Build & Test (windows-latest) (push) Waiting to run
CI / PowerShell Syntax (push) Waiting to run
CI / Windows ARM64 Release Configuration (push) Waiting to run
CI / Quality Guardrails (push) Failing after 6s
CI / Release Automation (push) Failing after 40s
CI / Build & Test (ubuntu-latest) (push) Failing after 5s
CI / Format (push) Failing after 5s
CI / TypeScript SDK (push) Failing after 43s
CI / Setup Friction Eval (Linux installer) (push) Failing after 43s
CI / Windows Cross-Target Check (Linux) (push) Failing after 5s
Cloud Acceptance / Linux cloud handoff acceptance (push) Failing after 5s
V1 preview / quiet-and-ci (push) Has been skipped
V1 preview / build (jcode-linux-aarch64, true, ubuntu-24.04, aarch64-unknown-linux-gnu) (push) Has been skipped
V1 preview / build (jcode-linux-x86_64, true, true, ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Has been skipped
V1 preview / build (jcode-macos-aarch64, macos-latest, aarch64-apple-darwin) (push) Has been skipped
V1 preview / build (jcode-macos-x86_64, macos-15-intel, x86_64-apple-darwin) (push) Has been skipped
V1 preview / build (jcode-windows-aarch64, --no-default-features --features pdf, amd64_arm64, windows-11-arm, aarch64-pc-windows-msvc) (push) Has been skipped
V1 preview / build (jcode-windows-x86_64, amd64, windows-latest, x86_64-pc-windows-msvc) (push) Has been skipped
V1 preview / native-arm-runtime (push) Has been skipped
V1 preview / publish (push) Has been skipped
V1 preview / publish-sdk (push) Has been skipped
V1 preview / announce (push) Has been skipped
Merge develop: SwarmStatus atomic snapshot+send (tokio 1.54 coop fix)
2026-11-07 16:10:27 -08:00
.cargo build: enable parallel rustc front-end for every cargo entry point 2026-10-09 00:47:52 -07:00
.claude Fix memory widget not showing when only one graph exists 2026-02-08 17:23:16 -08:00
.github Remove retired Swift iOS client in favor of jcode-mobile 2026-11-06 03:56:07 -08:00
.jcode ci: remove stale desktop checks 2026-08-25 14:41:32 -07:00
assets Merge ios/mobile-real-nav: iOS restyle, nav, offline demo, App Store readiness 2026-11-02 18:43:01 -08:00
changelog Jcode PGM 0.99.4: a compact Team widget in the info panel (T-258) 2026-10-31 08:20:09 +00:00
crates Fix SwarmStatus stale-after-fresh race: snapshot+fanout under one write guard 2026-11-07 16:10:23 -08:00
docs docs: update downloads badge 2026-11-07 18:44:06 +00:00
packaging/crates-io-placeholder Add crates.io placeholder package to reserve the jcode name 2026-10-10 02:26:35 -07:00
pgm Document pgm-hub plugin in pgm/HYPERWORK.md (commands, tools, auto-surfacing, tests) 2026-11-07 15:08:45 -08:00
scripts Merge upstream master c28c6aa7a into Jcode PGM (sync 2026-11-06) 2026-11-06 20:22:54 -08:00
sdk Merge upstream master c28c6aa7a into Jcode PGM (sync 2026-11-06) 2026-11-06 20:22:54 -08:00
src Add pgm-hub internal plugin: /hub sign-in/status/whoami/logout + hub_board_list/create + hub_hyperwork_list/run tools over jcode-hub-login; registered in dispatch 2026-11-07 15:01:38 -08:00
telemetry-worker chore(telemetry): retry transient D1 7500 errors in bulk mover 2026-10-22 04:33:01 -07:00
tests Merge upstream master c28c6aa7a into Jcode PGM (sync 2026-11-06) 2026-11-06 20:22:54 -08:00
.gitattributes Add .gitattributes so line endings do not depend on each contributor's global config 2026-10-03 03:51:17 +05:00
.gitignore Remove retired Swift iOS client in favor of jcode-mobile 2026-11-06 03:56:07 -08:00
AGENTS.md Merge upstream master c28c6aa7a into Jcode PGM (sync 2026-11-06) 2026-11-06 20:22:54 -08:00
Cargo.lock Add pgm-hub internal plugin: /hub sign-in/status/whoami/logout + hub_board_list/create + hub_hyperwork_list/run tools over jcode-hub-login; registered in dispatch 2026-11-07 15:01:38 -08:00
Cargo.toml Add pgm-hub internal plugin: /hub sign-in/status/whoami/logout + hub_board_list/create + hub_hyperwork_list/run tools over jcode-hub-login; registered in dispatch 2026-11-07 15:01:38 -08:00
CLAUDE.md docs: welcome pull requests from all contributors 2026-09-12 18:47:29 -07:00
CONTRIBUTING.md Add optional pinned Nix development shell 2026-10-14 17:22:30 -07:00
flake.lock Add optional pinned Nix development shell 2026-10-14 17:22:30 -07:00
flake.nix Add optional pinned Nix development shell 2026-10-14 17:22:30 -07:00
fork-prompt-session-rich-summary.json docs: add fork prompt session analysis 2026-08-29 22:32:26 -07:00
fork-prompt-session-todos-and-intents.json docs: add fork prompt session analysis 2026-08-29 22:32:26 -07:00
indian-man-portrait.svg docs: add illustrated portrait asset 2026-08-29 22:32:26 -07:00
LICENSE Polish README: centered layout, mermaid diagrams, resource efficiency, MIT license 2026-02-17 15:41:21 -08:00
OAUTH.md refactor(providers): remove the Claude Code CLI subprocess transport 2026-09-23 12:37:04 -07:00
README.md Brand layer: Jcode PGM (jcodepgm / Jcode PGM / Jcode PsyGraphMedia) over upstream jcode v0.99.1 2026-10-22 23:34:48 +00:00
RELEASING.md Merge upstream master c28c6aa7a into Jcode PGM (sync 2026-11-06) 2026-11-06 20:22:54 -08:00
score_shard.py chore: add todo score shard helper 2026-08-16 18:46:00 -07:00
TELEMETRY.md docs: describe conditional one-time OAuth email notice and retention 2026-10-14 00:57:51 -07:00

1jehuang/jcode | Trendshift

jcode halftone donut logo

Jcode PGM

Jcode PsyGraphMedia: the PGM coding agent, built on jcode by Jeremy Huang (MIT). The binary is jcodepgm; its home is ~/.jcodepgm; releases come from Forgejo; usage telemetry is off unless you opt in. Everything below is the upstream README and still applies, read jcode as Jcode PGM.

High-performance coding agents.
Run dozens of agents in parallel without melting your machine. More agents, less RAM, no lag.

Last Commit GitHub Stars GitHub Downloads

Discord Y Combinator X (Twitter)

jcode performance demonstration

jcode performance demonstration (1x speed)

jcode YC launch video

Installation

# macOS & Linux
curl -fsSL https://jcode.sh/install | bash

Benches

RAM per additional session (headless)

Tool First session Each additional session Comparison (additional)
jcode 71.3 MB ~3.3 MB baseline
OpenCode 637.1 MB ~5.9 MB 1.8× more RAM
pi 84.0 MB ~79.6 MB 24.1× more RAM
Claude Code 272.9 MB ~169.3 MB 51.3× more RAM
Codex CLI 398.6 MB ~194.1 MB 58.8× more RAM

Reproduce.

Time to first input

Time until typed text appears on screen, across 10 interactive launches.

Tool Time to first input Comparison
jcode 19.1 ms baseline
pi 596.4 ms 31.2× slower
Codex CLI 905.8 ms 47.4× slower
OpenCode 1047.9 ms 54.9× slower
Claude Code 3512.8 ms 183.9× slower

Full numbers on jcode.sh.

Screenshots

Browse the interactive gallery on jcode.sh.

Jcode rendering screenshots inline after reading image files
Inline images
Jcode resume menu with a session list and preview
Resume menu
Jcode rendering LaTeX mathematics inline
Inline LaTeX
Jcode warning that the prompt cache went cold
Cache cold notification

Swarm

Spawn two or more agents in the same repo, and they will automatically be managed by the server to allow native collaboration. When agent A edits a file that agent B has read (code shifting under its feet), the server notifies agent B. Agent B can ignore it if it is not relevant, or it can check the diff to make sure that it doesn't conflict. Each agent has messaging abilities, capable of DMing just one agent, broadcasting to all other agents hosted by the server, or just agents working in that repo. This allows you to spawn multiple sessions in the same repo, and have all conflicts automatically resolved.

Agents are also able to spawn their own swarms autonomously. They have a swarm tool which allows them to spawn in their own teamates to accomplish tasks in parallel. Doing so turns the main agent into a coordinator and the spawned agents into workers. Groups of agents, their messaging channels, their completion statuses, etc are all automatically managed. This can be done headlessly or headed.

OAuth and Providers

Supports a wide range of providers, including Claude OAuth and OpenAI Codex OAuth.

Customizability / Self-Dev

Jcode is inventing a new form of customizability. One that doesn't limit you to what a plugin or extension can do. Tell your jcode agent to enter self dev mode, and it will start modifying its own source code. Jcode is optimized to iterate on itself. There is significant infrastructure around self development, which allows it to edit, build, and test its own source code, then reload its own binary and continue work in your (potentially many) sessions, fully automatically.

Other