POST /v1/acme/recall
{
"query": "Where does Maya live now?",
"as_of": "2026-06-30",
"budget": { "tokens": 1500 },
"include": { "history": true,
"explain": true }
}
// the principal comes from your API key,
// never from the request body
from smartware import Smartware
mem = Smartware(tenant="acme", key="…")
pack = mem.recall(
"Where does Maya live now?",
as_of="2026-06-30",
budget=1500,
)
prompt = pack.render() # drop into context
{
"mcpServers": {
"smartware": {
"command": "smartware",
"args": ["mcp"]
}
}
}
// tools: recall, remember, forget, profile,
// history, feedback, reflect
currentfact · 12 May 2026 · slack #growth
Maya: I moved to Lisbon last month. (last month = April 2026)
supersededfact · valid until Apr 2026
Maya lives in Paris. → replaced by the Lisbon fact above
event12 May 2026 · same thread
Sam: Nice! Is the Lisbon office open yet? · reply kept with its question
keywordmeaningthreadtime