{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "tencentcloud-octop-memory--serve-memory-to-other-language-agents",
 "repo": "TencentCloud/octop-memory",
 "repo_url": "https://github.com/TencentCloud/octop-memory",
 "repo_slug": "tencentcloud-octop-memory",
 "title": "Expose memory to agents in other languages over JSON-RPC",
 "page_title": "How to expose memory to agents in other languages over JSON-RPC with Octop Memory",
 "summary": "Run the stdio bridge so a non-Python agent can read and write the same memory.",
 "who": "A platform engineer whose agent runs in another language and needs to share the Python memory runtime through a separate process.",
 "problem": "The agent host cannot import the Python library directly, so memory is unavailable to it.",
 "outcome": "The host talks to the memory runtime over stdio JSON-RPC and can capture, recall, and search memory.",
 "steps": [
  "Run `pip install octop-memory`",
  "Start the `octopmemory-bridge` entry point as a subprocess and connect to its stdio stream (inferred, check the README)",
  "Send a JSON-RPC request from the host to capture a turn",
  "Send a JSON-RPC recall request with a query",
  "Check that the response contains the text you captured"
 ],
 "agent_prompt": "Use the octop-memory repo to start the octopmemory-bridge process for the host <host name> and send one capture and one recall request for the query <query>. Return the recall response. Verify that the captured text appears in the recall response.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README documents the bridge entry point but not its request method names, so take the exact JSON-RPC methods from the integration guide before you send requests.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.12 or newer",
  "pip to install the octop-memory package",
  "A database path for local SQLite storage, or a PostgreSQL DSN for server deployments",
  "An injected LLMClient only if you want automated extraction, promotion, or page regeneration; manual storage and lexical recall work without a model"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "If the bridge points at PostgreSQL, the DSN contains database credentials, so load it from deployment configuration rather than hard-coding it."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tencentcloud-octop-memory/serve-memory-to-other-language-agents/",
 "md": "https://dedupedai.com/use-cases/tencentcloud-octop-memory/serve-memory-to-other-language-agents/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/tencentcloud-octop-memory--serve-memory-to-other-language-agents.json",
 "api_version": "v1"
}
