npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lilian-rpm/open-brain

v0.1.0-alpha.1

Published

A local, file-based continuity layer for AI CLI assistants.

Readme

OpenBrain

CI License: MIT

OpenBrain is a local, file-based continuity layer for AI assistants used from a terminal. It creates a portable vault with a living state, lightweight routing, preferences, and loader instructions that work across supported CLI assistants.

OpenBrain is not a hosted service, database, web application, or model provider. Your files remain on your machine and the assistant you choose remains responsible for its own pricing, privacy terms, and data handling.

What it provides

  • A portable folder that acts as the source of continuity for an AI-assisted project.
  • A deterministic local CLI for indexing, routing, health checks, updates, and preferences.
  • Generated loader blocks for compatible assistants, while preserving each loader's user-owned text.
  • An optional Calibrated Free Mode for more deliberate proactive assistance.

Quick start

Requirements: Node.js 22.14.0 or later and Git when you want local version history.

npx @lilian-rpm/open-brain@latest init
open-brain scan

scan builds the index; status --auto keeps it fresh afterward.

Open the generated vault in your preferred AI CLI, then ask it to start onboarding. The onboarding flow is conversational and can be stopped at any layer.

The package is pre-release software. Check the release notes before relying on it for important work.

Preferences engine

OpenBrain tracks working preferences with Hermes, its internal preference engine: a weighted ledger of preferences strengthened over time by evidence-backed nudges rather than one-off overrides. The ledger lives in the vault under 10_memory/preferences/ and is inspected, listed, or regenerated with the prefs command.

Free Mode

Free Mode is an assistant-behavior setting. It is not a bundled LLM, a free model tier, or a promise of free AI usage.

The supported settings are:

interaction:
  free_mode: off # or: calibrated

off suppresses Free Mode prompts. calibrated is the recommended onboarding choice and remains deliberately restrained:

  • It raises at most one evidence-backed checkpoint at a safe boundary when a concrete alternative materially changes scope, reversibility, external impact, cost, security, or maintenance.
  • With clear carte blanche, it chooses the safer route when appropriate and discloses that choice at handoff. Safety, destructive, privacy, legal, and publication confirmations still need a checkpoint.
  • It may offer at most one new, material, safely deferrable idea per session after work is complete.
  • It does not repeat dismissed ideas without materially new evidence.

Safety confirmations take priority over Free Mode, which takes priority over preference nudges and optional ideas. Routine or cosmetic choices should not interrupt the work.

OpenBrain stores no prompts, private reasoning, secrets, or telemetry for this feature. Its local state is limited to the selected mode, timestamps, and opaque fingerprints that prevent already-dismissed ideas from being repeated. Your selected CLI or model provider may have separate costs, retention, and privacy terms.

loader-sync renders one generated Free Mode block into AGENTS.md, CLAUDE.md, and GEMINI.md, while preserving text outside its managed markers.

Free Mode: how it actually runs

Calibrated Free Mode is a discipline your AI CLI agent follows, not a runtime engine. OpenBrain does not intercept, gate, or enforce the assistant's behaviour. It ships two things: a generated Free Mode block written into your agent loaders (AGENTS.md, CLAUDE.md, GEMINI.md) that tells the agent when to raise at most one material checkpoint per turn and when it may offer a single optional idea, and a small set of commands the agent uses to stay honest across turns. Before offering an idea the agent runs open-brain free-mode check "the idea"; a non-zero exit means you dismissed that idea before, so it stays silent. When you decline an idea, the agent runs open-brain free-mode dismiss "the idea" so it is never raised again. All enforcement is the agent choosing to follow the loader block and call these commands; there is no background process.

Local Free Mode state lives in .open-brain/local/free-mode-state.json and holds only the mode, timestamps, and opaque SHA-256 fingerprints of dismissed ideas. The raw idea text, your prompts, and any chain-of-thought are never written there. Run open-brain free-mode reset to erase every remembered dismissal; turning Free Mode off never deletes this state.

Privacy and security

OpenBrain is designed to run locally and does not include product telemetry. See PRIVACY.md for the data-handling contract and SECURITY.md for responsible disclosure guidance.

Do not place credentials, private client material, or personal data in public issues, examples, fixtures, or pull requests.

Contributing

Contributions must be generic and privacy-safe. In particular, do not import personal vaults, private histories, raw source material, secrets, or copied user prompts. Use synthetic fixtures only.

See CONTRIBUTING.md for the development and review process, and RELEASE_CHECKLIST.md for the external release gates.

License

OpenBrain is released under the MIT License. The name and visual identity are covered separately in BRAND.md.