Skip to content

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shadow CLI

Current build: v10.6.2 — wide terminals center a 100-column conversation, and the footer shows a live estimated tok/s while the model streams.

Shadow is a local-first, provider-neutral security engineering agent. Its built-in Security foundation covers investigation, hardening, incident response, defensive automation, secure coding, and the systems work those tasks require. It connects a model you choose to tools that read, edit, search, and run commands in your workspace. Permissions, budgets, session history, and connection receipts stay under your control. Shadow requires no Shadow account and includes no telemetry service.

Snowfall is v10's default terminal: a full-screen conversation with search, prompt navigation, a compact session footer, and a pinned composer. Start this checkout with npm start after building. Use /theme snowfall for the ice palette; saved themes remain active. SHADOW_TUI=ink npm start retains the compatibility renderer. The terminal contract lists commands, keys and migration decisions. See the 10.6.2 release notes for the published release.

Shadow names conversations from their opening prompt and shows the active name in the terminal title. Find names through /resume, or use /rename Website launch to choose one. /new keeps the previous named conversation available to resume.

Run shadow onboard for local browser setup: connect an endpoint, discover and select models, then verify and save into the encrypted vault. First-run interactive sessions open the same flow. Use shadow onboard --terminal for terminal-only setup, including Subscription account for ChatGPT / official Claude Code sign-in and Local file for GGUF / MLX. The browser offers a handoff to that wizard in the same process, without running the command again.

Shadow includes live /work, durable /jobs, retained worktree artifacts, scoped /review, profile-based /consult and bounded /team workflows. See the collaboration guide for controls and current limitations.

What Shadow does

  • Runs coding tasks interactively in the terminal or through --task.
  • Connects to ChatGPT/Claude subscriptions, API providers, and self-hosted model endpoints.
  • Supports workspace edits, shell commands, tool approvals, plan mode, and bounded agent runs.
  • Keeps sessions, checkpoints, memory, and context compaction for ongoing work.
  • Loads trusted local harness add-ons for new sessions without choosing or restricting your endpoint.
  • Uses /learn to prepare evidence-linked local skill candidates for explicit operator review and activation.
  • Extends the runtime with MCP servers, skills, and data-only plugins.
  • Offers a local web companion through shadow web and an ACP editor bridge through shadow acp.

Install

The public installers download standalone binaries and verify their signed checksums.

Shadow's website and installers are at blackfrostai.com/shadow. The current signed release is 10.6.0. Existing standalone installations can upgrade with shadow update.

macOS / Linux:

curl -fsSL https://blackfrostai.com/shadow/install.sh | sh

Windows PowerShell:

irm https://blackfrostai.com/shadow/install.ps1 | iex

For development or a source installation, use Node 22.19.0 or newer and npm:

npm ci
npm run build
node dist/index.js --help

Standalone-binary development uses Bun 1.4.2: npm run build:binary. Set BUN to a compatible executable if it is not on your PATH. Run tests with Node (npm test), never Bun.

Start a session

shadow onboard
shadow

shadow onboard opens local browser setup; --web remains an alias. shadow onboard --terminal (also --cli) keeps setup in the terminal. shadow onboard --no-open prints a local URL without launching a browser; on SSH, forward its loopback port. Subscription setup runs in the terminal. Subscription connections keep their selected account and never automatically fall back to API billing. Environment variables and CLI flags can override other saved configuration; the user guide explains the available settings and credential paths.

shadow --task "Explain the code in this workspace"
shadow web
shadow doctor
shadow doctor --privacy

To exercise the source checkout without a model endpoint:

node dist/index.js --provider mock --model mock-1 --task "Hello"

Permissions and privacy

The default autonomy level is auto-edit. Use --autonomy manual for explicit tool approvals. --autonomy full grants broader filesystem and shell access; --yolo also waives the destructive command denylist. Choose these modes with their actual authority in mind.

Provider requests send conversation data and authentication to your configured endpoint. Optional web tools, MCP servers, plugin operations, and updates have their own network behavior. Use shadow doctor --privacy, shadow egress, and --offline to inspect or restrict it. Claude subscription requests run through your installed official Claude Code engine, which owns its credentials and network connections. Shadow disables its nonessential traffic; those child-process sockets are outside Shadow’s fetch receipt. See the subscription guide.

The threat model describes the workspace jail, sandbox, approvals, credential storage, egress policy, and their limits. OS sandbox support differs by platform.

Documentation

Development

npm run typecheck
npm run typecheck:all
npm run lint
npm test
npm run build
npm run check:release-gate

Run tests with npm test. The suite relies on Node honoring its isolated test homes; running bun test can operate on real credential files. Bun is used separately to compile standalone binaries with npm run build:binary.

The private working repository and public source mirror have separate histories. Follow the internal release procedure before publishing; the assessment records the current remote problem and the checks needed to establish a reliable release process.

License

MIT.

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages