Independent guide · not affiliated with the jcode project

Jcode: The Open-Source AI Coding Agent, Explained

Jcode is a free, open-source AI coding agent that runs in your terminal. It’s written in Rust and MIT-licensed. Jcode connects a model such as Claude, GPT or Gemini to your project, so the agent can read files, run commands and edit code for you. It uses very little memory, so you can run many agent sessions side by side.

This page explains what jcode is, who it suits, how to install it, how it compares with Claude Code, Codex and OpenCode, and where it falls short. Each section links to a step-by-step guide we wrote after testing jcode ourselves.

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

# Windows 11 (PowerShell)
irm https://jcode.sh/install.ps1 | iex
MITFree & open source
RustNative binary
22k+GitHub stars
~3.3 MBRAM per extra session*
19 msTime to first input*

*Figures published by the jcode project (headless benchmark, December 2026). See the comparison below.

What is jcode?

A coding agent has two parts: the model, which does the reasoning, and the harness, which gives the model your files, a terminal, tools and memory. Jcode is the harness. You choose the model. Jcode handles the rest: reading the project, running shell commands, editing files, keeping session history and coordinating several agents at once.

The open-source project lives on GitHub at 1jehuang/jcode and went through Y Combinator’s S26 batch. The official site is jcode.sh. LearnJcode.org is an independent guide to using it.

The jcode terminal UI on first launch, showing the shared server and client, the selected provider and model, and a project overview panel
jcode v1.4.0 on first launch: a shared server, this client, your provider and model, and the project overview on the right. Screenshot from our own test.

What is jcode in AI?

In AI, “jcode” means this coding agent. It’s in the same category as Claude Code, OpenAI’s Codex CLI, OpenCode and Aider: a tool that lets a large language model work directly on a code repository. What sets jcode apart is that it’s built for many agents at once. It’s fast and light enough that running ten parallel sessions doesn’t slow your machine down.

Who jcode is for

  • Developers who run several agents at once: one fixing tests, one writing docs, one refactoring, all in the same repo.
  • People who already pay for Claude or ChatGPT: jcode can sign in with Claude OAuth and OpenAI Codex OAuth, so you can use those subscriptions instead of buying separate API credits.
  • Terminal-first developers who want a fast terminal app instead of an IDE plugin.
  • People who want local or cheap models: jcode works with OpenAI-compatible endpoints, so Ollama and OpenRouter both work.
  • Tinkerers: self-dev mode lets the agent change jcode’s own source code.

If you only need occasional autocomplete inside VS Code, an IDE assistant is probably simpler. Jcode is aimed at people who hand bigger tasks to agents.

The problem jcode solves

Most coding-agent CLIs are built on Node.js or Python runtimes. Each session can use hundreds of megabytes of RAM and take seconds to start. That’s fine for one agent, but at five or ten your laptop starts swapping and the terminal lags.

Jcode is a native Rust binary designed around that bottleneck. According to the project’s own benchmark, each additional headless session adds about 3.3 MB of RAM, compared with roughly 170–195 MB per session for Claude Code and Codex CLI. On top of that, a built-in server coordinates the agents so they don’t overwrite each other’s work.

Memory test result: jcode used 63 MB across 4 idle sessions, Claude Code used 576 MB
Our own measurement: 4 idle sessions used 63 MB in jcode v1.4.0 and 576 MB in Claude Code 2.1.335 (December 2026). See the full test.

Key features

Swarm (multi-agent)

Run two or more agents in one repo. If agent A edits a file agent B has read, B is notified and can check the diff. Agents can message each other, and one agent can spawn its own workers and act as coordinator. Swarm guide →

Many providers + OAuth

Supports Claude OAuth, OpenAI Codex OAuth, API keys and OpenAI-compatible endpoints, so it isn’t tied to one model vendor. Providers guide →

Memory & session resume

Persistent semantic memory brings back relevant past context automatically, and you can pick a past session from the resume menu to carry on where you stopped.

Self-dev mode

Tell jcode to enter self-dev mode and it edits, builds and tests its own source, then reloads its binary without closing your open sessions.

MCP & skills

Add tools through Model Context Protocol servers and add reusable skills. MCP guide · Skills guide

Browser automation & voice

A built-in browser tool lets the agent open and use web pages, and you can dictate prompts by voice. Browser setup · Voice input

jcode opening a project that includes a .mcp.json file, with the project's MCP server started automatically
MCP in practice: jcode found the project’s .mcp.json and started its MCP server as soon as the folder opened. How to set up MCP.

