sg-harness
v2.0.0
Published
Deterministic Multi-Agent Coding Harness & Verification Engine for Claude Code, Cursor, Codex, Antigravity, and OpenCode.
Downloads
38
Maintainers
Readme
SG Agent Harness
Deterministic engineering and verification tooling for AI-assisted codebases. It installs a shared agent kernel, task routing, durable local memory, and evidence-producing quality gates for Claude Code, Codex, Cursor, Antigravity, and OpenCode.
Requirements
- Node.js 22.12 or newer
- Bun (the harness executes its TypeScript runtime with Bun)
Install
Initialize the current repository:
npx sg-harness init --yesOr install it as a development tool and use the shorter command:
npm install --save-dev sg-harness
npx sg init --yesUse --dry-run to inspect the planned changes, --mode=STANDARD to select a default verification mode, or --force to refresh existing bundled runtime files.
Commands
sg verify --production # run deterministic quality gates
sg doctor # inspect harness health
sg status # read the latest evidence receipt
sg graph refresh # regenerate repository context
sg memory query auth # search durable engineering decisionssg init adds the harness runtime under .sg/, a canonical AGENTS.md, thin agent adapters, CI configuration, and a local sg dispatcher. Verification writes evidence to .sg/evidence/latest.json; a task is passed only when that receipt reports "verdict": "PASSED".
License
MIT
