Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ By contributing, you agree that your contributions are licensed under the [Apach

You need:

- **Rust 1.89+** (edition 2024). SQLite is bundled.
- **Rust 1.90+** (edition 2024; CI uses 1.99.1). SQLite is bundled.
- **Linux:** `bubblewrap` for the sandbox (`sudo apt install bubblewrap`).
- **Node.js 22** for the web dashboard (`web/`), the TypeScript SDK (`sdk/typescript/`) and the OpenSpec CLI.
- **[just](https://github.com/casey/just)** (optional) for the task shortcuts below.
Expand All @@ -31,15 +31,21 @@ Run `just` to list the tasks. The common ones:

| Task | Command |
|---|---|
| Check the tools (installs cargo-nextest if missing) | `just setup` |
| Fast type check | `just check` |
| Format | `just fmt` |
| Lint (fmt check + clippy, warnings are errors) | `just lint` |
| Rust tests | `just test`, or `just test -p cyber-server` |
| Specs (OpenSpec validation, spec lint, roadmap inventory) | `just specs` |
| TypeScript SDK | `just sdk-test` |
| Everything CI checks | `just ci` |
| Rust tests | `just test`, `just test -p cyber-server`, or `just test-quick` for unit tests only |
| Specs (OpenSpec validation pinned to CI's version, spec lint, roadmap inventory) | `just specs` |
| `docs/cli.md` is current | `just docs-cli-check` |
| TypeScript SDK and plugin kit | `just sdk-test` |
| Web dashboard, VS Code extension | `just web-test`, `just vscode-test` |
| Everything CI checks (except platform builds and browser/Electron runs) | `just ci` |
| Linux tests in Docker | `just test-linux` |
| Low-disk build env for any task | `just lean test` |
| Target dir size, prune old artifacts | `just disk`, `just disk-prune 14` |

Some tests start the sandbox helper. Build it once with `cargo build -p cyber-sandbox --bins` before running the whole suite. CI uses [nextest](https://nexte.st/): `cargo nextest run --workspace --profile ci`.
Some tests start the sandbox helper; `just test` builds it first (`just sandbox-helpers`, or `cargo build -p cyber-sandbox --bins` by hand). `just test` uses [nextest](https://nexte.st/) when installed, like CI: `cargo nextest run --workspace --profile ci`.

## What CI checks

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version = "0.1.0"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/CyberdyneCorp/cybercode-cli"
rust-version = "1.89"
rust-version = "1.90"
publish = false

[workspace.dependencies]
Expand Down
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,25 @@

A model-independent coding agent with a terminal UI, local web dashboard and durable background server. Run one task, coordinate agents, or compare patches with a verified workflow—all against the same local Sessions.

**Development status:** the local core and first web dashboard are implemented. Broader platform, integration and release acceptance is still in progress; see [Known gaps](#known-gaps).
**Development status:** stable [`v0.1.0`](https://github.com/CyberdyneCorp/cybercode-cli/releases/tag/v0.1.0) was released on 2026-11-22 for macOS and Linux. The P0 local core is complete. P1 is nearly complete; the Windows sandbox and the remaining extensibility and import items are open. P2 autonomy is built: workflows and the verified library, goals, loops with cron and persistent `cyber loops` schedules, and the planner/executor model split; agent teams are experimental. P3 connectivity is starting with account login, relay and runners; the project hub is experimental. See the [roadmap](ROADMAP.md) and [Known gaps](#known-gaps).

Coding-quality evidence: [GPT-6.1 Sol / ChatGPT pilot](docs/measurements/gpt61-sol-chatgpt-pilot.md), with measured outcomes and comparison limits; [stream reliability fixes and follow-up](docs/measurements/provider-stream-reliability-follow-up.md).

[Real-repository and solve pilot](docs/measurements/real-repository-evaluation.md): original outcomes and separate follow-ups, with setup issues and comparison limits.

## Quickstart

Requires **Rust 1.89+**; SQLite is bundled. On Linux, install **bubblewrap** for sandboxed commands (`sudo apt install bubblewrap`).
Requires **Rust 1.90+** (CI uses 1.99.1); SQLite is bundled. On Linux, install **bubblewrap** for sandboxed commands (`sudo apt install bubblewrap`).

```bash
cargo build --locked -p cyber-cli
export OPENAI_API_KEY="your-key"
./target/debug/cyber
```

OpenAI, Anthropic, GitHub Copilot and OpenAI-compatible endpoints are supported, including local model servers. The native Gemini API is experimental (`cyber features enable gemini`, then `GEMINI_API_KEY`; [guide](docs/local-core-guide.md#gemini-api)). Instead of an API key, you can sign in with a subscription:
With [`just`](https://github.com/casey/just) installed, `just build`, `just install` (release binaries into `~/.local/bin`) and `just test` cover the usual loop; see [developer tasks](#guides-and-development).

OpenAI, Anthropic, GitHub Copilot and OpenAI-compatible endpoints are supported, including local model servers. The native Gemini API is experimental (`cyber features enable gemini`, then `GEMINI_API_KEY`; [guide](docs/local-core-guide.md#gemini-api)). Instead of an API key, you can sign in with a ChatGPT or GitHub Copilot subscription; Claude subscriptions are not supported, so Anthropic models need an API key:

| Subscription | Sign in | Guide |
|---|---|---|
Expand Down Expand Up @@ -138,20 +140,25 @@ mindmap
TypeScript SDK
Signed releases and cyber upgrade
Agents and automation
Subagents and worktrees partial
Subagents and worktrees
Planner and executor models
workflows["Workflows"]
solve["Verified solve"]
integrations["Integration queue"]
Goals and loops
Cron and persistent schedules
Agent teams experimental
Safety and recovery
Permission modes
Auto reviewer with read-only context
macOS and Linux sandbox
Git snapshots
Durable Sessions and replay
OpenTelemetry export
Tools and integrations
Providers and local endpoints
Gemini adapter experimental
Repository map
MCP client and server
Hooks and skills
Image and PDF input
Expand All @@ -168,18 +175,19 @@ mindmap

## Known gaps

Cyber Code has working features in each area below, but it is not at full feature parity with every alternative. Checked **2026-10-24** against official documentation; this compares capabilities, not coding quality or benchmark performance. Related desktop, IDE and hosted products are distinguished from each terminal CLI.
Cyber Code has working features in each area below, but it is not at full feature parity with every alternative. The competitor column was checked **2026-10-24** against official documentation; the Cyber Code column reflects v0.1.0. This compares capabilities, not coding quality or benchmark performance. Related desktop, IDE and hosted products are distinguished from each terminal CLI.

| Compared with | What their documentation provides | What remains in Cyber Code |
|---|---|---|
| **OpenCode** | A broad [provider catalog](https://opencode.ai/docs/providers/), [IDE integration](https://opencode.ai/docs/ide/) and [web UI](https://opencode.ai/docs/web/). | Native provider coverage is narrower. A [VS Code extension](docs/vscode-extension.md) ships as a `.vsix` on each release; Marketplace publication, ACP for other editors and desktop clients are planned. The web dashboard is implemented, but full TUI-equivalent browser controls remain unfinished. |
| **Claude Code CLI** | The CLI is part of a [terminal/IDE/desktop/web offering](https://code.claude.com/docs/en/overview), with [plugin marketplaces](https://code.claude.com/docs/en/discover-plugins). | A [VS Code extension](docs/vscode-extension.md) ships as an unsigned `.vsix`, without Marketplace publication, per-hunk review or other IDEs; desktop clients, plugin marketplaces and complete cross-tool configuration/plugin compatibility remain unfinished. A plugin host, SDK, skills and hooks already exist. |
| **Codex CLI** | A [terminal coding agent](https://learn.chatgpt.com/docs/codex/cli), related IDE/cloud surfaces, and a [native Windows sandbox](https://learn.chatgpt.com/docs/windows/windows-sandbox). | Windows confinement remains partial. The VS Code extension is a first slice (no Marketplace, no ACP); desktop clients, hosted runners and paired-device Relay access are planned. Private HTTPS/SSH dashboard access already works. |
| **Codex CLI** | A [terminal coding agent](https://learn.chatgpt.com/docs/codex/cli), related IDE/cloud surfaces, and a [native Windows sandbox](https://learn.chatgpt.com/docs/windows/windows-sandbox). | Windows confinement remains partial, so Windows builds are not released. The VS Code extension is a first slice (no Marketplace, no ACP); desktop clients are planned, and hosted runners and paired-device Relay access are early P3 work. Private HTTPS/SSH dashboard access already works. |
| **Pi** | A deliberately small [terminal harness with TypeScript extensions, packages and an SDK](https://github.com/earendil-works/pi/tree/main/packages/coding-agent). | Cyber ships its own plugin host and SDK; package marketplaces and broader extension compatibility remain unfinished. Pi intentionally leaves features such as subagents and plan mode to extensions/packages, so its smaller core is a design choice. |

Other limits to consider:

- **Acceptance is ongoing:** the full local-model baseline, Windows enforcement and several P1 migration, memory and code-intelligence paths remain open.
- **Acceptance is ongoing:** the full local-model baseline, Windows enforcement and several P1 extensibility, migration (`cyber import`), memory and code-intelligence paths remain open.
- **Subscriptions:** sign-in covers ChatGPT and GitHub Copilot only; there is no Claude subscription login.
- **Automation has edges:** [reserved budgets](docs/reserved-budgets.md) currently support bounded official OpenAI Responses requests; ChatGPT/Copilot subscription models use soft token/time controls. Finished-agent transcript retention is a separate roadmap item; persistent schedules (`cyber loops`) run only while the Cyber service runs, which has no launchd/systemd unit yet; agent teams and the project hub are experimental.
- **The native Gemini adapter is experimental:** off until `features.gemini` is set; tested against recorded protocol shapes only. A live tool-loop run with a key, the live coding baseline, Vertex AI and stored Gemini keys (`cyber providers login google`) remain.
- **Native computer use is experimental:** macOS 14+ only, off by default; controlled capture, input and Stop passed. Other layouts, live OS revocation and release signing remain unverified.
Expand Down Expand Up @@ -208,7 +216,7 @@ The TUI, web dashboard, VS Code extension, CLI, SDK and MCP clients call one ser
| Find a command or planned capability | [CLI reference](docs/cli.md) · [Roadmap](ROADMAP.md) · [OpenSpec](openspec/specs) |
| Check builds, tests or evaluations | [Development guide](docs/local-core-guide.md#build-and-development) · [Evaluation guide](eval/README.md) |

Run `just` for available development tasks and `just ci` for local checks. Browse the [documentation index](docs/README.md) for the full guide set.
**Developer tasks:** `just setup` checks your tools, `just` lists the tasks, and `just ci` runs the local equivalent of CI; `just lean <task>` builds with less disk. See [CONTRIBUTING.md](CONTRIBUTING.md#development-setup). Browse the [documentation index](docs/README.md) for the full guide set.

## Contributing and license

Expand Down
10 changes: 6 additions & 4 deletions docs/local-core-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@ Detailed commands, client behavior, limits and terminology for the implemented l
Common tasks are in the [`justfile`](../justfile) (install [`just`](https://github.com/casey/just)); run `just` to list them:

```bash
just setup # check the development tools (installs cargo-nextest if missing)
just build # debug build: target/debug/cyber
just ci # local checks: lint, tests, specs, SDK (platform builds run in CI)
just test -p cyber-server # one crate, or `just test <name filter>`
just ci # local checks: lint, tests, specs, docs, SDK, dashboard, VS Code extension
just test -p cyber-server # one crate, or `just test <name filter>` (nextest when installed)
just lean test # any task with the low-disk build env (no incremental, no debug info)
just test-linux # the test suite on Linux in Docker (bubblewrap sandbox)
just tui # the TUI here; just exec "fix the failing test"
just sandboxed exec --ephemeral "hello" # run with a throwaway CYBER_HOME
just sdk-generate # regenerate sdk/openapi.json and the TypeScript SDK
```

`just ci` covers the recipes listed above; dashboard checks and native platform builds/tests run separately in CI. For documentation validation, use the same OpenSpec version as CI (`npm install -g @fission-ai/[email protected]`) and run `just specs`. After changing the inventory, inspect the generated ROADMAP diff before committing it.
`just ci` mirrors the CI checks except native platform builds, the browser and Electron integration runs and the benchmark. `just specs` runs the same OpenSpec version as CI through `npx` (`@fission-ai/[email protected]`), so no global install is needed. After changing the inventory, inspect the generated ROADMAP diff before committing it.

The raw commands:

Requires Rust 1.89 or newer (edition 2024). SQLite is bundled.
Requires Rust 1.90 or newer (edition 2024; CI pins 1.99.1). SQLite is bundled.

```bash
cargo build # target/debug/cyber
Expand Down
Loading
Loading