Who it is forA support or operations team lead whose chatbot answers questions about past customer interactions and must not invent details when nothing was recorded.
The problemMost memory systems always return the closest match, so an assistant can confidently answer from unrelated text.
The outcomeWhen the memory has no matching fact, the recall comes back empty, and the agent can tell the user that the answer was not recorded.
What you need first
- Python with pip available
- An OpenAI API key, or an OpenAI-compatible provider with OPENAI_BASE_URL set
- Network access to download the demo_codebook.xml file from GitHub
- Conversation text you are allowed to store in a local memory file
Steps
- Install the library:
python -m pip install memoket-kite - Set your key, replacing the placeholder with your own:
export OPENAI_API_KEY="sk-..." - Create the artifacts folder:
mkdir -p artifacts - Download the demo file:
curl -fsSL https://raw.githubusercontent.com/memoket/memoket-kite/main/examples/data/demo_codebook.xml -o artifacts/quickstart.xml(inferred, check the README) - In Python, load the memory with Memory.load("artifacts/quickstart.xml"), then loop over memory.recall("<question never stored>") and count the facts returned.
- If the list is empty, make the agent reply that the information was not recorded instead of producing an answer.
Prompt for your agent
Use the memoket-kite repo's Python API. Load artifacts/quickstart.xml and run memory.recall on <question> that was never stored. Expected output: an empty result list, and the agent replies that the answer was not recorded. Verify the result list has zero items before the agent makes any claim.
Caveat. The README describes the empty result behavior, but it does not say how a caller should word the reply to the user, so that wording is up to your agent.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for memoket/memoket-kite and "Stop assistants from guessing answers never stored"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer