Skip to content

Latest commit

 

History

406 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sigma Code logo

Sigma Code

The open-source coding agent that survives interruptions and proves its changes.
Run long coding tasks in a native sandbox, resume anytime, and finish with evidence.

English · 简体中文

Status: 0.1.5 stable release Release targets: Linux stable and Windows unsigned preview Formal evaluation: preregistered

Official website · Documentation · Download v0.1.5 · Security

Sigma Code desktop app using Sigma Runtime to analyze a repository

Sigma Code is built for coding tasks that must not lose their state or declare victory too early. Commands run inside a required native sandbox, the complete working session is persisted for recovery, and changed work completes only after current validation and any required review agree.

This repository owns Sigma Runtime, the CLI, the TUI, and the ACP v1 server. The independently maintained Sigma Code desktop, Web, and mobile client is a downstream of T3 Code and connects to this runtime over ACP v1.

Important

0.1.5 is the current supported baseline. Linux x64 is stable. Windows x64 is an unsigned preview and may trigger Windows security warnings. Verify the published SHA-256 sidecar and signed provenance before installation.

Why Sigma Code

Capability What it means
Native sandbox execution Commands stay inside required OS-level isolation. If the sandbox is unhealthy, Sigma refuses to execute.
Durable sessions Plans, model turns, tool receipts, checkpoints, and outcomes survive a closed terminal or restarted process.
Evidence-backed completion Model prose cannot close changed work without current validation and any required review evidence.
One runtime, multiple surfaces The desktop client, TUI, one-shot CLI, and automation use the same event-sourced runtime.

Get started

Desktop on Windows

Download Sigma-Code-0.1.5-x64.exe from the v0.1.5 release. The installer bundles the desktop UI and verified Sigma Runtime; a separate Node.js or Agent CLI install is not required.

Windows artifacts are currently unsigned previews. Review the warning and verification steps in the installation guide before running them.

CLI and TUI on Linux

Download and verify the Linux x64 release archive, then initialize a repository:

SIGMA="$HOME/.local/share/sigma-code"
WORKSPACE="/path/to/your/repository"

export DEEPSEEK_API_KEY="your-api-key"

"$SIGMA/bin/agent" init --workspace "$WORKSPACE" --provider deepseek
"$SIGMA/bin/agent" doctor --workspace "$WORKSPACE" --check-api
"$SIGMA/bin/agent" tui --workspace "$WORKSPACE"

Keep secrets out of .agent/config.toml and source control. For the Windows terminal archive, other providers, permissions, session commands, and reasoning levels, use the CLI and configuration reference.

What it can do

  • Work through the desktop client, a CJK/IME-aware TUI, one-shot run, or read-only inspect.
  • Resume, replay, steer, cancel, and audit durable sessions after process interruption.
  • Read and edit repositories, run commands, use LSP-backed code intelligence, and connect explicitly trusted MCP servers.
  • Execute inside native Windows AppContainer or Linux namespace isolation with declared file, process, and network effects.
  • Coordinate bounded child agents with explicit writer isolation and integration.
  • Track tests, validation, reviews, workspace deltas, and checkpoints in one typed evidence ledger.
  • Connect multiple model providers through the version-pinned Pi gateway, including the experimental ChatGPT/Codex subscription route.

Documentation

The complete product and technical documentation lives on the website:

Guide Covers
Getting started Releases, verification, Linux and Windows setup, first task
CLI, configuration, and providers Commands, TUI controls, permissions, authentication, reasoning levels
Runtime architecture Composition root, event loop, package boundaries, ACP v1
Security, permissions, and recovery Native sandbox, path and network boundaries, durable state, completion
Durable sessions Event streams, checkpoints, replay, and resume
Native sandboxing Windows AppContainer and Linux namespaces
Evidence-backed completion Validation, review, and current-state evidence
Evaluation method Preregistration, fairness boundary, results, and limitations

Repository-maintainer material remains close to the code:

  • CONTRIBUTING.md — development workflow and contribution expectations
  • VALIDATION.md — test layers, coverage, native checks, and release evidence
  • RELEASING.md — packaging and release procedure
  • SECURITY.md — supported versions, trust boundary, and vulnerability reporting

Transparent evaluation

A staged Terminal-Bench 2.1 diagnostic on July 27–28, 2026 used DeepSeek deepseek-v4-pro, the same 89-task population, one Sigma attempt per task, zero retries, and no verifier feedback. Sigma Code completed 51/89 (57.303%); OpenCode completed 49/89 (55.056%).

This is a mixed-source engineering diagnostic, not a universal-superiority claim or a single score for the final source head. Read the method, fairness rules, and limitations before comparing the numbers.

Develop

The repository pins Node.js 26.4.0, pnpm 11.7.0, and Rust 1.96.0.

corepack enable
corepack prepare pnpm@11.7.0 --activate
pnpm install --frozen-lockfile
pnpm build
pnpm lint
pnpm test:coverage

See CONTRIBUTING.md and VALIDATION.md before changing runtime, sandbox, persistence, or evaluation behavior.

License

Sigma Code is available under the MIT License.

About

Open-source AI coding agent that survives interruptions, runs in a native sandbox, and proves its changes.

Topics

Resources

Contributing

Security policy

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages