{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "memoket-memoket-kite--answer-current-account-owner-with-sources",
 "repo": "memoket/memoket-kite",
 "repo_url": "https://github.com/memoket/memoket-kite",
 "repo_slug": "memoket-memoket-kite",
 "title": "Answer who owns a client account now, with sources",
 "page_title": "How to answer who owns a client account now, with sources with Memoket Kite",
 "summary": "Store dated client messages and get the current answer with the exact lines it rests on.",
 "who": "An account manager or sales developer whose AI agent must say who is the decision-maker on an account as of today, after several changes over months.",
 "problem": "Nearest-match memory returns an old statement that sounds relevant, such as the first owner, and gives no date or reason, so the agent gives a stale answer.",
 "outcome": "The agent returns the current answer with each supporting moment, showing who said it and when, so a person can check it quickly.",
 "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, call Memory.load(\"artifacts/quickstart.xml\"), then memory.remember([{\"role\": \"user\", \"content\": \"<client message>\"}], session_id=\"<session id>\") for each dated client message.",
  "Call memory.answer_with_evidence(\"Who is the decision-maker on <account> now?\") and print result.text and each fact.sources."
 ],
 "agent_prompt": "Use the memoket-kite repo's Python API. Load artifacts/quickstart.xml, store each stored message about <client account> with remember, then call answer_with_evidence on \"Who owns <client account> now?\" Expected output: the current owner's name plus the source lines with their dates. Verify that the most recent dated source supports the answer before you report it.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says integrations with Claude Code, Codex, Cursor, and OpenCode are on the roadmap, so agents use KITE through the Python API today.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The setup puts your OpenAI API key in an environment variable, so keep it out of shared logs and scripts you publish."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/memoket-memoket-kite/answer-current-account-owner-with-sources/",
 "md": "https://dedupedai.com/use-cases/memoket-memoket-kite/answer-current-account-owner-with-sources/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/memoket-memoket-kite--answer-current-account-owner-with-sources.json",
 "api_version": "v1"
}
