@laurindustries/mnemos0.8.0
Mnemos: a shared LadybugDB knowledge graph for Pi, OpenCode, MCP, and the CLI
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
Mnemos
Shared memory for coding agents. Give a fresh Pi, OpenCode, or MCP session access to the durable facts another session recorded, without replaying the old chat or pasting the same context again.
Mnemos stores named things, the relationships between them, and references to their sources in a local knowledge graph. Start with projects, repositories, and environments. Add your own types in YAML when your work needs them.
Get started · Read the docs · Report an issue
Try a handoff
Start the shared service with knowledge-graph service start. Then, in one
connected agent session, ask:
In Mnemos, record that the Payments project includes the
payments-apirepository. Useproject:paymentsandrepo:payments/apias IDs and recordREADME.mdas the source for the relationship.
Open another session with the same Mnemos database, then ask:
Which repositories belong to
project:payments? Include the source of each relationship you find in Mnemos.
The new session can read the saved relationship and its source reference. It still needs to check that reference before relying on a stale or high-impact claim. No model or agent required for the terminal walkthrough.
What you can do
| Need | Use Mnemos to… |
|---|---|
| Pick up where another session stopped | Save and retrieve durable project context across compatible clients. |
| Explain how things connect | Follow directed relationships, such as a Terragrunt repo calling a module or a repo targeting an environment. |
| Check where a fact came from | Attach a file path, URL, or other source reference to an entity or relationship. |
| Fit the graph to your work | Define your own types, attributes, and allowed relationships in YAML. |
| See the bigger picture | Open the local read-only explorer to follow links and inspect evidence. |
Get started
Use Node 22.19.0+ and keep optional npm dependencies enabled; they supply the native database binary. Linux x64 is the automated release target.
For the terminal commands, install from npm:
npm install -g @laurindustries/mnemos@0.8.0
Pi, OpenCode, and MCP clients connect to the running service. Use the CLI to start or stop it; a project-local CLI install works too. Upgrading from 0.3.1? Rename your settings before starting 0.8.0. Your database stays where it is.
| Using | Start here |
|---|---|
| Pi | Install the Pi extension |
| OpenCode 2 | Load the native plugin |
| An MCP client | Install the local MCP server |
| A terminal | Create and query a scratch graph |
Know what you’re storing
- Facts, not transcripts. Mnemos does not automatically index chats or code. A stored source reference is not independently verified. Use substring search for literal matches or local semantic search to find entities by meaning.
- Local, not cloud-synced. Clients on the same machine share a graph when pointed at the same database. No external database server is required.
- Persistent by design. Reloading or forking a chat does not undo graph
writes. Deletion is permanent; keep backups
and don’t store secrets. The explorer is on by default and readable by other
local users. Set
MNEMOS_EXPLORER=0when starting the service to disable it. - Edit the schema manually. The graph tool writes facts, not the ontology YAML.