jcode Coding Agent

The most RAM-efficient terminal coding agent with multi-agent swarm, memory, and self-improvement.

Source repo
1jehuang/jcode
Stars
★ 21k
Last updated
today
License
MIT
Primary language
Rust

At a glance

How it runs
CLI
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
RustCargocurl or PowerShellHomebrew (macOS only)Shell / CLINetwork accessLocal filesystem
Typical use
Developers running multiple agent sessions on resource-constrained machines.
Not a fit if
  • Teams needing browser automation beyond Firefox
  • Teams requiring HTTP/SSE MCP servers
  • Users on Windows without PowerShell 5.1+

What does this agent do, and when should you use it?

jcode is a Rust-based terminal coding agent framework that prioritizes extreme memory efficiency and fast startup while offering a full-featured agent experience. It includes a built-in memory system using semantic vector retrieval, multi-agent swarm collaboration, MCP support, OAuth logins (Claude, OpenAI, Google, etc.), browser automation via Firefox Agent Bridge, and self-modification capabilities. Its performance advantages are demonstrated with benchmarks: only 27.8 MB PSS for a single session and 14 ms time to first frame. Being fully open-source under MIT, it allows deep customization, even enabling the agent to modify its own source code.

jcode runs as a terminal TUI or in non-interactive mode with commands like jcode run, jcode serve, jcode connect. It embeds each turn into a semantic vector, builds a memory graph, and automatically retrieves relevant memories via cosine similarity. It supports swarm mode where multiple agents collaborate in the same repo with conflict resolution. It provides OAuth login via jcode login --provider ..., MCP config at ~/.jcode/mcp.json, and a browser tool set up with jcode browser setup. It can resume sessions from other agents like Claude Code and Codex, and offers scriptable login flows with --print-auth-url.

  1. Developers running multiple agent sessions on resource-constrained machines.
  2. Long-term projects where the agent must remember context without repeated explanations.
  3. Teams needing parallel agent edits on the same repository with automatic conflict detection.
  4. Developers who want the agent to modify its own source for autonomous iteration.
  5. Users needing browser automation within the coding agent, such as testing web apps.
  6. Headless or SSH environments where OAuth login must be scripted.

How do you install or deploy this agent?

macOS/Linux: curl -fsSL https://jcode.sh/install | bash. Windows (PowerShell): irm https://jcode.sh/install.ps1 | iex. macOS Homebrew: brew tap 1jehuang/jcode && brew install jcode. From source: git clone https://github.com/1jehuang/jcode.git && cd jcode && cargo build --release. Requires Rust toolchain.

How do you use this agent?

Launch TUI: jcode. Run a single command: jcode run "say hello". Resume a session: jcode --resume fox. Server mode: jcode serve then jcode connect. Dictation: jcode dictate. Log in with provider: jcode login --provider claude etc. Configure MCP: edit ~/.jcode/mcp.json. The agent can automate most setup; see README for a detailed bootstrap prompt.

What are this agent's strengths and limitations?

Pros
  • Extreme memory efficiency: 27.8 MB PSS per session, far less than alternatives.
  • Built-in memory with automatic semantic retrieval, no need for explicit tool calls.
  • Swarm collaboration with automatic conflict resolution across multiple agents.
  • Supports OAuth with many providers, including self-hosted OpenAI-compatible endpoints.
  • Capable of self-modification, enabling autonomous development iterations.
Limitations
  • Complex Rust codebase; self-modification requires a frontier model.
  • Windows install needs PowerShell 5.1+ and may trigger Defender/SmartScreen warnings.
  • Browser automation currently only supports Firefox Agent Bridge; other backends pending.
  • MCP only supports stdio servers; HTTP/SSE entries are skipped.
  • Some benchmark methodology may need independent verification.

How does this agent compare with similar options?

Compared with pi, Codex CLI, OpenCode, GitHub Copilot CLI, Cursor Agent, Claude Code, and Antigravity CLI, jcode shows significantly lower RAM usage and faster startup times.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
jcode Coding Agent This agent 54 · Major gaps CLIFree + model costs ★ 21k today Rust —
Agent Zero 70 · Some gaps Desktop appFree + model costs ★ 20k 5d ago Python Codex
Carbon Code 64 · Some gaps CLIFree + model costs ★ 198 2mo ago TypeScript OpenAI API
ACE Context Learning Engine 51 · Major gaps Library / SDKFree + model costs ★ 2.6k 25d ago Python Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
54/ 100 5-point scale 2.7 / 5
This review covers the source as of Aug 09, 2026. The project has shipped 20 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 11/29
Reliability 9/14
Adaptability 12/18
Convention 10/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

