Overview
Beacon memory is an opt-in, local-first learning loop built on Beacon’s existing cross-harness trace capture. Beacon already records normalized agent activity across Claude Code, Cursor, Codex, OpenCode, and other supported harnesses. The memory workflow lets you explicitly evaluate selected traces, review high-signal candidates, approve them into project memory, and expose approved knowledge back to future agents through MCP or Agent Skills. Nothing in this workflow runs from hooks. Normal endpoint capture stays local and does not call Jev or any other external evaluator.Workflow
The loop is:- Capture traces from local agent harnesses.
- Run
beacon memory evaluations runon selected traces. - Review generated candidates with
beacon memory candidates. - Approve candidates into project memory.
- Reuse approved memory through Beacon MCP or install it as an Agent Skill.
Jev evaluation
beacon memory evaluations run can call TypeSafe Jev’s System One API with a
bounded, redacted trace projection. Beacon sends typed yes/no questions such as:
- Did the trace complete the engineering task successfully?
- Does the trace contain a reusable correction or debugging pattern?
- Is the reusable lesson supported by concrete trace evidence?
--dry-run first to preview selected traces and estimated calls without making
a network request.
The evaluator uses the hosted TypeSafe endpoint and jev-latest by default. Set
TYPESAFE_API_KEY or BEACON_JEV_API_KEY for hosted evaluation, or pass
--jev-endpoint / BEACON_JEV_ENDPOINT and --jev-model / BEACON_JEV_MODEL
to target an internal compatible evaluator.
Local storage and scope
Learning artifacts are stored inmemory.db next to the endpoint runtime log base
directory. The database is durable local state, unlike the rebuildable trace index.
Approved memory is scoped to the resolved project. Cross-project or user-global
memory is not automatic. If you install a skill, Beacon writes it under the current
project’s .agents/skills/<slug>/SKILL.md.
Project scope is derived from the current working directory by default. Use
--project <path> when reviewing a trace for a different repository or when a
client needs to retrieve memory for a specific project.
Reuse surfaces
Beacon exposes approved memory in two local ways:beacon mcp serveprovidessearch_memory,get_memory, andget_memory_contextas read-only MCP tools.beacon memory skills preview|installrenders an approved candidate as an Agent Skill with Beacon provenance in the frontmatter.
Privacy boundary
- Hooks never call Jev.
- Dry runs do not call Jev.
- Jev calls are made only by the explicit
beacon memory evaluations runcommand. - Trace projections are bounded and redacted before being sent.
- Candidate approval and skill installation are explicit CLI actions.
- The dashboard’s Memory page is read-only; review transitions and skill writes stay in the CLI.
beacon memory evaluations run
or point it at an internal compatible evaluator.