Skip to main content

Operations

Background tasks that Hindsight executes asynchronously.

Prerequisites

Make sure you've completed the Quick Start and understand how retain works.

How Operations Work

Hindsight processes several types of tasks in the background to maintain memory quality and consistency. These operations run automatically—you don't need to trigger them manually.

By default, all background operations are executed in-process within the API service.

Kafka Integration

Support for external streaming platforms like Kafka for scale-out processing is planned but not available out of the box in the current release.

Operation Types

OperationTriggerDescription
batch_retainretain_batch with async=TrueProcesses large content batches in the background
form_opinionAfter each reflect callExtracts and stores new opinions formed during reflection
reinforce_opinionAfter retainUpdates opinion confidence based on new supporting evidence
access_count_updateAfter recallTracks which memories are accessed for relevance scoring
regenerate_observationsBank profile updateRegenerates entity observations when disposition changes

Next Steps