Skip to main content
Work memory records what you learned while using the graph. It is an optional layer over graph exploration, not a replacement for current source evidence.

Save a result

Use useful, dead_end, or corrected for the outcome. Replace the example with findings you actually verified in your project.

Reflect on prior results

The default lessons file is under graphify-out/reflections/LESSONS.md. To relate lessons to the current graph:
This can produce a learning overlay that marks nodes as preferred, tentative, or contested. Query and explain output can show lesson hints, including a prompt to re-verify when source has changed.

Keep lessons grounded

A previously useful answer can become stale. Record the nodes involved, keep outcomes specific, and check the current source before using a lesson to justify a change. Share memory files only with people who can access their underlying source context.

Run it on a real repository

These examples come from a code-only graph of the open-source httpx repository, built with Graphify Local 0.9.97. Your counts will differ.
The first lines of the generated LESSONS.md:
With a single memory, the Lessons section reads “No marked outcomes yet”. A node becomes preferred only once enough distinct useful results agree; see --min-corroboration below.

Flags

What a saved result looks like

Each save-result writes a Markdown file with YAML frontmatter, so it’s easy to read, diff and grep:
To record a wrong lead, save it with --outcome dead_end. To record a fix, use --outcome corrected --correction "...". The next reflect run counts both.

FAQ

Does reflect use an LLM? No. The output is deterministic: the same memories give the same file. Where do memories live? As Markdown files under graphify-out/memory/. You can read them, diff them or delete them like any other file. Should I commit them? That’s up to you. They’re plain files, so they can go through review like code.

Next steps

Try it in Graphify

We build and host the graph for you. Start with a 14-day Pro trial, then keep up to 3 repositories on Free. No card required.

Agent memory

Memory your agents share in a Cloud workspace.

Export and reuse your graph

Turn the graph into HTML, JSON, and more.