neuron-engine
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- fs module — File system access in bin/auto-log.js
- child_process — Shell command execution capability in bin/neuron.js
- fs module — File system access in bin/neuron.js
- process.env — Environment variable access in extensions/neuron-pi-core.mjs
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Cognitive Memory Engine for AI Agents via Progressive Non-Linear Context Graph
neuron-engine
A local-first persistent memory CLI for AI coding agents. Use whichever harness and model you want (Claude Code, OpenAI Codex CLI, pi, Antigravity (agy)), and they all share the exact same project brain.
What it is
AI coding agents lose track of architecture decisions, debugging history, and project conventions whenever a chat compacts or a new session starts. neuron-engine fixes that by storing your project's memory locally in plain Markdown and JSON inside .memory/.
There is no cloud service, no database to run, and no extra LLM tokens spent managing state. Everything runs locally in under 15ms and can be read or edited in your text editor.
How it works
Memory is organized into three simple layers inside ./.memory/:
- Active Focus (
L1) — Tracks the topic you are working on right now (neuron remember <topic>). On session start,neuron awakeprints your active focus, recent log tail, and project summary so the agent resumes immediately. - Topic Graph (
L2—.memory/memories.json) — Stores each workstream as a node with a short summary and pointers to specific line ranges in your logs. Switching topics keeps unrelated tasks from cluttering the prompt. - Daily Logs & Search (
L3—.memory/logs/YYYY-MM-DD.md&.memory/MEMORY.md) — Append-only daily logs plus a short project dashboard (MEMORY.md). Optionalqmdintegration adds hybrid vector + keyword search; without it,neuron searchfalls back to local text search.
Install
Pick your harness:
Claude Code
claude plugin marketplace add mannysz/neuron-engine
claude plugin install neuron-engine@neuron-engine
(Or inside a Claude Code session: /plugin marketplace add mannysz/neuron-engine then /plugin install neuron-engine@neuron-engine.)
OpenAI Codex CLI
codex plugin marketplace add mannysz/neuron-engine
codex plugin add neuron-engine@neuron-engine
pi Coding Agent
pi install git:github.com/mannysz/neuron-engine
Antigravity (agy)
agy plugin install https://github.com/mannysz/neuron-engine
Standalone CLI (optional, for direct terminal use)
npm install -g git+https://github.com/mannysz/neuron-engine.git
Verify with neuron help.
Basic commands
| Command | What it does |
|---|---|
neuron awake |
Load active focus, recent logs, and MEMORY.md at session start |
neuron remember <topic> |
Focus memory on a specific feature or workstream |
neuron synapsis --summary "..." |
Save a milestone note (Wanted | Done | Result) to the active topic |
neuron search "<query>" |
Search topic summaries and daily logs (uses qmd if installed) |
neuron dream |
Condense recent notes into topic summaries and refresh the index |
neuron forget <topic> |
Archive a finished topic out of active focus |
neuron list / neuron show <topic> |
Inspect all topics or view a single node's JSON |
Contributing
Contributions are welcome. Keep changes small, dependency-free, and covered by tests.
- Fork the repo and create a branch (
git checkout -b fix/your-change). - Run the built-in Node test suite (no external packages required):
npm test - Open a pull request with a short description of what changed and why.
License
MIT
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found