cytostack/openwolf

Portable project memory across Claude Code, Codex and OpenCode, plus token accounting measured from harness transcripts. Local file I/O, no API calls, no telemetry.

What it solves

OpenWolf provides a persistent local memory layer for AI coding agents, preventing the loss of task context, project maps, and known fixes when sessions are restarted or when switching between different agents (such as Claude Code, Codex, and OpenCode).

How it works

It creates a .wolf/ directory within your project to store context locally. It integrates with agents via lifecycle hooks and plugins to manage the following:

  • Context Persistence: Saves task objectives, completed work, and next actions in checkpoints and STATUS.md files.
  • Project Indexing: Maintains a project map (anatomy-index.json) containing file descriptions, symbols, and import relationships to help agents find code more efficiently.
  • Coded Knowledge: Stores project-specific notes, recurring corrections in cerebrum.md, and a searchable bug log (buglog.json).
  • Token Optimization: Identifies repeated reads of unchanged files and can shorten large Bash outputs locally to reduce token usage.
  • Usage Tracking: Records provider token counters and estimates API costs across different models and agents.

Who it’s for

Developers using AI coding agents (like Claude Code, Codex CLI, OpenCode, Cursor, or Gemini CLI) who want to maintain a consistent project state and reduce redundant context injection.

Highlights

  • Agent-Agnostic Memory: Enables handovers between different AI agents by carrying over saved context.
  • Local-First: Memory and indexing run locally without requiring additional model calls.
  • Handoff System: Provides specific commands and packets to transfer task evidence between sessions.
  • Operational Dashboard: A local web interface to monitor project memory, code indices, and token costs.
  • Built-in Skills: Includes specialized guides for security audits, interface reframing, and status updates.

Related

  • Project
  • Project
  • Project
  • Project