Community plugin

LoveDoLove / @lovedolove/veyra

Persistent engineering memory for coding agents. A DeepSeek Harness plugin that captures what the agent learned, keeps only what held up, and recalls it automatically. Local SQLite, no daemon, no API keys.

  • JavaScript
  • MIT
  • 5 stars
  • Nov 22, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

@lovedolove/veyra is a DSH plugin published from the LoveDoLove/Veyra repository.

  • Listing statusManifest verified
  • Manifest checkedNov 18, 2026
  • Package@lovedolove/veyra
  • Package version0.6.0
  • DSH engine>=0.1.2-rc.1 <0.3.0-0
  • Source commit673bef1
  • Repository createdSep 23, 2026

Capabilities and topics

agent-memoryai-agentscall-graphcausal-knowledge
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

Cached versionView on GitHub

Veyra

English · 简体中文

Persistent engineering memory for coding agents. Veyra learns the lessons your agent already paid for, remembers the ones that held up, and puts them back in front of it the next time the same problem appears.

Local SQLite. Per-workspace isolation. No daemon. No API keys. No manual bookmarking. No re-deriving the same root cause next week.

npm CI node license

A plugin for DeepSeek Harness. Local SQLite storage. No daemon. No API keys. 273.1 kB packed. Pure ESM.


The problem

A coding agent's context window is a working set, not a store. Every session it relearns the same things.

  • Why the build needs that flag.
  • Which fix was tried and rejected, and what it broke.
  • That this module must stay untouched until the migration lands.
  • Which of these facts stopped being true when the file changed.

Conversation history does not survive the session. Docs drift away from the code. A folder of markdown notes has no lifecycle, no authority model, and no way to tell you it went stale.

What Veyra does

Veyra turns the work an agent already did into durable, evidence-backed memory, and injects the relevant parts automatically.

It captures without being askedVeyra watches session events and distills each turn into an observation. A governed gate decides whether it earned a place in memory. A turn that produced nothing durable is dropped, not stored.
It recalls without being askedAt the start of a turn, the most relevant records are injected into context, each labelled with its trust state. The injected policy also makes one targeted veyra_recall call the agent's required first action on any non-trivial task, so keyword-matched injection is backed by an on-demand search.
It refuses to invent evidenceA path mentioned in prose is not a changed file. A symbol name in a sentence is not a symbol. Only real, resolved anchors ground a record.
It knows when it might be wrongEvery recalled record is re-checked against the current repository and classified trusted, review_required, stale, contradicted, or insufficient_evidence.
It never becomes the source of truthThe repository always wins. canonical authority is reachable only through an explicit human action. Nothing is written into your repo.
It keeps workspaces apartMemory is partitioned into rooms keyed by the DSH workspace identity, never by filesystem path. Two workspaces on one repo never see each other's memory.

Quick start

dsh plugin --profile web add @lovedolove/veyra

Restart DSH. That is the whole setup.

If DSH installs an older version than the one shown on the npm badge above, your package manager may be holding back a release that is still inside its supply-chain age window. Install the current version explicitly:

dsh plugin --profile web add @lovedolove/veyra@0.3.1

Then just work. At the end of a turn that produced something durable, Veyra stores it. At the start of the next turn in the same workspace, it comes back.

Check it:

/veyra                  status for this workspace
/veyra recent           what was stored, including candidates
/veyra recall sqlite wal
/veyra inspect vey_…

Open /veyra in the DSH Web address bar to see the same memory as a graph.

The loop

   work happens
        │
        ▼
   observe ──► observation ──► write gate ──► derived memory
   (what changed,             (accept /        (recall-eligible)
    what passed,               merge /
    what was tried)            drop / defer)
        │                          │
        │                          ▼
        │                     SQLite + FTS5
        │                     one room per workspace
        ▼                          │
   next turn ◄── trust check ◄─────┘
              (fresh? contradicted? checkable?)

Four things make the loop honest:

  1. Capture needs evidence. Files that actually changed, tests that actually ran, a root cause that is actually stated.
  2. Learning needs durability. A one-off command is not a lesson.
  3. Recall needs relevance. Hybrid search over lexical, semantic, intent, and graph signals, with a visible score breakdown.
  4. Reuse needs freshness. Code that moved demotes the memory that describes it.

Two layers, one rule

LayerAnswersSource of truth
Veyra MemoryWhat did we learn the hard way?Accumulated evidence, per workspace
Code IntelligenceWhat is the code right now?The live repository AST

Code Intelligence is optional and lives in a separate plugin. It can mark a memory stale. It can never overwrite one.

The rule in both directions: repository truth wins. A memory that says the code does something is a claim to verify, not a fact to act on.

Memory rules

WhatAuthorityAuto-recalled
Auto-captured observationcandidateno
Learned or explicitly remembered lessonderivedyes
Explicitly promoted truthcanonicalyes

Similarity is not identity, so overlapping memories are linked, not merged. Similarity is not authority, so a good match never promotes a record.

Documentation

DocumentWhat it covers
Documentation indexEvery document, grouped by audience
Whitepaper · 简体中文Vision, design principles, architecture, core concepts, technical design, future direction
Memory modelAuthority, validation, kinds, causal facets, lifecycle, trust, rooms and promotion
ToolsAll eleven tools, their parameters, and the three bundled skills
CommandsEvery /veyra command, including the Observatory
ConfigurationSettings, environment variables, storage layout, reset
Code IntelligenceThe optional structural layer, install, degradation, freshness
TroubleshootingSymptom, cause, fix
BenchmarkThe measured 45-dimension harness and what each number means
Architecture graphContracts, rejections, and the standing design boundary
CHANGELOG.mdEvery released version and what changed in it
Retrieval effectivenessThe goal, the experiment, and the record of what the retrieval work proved
ContributingHow to report, propose, verify, and land a change
Security policySupported versions, what is stored, what is redacted, the threat model
AGENTS.mdEntry point for agents working on Veyra itself

Requirements

Node>=22.12.0 <25.0.0 (node:sqlite, plus the unflagged require(esm) the bridge uses)
DSH>=0.1.2-rc.1 <0.3.0-0
Storagenode:sqlite + FTS5, under $DSH_HOME/veyra/ or $VEYRA_HOME
Runtime dependencyNone required. Codebase Memory is an optional peer

Installed per profile (web, tui, …). The Network Graph needs the web surface.

What is measured, and what is not

Measured: the memory loop closes. A recall dispatch is observable, repeated recall is bounded, a restated root cause merges, and capture stops inventing evidence. The suite is 1173 tests, and the benchmark harness re-asserts its own table on every run.

Not measured: whether an agent with Veyra completes real tasks faster or better than one without. That needs a paired experiment, and the repo says so instead of implying otherwise. The whitepaper keeps design goals, implemented behaviour, verified behaviour, and unproven claims in separate sections.

Development

npm test               # node --test test/*.test.mjs
npm run pack:check     # what would be published

CI runs both on Node 22 and 24. See AGENTS.md for the rules that apply to changes here.

License

MIT. See LICENSE and THIRD_PARTY.md.

Veyra is pre-1.0. The command surface and APIs may still change between minor versions.

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/LoveDoLove/Veyra)