How to install and set up jcode

Setup takes about five minutes. Full steps for each platform are in the install guide.

  1. Install the binary. On macOS or Linux, run curl -fsSL https://jcode.sh/install | bash. On Windows 11 (x64 or ARM64), run irm https://jcode.sh/install.ps1 | iex in PowerShell.
  2. Launch it. Run jcode to open the interactive terminal UI.
  3. Connect a provider. Sign in with Claude or ChatGPT, or add an API key or local endpoint. See providers.
  4. Give it a real task. Open a project and ask it to explain the codebase or make a small change you can review. For a one-off task without the UI, use jcode run "explain this project".
  5. Add extras later. Set up MCP, browser automation and swarms once the basics work.
jcode completing a task: a bash tool call writes proof.txt and the new file appears in the project overview
A first task in jcode: it ran a shell command to create proof.txt, and the new file shows up in the overview. With default settings it didn’t ask for confirmation first, so start in a repo you can safely change.

Other platforms: Jcode Desktop (macOS) · Android with Termux · Zed editor (ACP) · Uninstall / reinstall. If something breaks, see 13 common jcode errors and fixes or the commands and shortcuts reference.

Jcode vs Claude Code, Codex and OpenCode

The jcode project publishes the resource benchmarks below. We re-ran startup and memory for some tools ourselves, and our results are on each comparison page.

ToolRAM, first sessionRAM, each extra sessionTime to first input
jcode71.3 MB~3.3 MB19.1 ms
OpenCode637.1 MB~5.9 MB1,047.9 ms
pi84.0 MB~79.6 MB596.4 ms
Claude Code272.9 MB~169.3 MB3,512.8 ms
Codex CLI398.6 MB~194.1 MB905.8 ms

Source: jcode README, headless benchmark and 10 interactive launches, as published December 2026. Your hardware will give different numbers.

Resource use is only one factor. Model quality, permissions, project instructions and ecosystem matter just as much. Our hands-on comparisons cover them:

Strengths and trade-offs

Strengths

  • Very low RAM per session and near-instant startup
  • Built-in multi-agent coordination, not added on later
  • Not tied to one vendor; can use existing Claude or ChatGPT subscriptions
  • Free, MIT-licensed, with active development
  • Runs on macOS, Linux, Windows 11 and Android (Termux)

Trade-offs

  • Young project that changes quickly; commands and flags can change between releases
  • jcode is free, but the models aren’t: you still pay your provider or run a local model
  • Terminal-first, so there’s a learning curve if you’re used to IDE chat panels
  • Self-dev mode means compiling Rust, which needs a Rust toolchain
  • The headline benchmarks come from the project; check them on your own hardware

Frequently asked questions

What is a jcode?

Jcode is an open-source AI coding agent harness for the terminal, written in Rust. It connects an AI model to your project so the agent can read, edit and run code. Healthcare also uses the term “J-code” for billing codes, explained below.

What is jcode in AI?

In AI, jcode is a coding agent like Claude Code or Codex CLI, built for running many agents in parallel with very little memory. It works with Claude, OpenAI, Gemini, GitHub Copilot, OpenRouter and local models.

Is a J-code a CPT code?

No. In medical billing, J-codes are HCPCS Level II codes, mostly for drugs given by injection or infusion. CPT codes are a different set (HCPCS Level I) for procedures. This site covers the jcode software, which is unrelated to medical coding.

How do I set up jcode?

Run the official installer for your OS, start jcode, sign in to a provider, then give it a small task in a real repo. Our install guide and first-session walkthrough cover each step.

Is jcode free?

Yes, jcode is free under the MIT license. You pay for model usage through your provider, or nothing if you run a local model through Ollama. Details: Is jcode free?

Does jcode work on Windows?

Yes. Windows 11 is a supported platform. Install it from PowerShell with irm https://jcode.sh/install.ps1 | iex.

Where do I download jcode?

Use the official installer from jcode.sh or the releases page on GitHub. Avoid third-party download mirrors. Our GitHub guide explains releases, prereleases and building from source.

Is LearnJcode.org the official jcode website?

No. The official site is jcode.sh and the source is on GitHub. LearnJcode.org is an independent site of tested tutorials, comparisons and fixes.

Start using jcode

Install it, connect the provider you already use, and finish one real task. Then add MCP, browser automation and swarms as you need them.