All projects

A knowledge base AI agents learn from

Memory for agents

Every mistake that once cost me a session becomes a rule AI agents read before they start work. The picture shows all of that memory at once: 2789 notes in 47 vaults.

Role
Design, rules and tooling, solo. It grows with every session.
Stack
  • Claude Code
  • Markdown
  • Obsidian
  • Node.js
  • PowerShell
  • Git
Access
Private tool, code in a private repository.
Memory for agents website

Problem

An AI agent starts every session from scratch. Without memory it repeats the same mistakes: the wrong shell, a forgotten cache, a test that passes for the wrong reason. I needed a trap found once to stay found.

What I built

  • A general vault, Wiedza: one lesson per file with what happened, why and how to apply it, plus domain indexes the agent reads before changing anything in that area.
  • A vault for every project with a plan and a session log, so the next session, even on the other computer, starts from the current state instead of from questions.
  • Claude Code hooks that block known mistakes before they happen, each with a test.
  • One graph view of every vault, built from links rather than copies of the notes.

By the numbers

notes in one graph, 1968 of them mine
2789
lessons in the general Wiedza vault
831
commits to Wiedza since 23 September
499
hooks keeping agents in check
10

Decisions that mattered

A rule a machine can check goes into code

An agent can skip a lesson that only lives in text. If it can be checked automatically, it goes into a hook that blocks the command and a test with a negative control that stays red without the fix.

Separate vaults, one view

A session on a project reads only that project's vault, not thousands of unrelated notes, so it costs less and contexts don't mix. The full graph is built from links to the originals, so nothing drifts.

No labels in the screenshot

Note names reveal clients and private projects, so the graph ships without labels. The big orange cloud is LihFolk, an open vault about Roblox games (821 notes) that I added to my knowledge.