Skip to content

remember

Store a new memory in Engram. The content is embedded semantically, enabling recall by meaning rather than exact keywords.

ParameterTypeRequiredDescription
contentstringYesThe memory content to store
projectstringNoProject scope (defaults to current project)
topicstringNoTopic category for organization
importancenumberNoBoost recall ranking (1-5, default: 3)
parent_idnumberNoID of parent memory (creates part_of edge)
is_privatebooleanNoIf true, never synced to team graph
sourcestringNoWhere the memory came from (e.g., “conversation”, “code-review”)
expires_in_daysnumberNoAuto-expire from recall after N days
forcebooleanNoStore even if near-duplicate detected

Returns the new memory’s ID and any duplicate detection warnings.

{
"content": "API uses JWT tokens with 15-minute expiry",
"project": "my-project",
"topic": "architecture"
}
{
"content": "My personal debugging shortcut: breakpoint at auth.ts:42",
"project": "my-project",
"is_private": true
}
{
"content": "JWT signing uses RS256 with keys in AWS KMS",
"parent_id": 42,
"project": "my-project"
}

Engram checks for near-duplicates using embedding distance and term overlap. If a duplicate is found, you’ll see the existing memory and suggestions to update instead. Use force: true to store anyway.

  • recall — Find memories by meaning
  • update — Modify an existing memory
  • connect — Link memories together