Memory for coding agents

Keep project decisions across coding sessions.

Your agent starts a new session. Your project decisions shouldn’t start over. Lore keeps searchable history and rules you can review.

Works with
  • Claude Code
  • Codex
  • OpenCode
  • Pi
  • Hermes

The quest journal

One decision. Remembered next session.

Try the selection process: conversation → saved rule → a later task. A fictional project.

Webhook service / project journal

You explain a project decision.

You · Webhook delivery

“Check whether an event was already handled before applying it. Reuse our event-id check when the provider delivers it twice.”

What stays out of project knowledge

“The local server is on port 4330 for this test. Restart it after changing the fixture.”

A temporary test port is not a project convention.

Lore keeps the useful project rule.

Curated in the background. Review the source or Markdown below.

Decision

Keep handlers idempotent

Check the event ID before applying a webhook. Reuse the existing duplicate-event guard so repeated deliveries never apply the same change twice.

Review the .lore.md excerpt
### Decision
* **Keep handlers idempotent**: Check the event ID before applying a webhook. Reuse the existing duplicate-event guard so repeated deliveries never apply the same change twice.
Where it came from

Session 12 · webhook delivery

“Keep webhook handlers idempotent. The provider can deliver the same event twice. Reuse the event-id check that’s already there.”

Pattern

Reuse the settings form

Use the existing settings form and its validation pattern when adding a preference. Keep validation messages beside the field they describe.

Review the .lore.md excerpt
### Pattern
* **Reuse the settings form**: Use the existing settings form and its validation pattern when adding a preference. Keep validation messages beside the field they describe.
Where it came from

Session 09 · notification settings

“For the new notification preference, follow the current settings form. Put validation beside the field, like the other preferences.”

Gotcha

SQLite allows one writer

Batch imported records in a transaction and serialize writes. Starting concurrent write transactions can produce SQLITE_BUSY during a larger import.

Review the .lore.md excerpt
### Gotcha
* **SQLite allows one writer**: Batch imported records in a transaction and serialize writes. Starting concurrent write transactions can produce SQLITE_BUSY during a larger import.
Where it came from

Session 07 · data import

“The import hit SQLITE_BUSY when we ran all writers at once. Batch the records and serialize the writes.”

The next task gets relevant knowledge.

Choose a task to see which rule is relevant.

What are you working on?

Included for this task

Keep handlers idempotent

“I’ll reuse the event-id guard before adding retry handling, so a repeated delivery won’t apply the change twice.”

Why this rule: This task changes webhook delivery, so the duplicate-event rule is relevant.

Source · Session 12 · webhook delivery

Included for this task

Reuse the settings form

“I’ll follow the current settings form and keep the new field’s validation inline, consistent with the other preferences.”

Why this rule: This task adds a preference, so the existing form and validation convention are relevant.

Source · Session 09 · notification settings

Included for this task

SQLite allows one writer

“I’ll batch records in a transaction and serialize writes. Running the import writers concurrently previously caused SQLITE_BUSY.”

Why this rule: This task changes imports, so the earlier SQLite write failure is relevant.

Source · Session 07 · data import

Other entries remain available. The temporary test port stays out of this task’s project knowledge.

Explore saved knowledge 3 example entries
Knowledge inventory

Choose an entry to inspect its rule and source.

Inside the local app

Check what your agent will rely on.

View app tour
webhook-service / Knowledge
Explore project memory
Actual Lore app showing a sample saved project rule, its source session and recorded revisionsActual Lore app showing a sample saved project rule, its source session and recorded revisionsActual Lore app showing a sample saved project rule, its source session and recorded revisionsActual Lore app showing a sample saved project rule, its source session and recorded revisionsActual Lore app showing a sample saved project rule, its source session and recorded revisionsActual Lore app showing a sample saved project rule, its source session and recorded revisions

01 / Rule

Keep handlers idempotent

Read the saved rule and correct it when the project changes.

Review the source and recorded revisions before relying on an entry.

Inspect the rule in the full tour

02 / Source

Follow the source session

Source session
sample-session

The source session is available; exact-message attribution is not recorded.

Inspect the source in the full tour

03 / History

See which version is current

v2
Current
v1
Superseded

Two versions are recorded in this sample.

Inspect the history in the full tour
Read-only app preview · sample webhook project · select to enlargeOpen original app capture Open original app capture

In your everyday work

Your next step, when you need it.

Available now: local session memory, reviewable knowledge, and sharing through Git.

Before you install

A few practical questions.

Do I need a different coding agent?

No. Lore supports existing clients including Claude Code, Codex, OpenCode, Pi, and Hermes. Follow the guide for your client; desktop apps and terminal launchers have different setup paths. Choose your setup.

Where does my data go?

Memory is stored locally in SQLite and Markdown. Agent requests and Lore’s background LLM work use your configured providers. Production builds send privacy-filtered operational telemetry, which you can disable. Read the telemetry and storage details.

Will a knowledge file appear after one message?

Not necessarily. Distillation and curation run in the background and depend on available conversation and configuration. Check recorded sessions in the local browser first, then review any knowledge Lore extracts. Follow the knowledge checklist.

Does local Lore include live team sync?

Git-based knowledge sharing is available today. Folk Lore’s hosted team experience is in early access; you can join its interest list on the Why Lore page. It does not enable sync.

Something missing? Check a missing session or check your gateway.

Your next chapter

Pick up where you left off.

Connect your coding agent, then verify your first recorded session.

Connect your agent