cytostack/openwolf
A hook-driven CLI for local project memory and usage accounting across coding agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
OpenWolf is a TypeScript CLI with agent-specific extensions and project-scoped file storage. openwolf init creates .wolf/ and registers supported integrations. anatomy-index.json stores file and symbol metadata, STATUS.md holds open work, and handoff/ holds checkpoints and transfer packets. Session-start hooks can load a short project map and available task evidence, while event support determines what can be captured or restored.
Separate TypeScript build configurations cover hooks, the plugin and the dashboard. The dependency set includes Commander, Chokidar, Express, ws, web-tree-sitter and tree-sitter-wasms. Bug-log search uses Node's built-in SQLite when available and falls back to a simpler matcher. Journals or locks protect concurrent writes where needed, and interrupted scans preserve index entries they did not reach.
Key Capabilities & Differentiators
Claude Code has the broadest controls: lifecycle hooks, repeated-read guidance and shortening of selected Bash output, with originals retained locally. Test and build output are advisory-only by default. Codex has project hooks and saved-task recovery; OpenCode uses a native plugin for session and tool events, usage records and activity notices. Cursor, Gemini CLI and Antigravity receive project context only. Claude–Codex handover moves selected evidence and checks project identity, source records and repository drift.
The dashboard and CLI reconcile available usage records from Claude transcripts, Codex session records and OpenCode plugin records. Missing counters remain unavailable, not zero. Reports distinguish provider counters from local content-size estimates and apply model-specific API list prices, including cache rates where available. Those estimates are neither subscription charges nor proof of token savings. Maintenance can archive eligible notes with verified restore pointers while retaining active, latest and pinned notes.
Trade-offs & Limitations
Compared with native session resume, OpenWolf preserves a portable subset of task evidence rather than the full conversation. Compared with keeping only AGENTS.md or equivalent rules, it adds indexing, searchable fixes, checkpoints and usage accounting, but also adds hook registration, runtime updates and local state to maintain. A full live Claude → Codex → Claude coding round trip and broader token-efficiency gains remain unverified.
Local storage avoids a hosted memory dependency, not the risk of exposing saved material. Review notes, bug records, indexed content and cached command output before sharing them. Hooks do not approve tool calls, and durable instruction injection requires an independently protected installation and administrator review. AGPL-3.0 warrants a license review before distributing or offering network access to a modified build.
Hardware & Deployment Guide
Use Node.js 20+ and at least one supported agent on macOS, Linux or Windows. Run npm install -g openwolf, then openwolf init in the project. To select integrations explicitly, use openwolf init --agent claude codex opencode. Complete the agent's trust review and verify hook health with openwolf status. The local dashboard binds to 127.0.0.1 by default and requires a project token.
Memory, indexing and usage processing need no extra model calls. The optional update worker contacts npm; openwolf bench uses real model access and can incur charges. Compatible project runtimes can be staged for new sessions without replacing the global CLI or a running daemon. v2.5.2 added explicit task handover and per-model usage reporting; v2.5.3 improved watcher resilience, Windows execution and native OpenCode V2 support.
.wolf/ separates the code index, task status, bug records, session notes and runtime data.AGENTS.md, and OpenCode uses a native plugin.openwolf scan --check checks freshness without writing.openwolf usage report --json reconciles available records and distinguishes provider counters from content-size estimates..wolf/cache/bash/.Developers who switch among Claude Code, Codex or OpenCode and want a local code map, recoverable task checkpoints and usage reports that show gaps in recorded data.
You need full conversation migration, identical controls across agents, billing-grade usage reconciliation, or only a static rules file for one agent.
Quick Start & Installation
npm install -g openwolf cd your-project openwolf init
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| openwolf ★ | 2.4k | +3 | TypeScript | AGPL-3.0 | A hook-driven CLI for local project memory and usage accounting across coding ag |
| rtk | 88.7k | +684 | Rust | Apache-2.0 | A local Rust CLI wrapper that trims command output before coding agents read it. |
| ECC | 316.1k | +4.2k | JavaScript | MIT | Plugins and CLI workflows for planning, reviewing, and verifying agent-written c |
| obsidian-skills | 56.2k | +1.7k | Shell | MIT | Agent Skills plugins for editing Obsidian files and working with vaults |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/cytostack/openwolf.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about openwolf
How does a coding agent pick up saved project context?
openwolf init in the project to create .wolf/ and register supported hooks or a plugin. Claude Code and Codex can recover saved checkpoints through supported hooks, while OpenCode uses a native plugin for session and tool events. Explicit Claude–Codex handover transfers selected saved evidence, not a live conversation or private reasoning.What hardware and runtime overhead should I plan for?
Can a company self-host OpenWolf or ship a modified build?
When is OpenWolf a better fit than native resume or checked-in project instructions?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy