GetMetrics
Returns a point-in-time snapshot of the memory substrate’s health and behavioural metrics. The response payload is a JSON-encodedSnapshot object.
This method takes no input parameters:
Response fields
RFC 3339 timestamp when the snapshot was collected.
Total number of records in the store across all memory types.
Count of records broken down by memory type.
Mean salience across all records. Range [0, 1].
Mean confidence across all records. Range [0, 1].
Count of records in each salience bucket.
Number of records with salience greater than 0.
Number of records marked as pinned (exempt from automatic decay and pruning).
Total number of audit log entries across all records.
Fraction of records created in the last 24 hours:
recent_records / total_records. Indicates how rapidly new memory is being accumulated.Ratio of
reinforce audit actions to total audit entries: reinforce_count / total_audit_entries. Measures how often retrieved records are marked as useful.Average
success_rate across all competence records that have performance data. Indicates how reliably the agent’s learned procedures succeed.Average
execution_count across all plan graph records that have metrics. Higher values indicate plans are being discovered and reused rather than recreated.Fraction of audit entries that are revisions (
revise, fork, or merge actions): revision_count / total_audit_entries. Indicates how actively knowledge is being updated.Metric descriptions
| Metric | Description |
|---|---|
memory_growth_rate | Fraction of records created in the last 24 hours |
retrieval_usefulness | Ratio of reinforce actions to total audit entries |
competence_success_rate | Average success rate across competence records |
plan_reuse_frequency | Average execution count across plan graph records |
revision_rate | Fraction of audit entries that are revisions (supersede, fork, merge) |