Evidence shows permission request mechanism (autoApprove in SDK tests), but no default least-privilege policy or detailed user confirmation. Data flow transparency limited, sensitive data handling not specified. Dependency security has cargo-audit in CI but no specific vulnerability reports. External effects (e.g., file modifications) not explicitly restricted. Rollback mechanism not mentioned. Source attribution only via MIT license and author name, unverified.

Reliability9 / 14 · 3.2/5

Self-consistency good, README and Cargo.toml descriptions align, but version inconsistency (README mentions v0.9.1888-dev, Cargo.toml 0.71.1). Dependency availability ensured via Cargo.lock and CI, but no offline install option. Failure messages handled in SDK tests but not comprehensive.

Adaptability12 / 18 · 3.3/5

Target audience clear (developers), scenarios include multi-session, swarm. Capability boundaries via tool list and config, but not explicit limits. Trigger precision via commands and config, but not detailed. Environment fit supports Linux/macOS/Windows, but no detailed system requirements.

Convention10 / 18 · 2.8/5

Information architecture clear, README and docs links. Install notes detailed, multiple methods. Naming stable but version inconsistency. Examples and FAQ partial, missing FAQ. Known limitations not explicitly listed. License MIT, but no changelog. Maintenance responsibility unclear.

Effectiveness9 / 13 · 3.5/5

Output usability via SDK and CLI, but no actual output examples. Marginal value high, emphasizes RAM efficiency. Cost-benefit not quantified, but performance data supports.

Verifiability3 / 8 · 1.9/5

Claim traceability limited, performance data not raw. Cross-source corroboration insufficient, only README. Fact-inference separation unclear, performance claims may be based on internal tests.

Risks and how to mitigate them
  • Version inconsistency: README claims v0.9.1888-dev, but Cargo.toml is 0.71.1, may cause confusion.
  • Performance data lacks raw measurement details, cannot be independently verified.
  • No explicit least-privilege policy or detailed user confirmation process documented.
  • Dependency security only via cargo-audit in CI, no specific vulnerability reports.
Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision dd8755f7e71f New commits since this review; the score may not cover them
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.99.0
    Release notes excerpt
    Account failover, hibernation, and faster reloads Highlights - Automatically retry turns on the next pool account when one hits a usage limit, including for Desktop and SDK clients - Hibernate idle sessions to free memory, with measured RAM status and transparent wake on the next interaction - Reload and resume large sessions much faster by showing the local transcript immediately and sending only new history Improvements - Support OpenAI Ultrafast speed tiers for GPT-6.1 Sol, with Fast commands and hotkeys that apply promptly …
    View on GitHub ↗
  2. v0.98.1
    Release notes excerpt
    Faster idle sessions and richer responses Highlights - Reduce idle CPU and disk reads in repositories with many untracked files - Share model catalog processing across equivalent clients while keeping usage and account state fresh - Allow Desktop-capable clients to receive Markdown responses through the new user_response tool Improvements - Show compact context usage before and after compaction - Open the resume picker immediately while session scanning continues in the background - Disable automatic memory recall while retaining explicit memory search …
    View on GitHub ↗
  3. v0.97.0
    Release notes excerpt
    Highlights - Use custom HTTP JSON search providers with configurable authentication, result mapping, and fallback engines - Rust and TypeScript SDK clients can invoke native runtime commands and transfer sessions without turning commands into agent prompts Improvements - Dismiss side panels directly from the TUI, and keep routine system notices on a compact single line …
    View on GitHub ↗

FAQ

What model providers does jcode support?
It supports Claude, OpenAI, Google Gemini, GitHub Copilot, Azure OpenAI, OpenRouter, Ollama, and many others; see the full list via jcode login --provider.
How does jcode's memory system work?
Each turn is embedded as a semantic vector and queried against a memory graph to find relevant entries, which are automatically injected into the context. Explicit memory tools and session search are also provided.
How does jcode handle multi-agent conflicts?
In swarm mode, the server monitors file changes and notifies other agents when a file they have read is modified, allowing them to check the diff and avoid conflicts.
Can I use it on a headless server?
Yes, it supports headless OAuth login with --no-browser and scriptable login flows.
Is manual intervention required for setup?
Typically you can have another agent follow the README to install automatically, but you may need to handle OAuth authorization or API key entry manually.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents