<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il" -->

---
title: Building Self-Correcting Memory in OpenWiki | daily.dev
description: OpenWiki now tracks individual factual claims in generated wiki pages alongside the code evidence that supports them, versioning that evidence so it can detect...
canonical: https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building Self-Correcting Memory in OpenWiki | daily.dev
og:description: OpenWiki now tracks individual factual claims in generated wiki pages alongside the code evidence that supports them, versioning that evidence so it can detect...
og:url: https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il
og:image: https://api.daily.dev/og/posts/x4CQkT7il.png
og:image:alt: Building Self-Correcting Memory in OpenWiki
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building Self-Correcting Memory in OpenWiki

**[LangChain](https://daily.dev/sources/langchain)** · 7 min read · 0 upvotes · 0 comments

## Summary

OpenWiki now tracks individual factual claims in generated wiki pages alongside the code evidence that supports them, versioning that evidence so it can detect when the underlying source has changed. When evidence changes, claims are flagged stale rather than assumed correct, and future updates re-verify or correct them instead of regenerating the wiki from scratch. This staleness check is deterministic and model-free, so cost scales with how much code changed rather than how many claims exist. An evaluation replaying git history showed stale claims dropping from 80 to 9 and hallucinated claims from 15 to 0 compared to a baseline without the claims runtime. The claims system also feeds into Open Knowledge Format (OKF) v0.2, adding sources, generated, and verified metadata to pages. OpenWiki 0.4.0 ships this claims runtime and migrates existing wikis to OKF v0.2 automatically.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.langchain.com/blog/self-correcting-memory-openwiki>

## Questions this post answers

### What does OpenWiki 0.4.0 change about how the wiki handles outdated documentation?

OpenWiki 0.4.0 introduces a claims runtime that links each factual statement in a generated wiki page to the code evidence supporting it, versioning that evidence so changes to the source flag the claim as stale. Upgrading to 0.4.0 automatically begins generating these claims and migrates existing wikis to Open Knowledge Format v0.2 on the next update.

_daily.dev helps teams tracking AI documentation tooling releases like this stay ahead of drift and stale docs._

### How much did OpenWiki's claims runtime reduce stale and hallucinated claims in testing?

In an evaluation that replayed a code repository through a series of git commits with wiki updates at each checkpoint, stale claims fell from 80 in the baseline to 9 with the claims runtime, and hallucinated claims fell from 15 to 0. In one run, a change left 17% of claims stale at one checkpoint, but by the next checkpoint stale claims returned to 0% and supported claims recovered from 77% to 98%.

_Anyone evaluating agent memory reliability can compare benchmarks like this one on daily.dev before picking a tool._

### What is Open Knowledge Format (OKF) v0.2 and how does OpenWiki use it?

OKF v0.2 is a portable metadata format that makes a wiki page's provenance and verification status inspectable outside OpenWiki. OpenWiki projects claim evidence into each page's OKF sources metadata, records the producer that last changed the page body via generated, and adds verified only after the page's full claim set has been reconciled and rechecked, with the root index declaring okf_version 0.2.

_daily.dev surfaces emerging standards like OKF for developers building on portable documentation formats._

## Similar posts on daily.dev

- [How to build evidence-grounded agent memory with OpenWiki and Graphs](https://daily.dev/posts/how-to-build-evidence-grounded-agent-memory-with-openwiki-and-graphs-3zh6ayksv) · LangChain · 0 upvotes · 0 comments
- [Using OKF to provide long term context to your agent](https://daily.dev/posts/using-okf-to-provide-long-term-context-to-your-agent-9rqtpfok6) · iO tech\_hub · 10 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#rag](https://daily.dev/tags/rag)

[View this post on daily.dev](https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building Self-Correcting Memory in OpenWiki","url":"https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il"},"datePublished":"2026-08-25T15:14:10.126Z","dateModified":"2026-08-27T17:34:56.563Z","description":"OpenWiki now tracks individual factual claims in generated wiki pages alongside the code evidence that supports them, versioning that evidence so it can detect...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eabfdd41d2b40fe4ef4e7822689fcec1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/eabfdd41d2b40fe4ef4e7822689fcec1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"LangChain","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LangChain","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0f4f2629e0724a849823f8cd0d913e13","url":"https://daily.dev/sources/langchain"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,rag","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LangChain","item":"https://daily.dev/sources/langchain"},{"@type":"ListItem","position":3,"name":"Building Self-Correcting Memory in OpenWiki"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/building-self-correcting-memory-in-openwiki-x4cqkt7il#faq","mainEntity":[{"@type":"Question","name":"What does OpenWiki 0.4.0 change about how the wiki handles outdated documentation?","acceptedAnswer":{"@type":"Answer","text":"OpenWiki 0.4.0 introduces a claims runtime that links each factual statement in a generated wiki page to the code evidence supporting it, versioning that evidence so changes to the source flag the claim as stale. Upgrading to 0.4.0 automatically begins generating these claims and migrates existing wikis to Open Knowledge Format v0.2 on the next update. daily.dev helps teams tracking AI documentation tooling releases like this stay ahead of drift and stale docs."}},{"@type":"Question","name":"How much did OpenWiki's claims runtime reduce stale and hallucinated claims in testing?","acceptedAnswer":{"@type":"Answer","text":"In an evaluation that replayed a code repository through a series of git commits with wiki updates at each checkpoint, stale claims fell from 80 in the baseline to 9 with the claims runtime, and hallucinated claims fell from 15 to 0. In one run, a change left 17% of claims stale at one checkpoint, but by the next checkpoint stale claims returned to 0% and supported claims recovered from 77% to 98%. Anyone evaluating agent memory reliability can compare benchmarks like this one on daily.dev before picking a tool."}},{"@type":"Question","name":"What is Open Knowledge Format (OKF) v0.2 and how does OpenWiki use it?","acceptedAnswer":{"@type":"Answer","text":"OKF v0.2 is a portable metadata format that makes a wiki page's provenance and verification status inspectable outside OpenWiki. OpenWiki projects claim evidence into each page's OKF sources metadata, records the producer that last changed the page body via generated, and adds verified only after the page's full claim set has been reconciled and rechecked, with the root index declaring okf_version 0.2. daily.dev surfaces emerging standards like OKF for developers building on portable documentation formats."}}]}
```

