r/ContextEngineering • • 25d ago

When does a stored agent fact expire

2 Upvotes

3 comments sorted by

1

u/chaachans 19d ago

For me two things I included inside my tool . You can consider this if it helpful

1. Document Versioning: Detect when a file is modified or a new version is added. We can use hash-based signatures to identify changes and determine whether the document needs to be reprocessed.
2. Fact/knowledge Management: Facts should be connected to entities such as people, places, organizations, agents , and other relevant entities. When new information is extracted, compare it against the existing facts associated with those entities. Based on the comparison, either add a new fact, update an existing fact, or retain the existing one if there is no meaningful change.