What do you want to do?
4 use cases
-
Keep an assistant's preferences across sessions locally
Store user preferences in a local SQLite file and recall them in later sessions.
- REPO
TencentCloud/octop-memory - Personal productivity
- Intermediate
View prompt
Use the octop-memory repo to store the preference <preference text> in a local SQLite file at ./demo.sqlite under namespace demo. Then recall it with the query <query term> and return the rendered result. Verify that the returned text contains the stored preference.
- REPO
-
Move accumulated agent memory to another host
Pack memory from one supported host into a portable package and adopt it on another.
View prompt
Use the octop-memory repo to list memory sources, pack the memory of <source host> into a .hmpkg file at <output path>, and adopt it on <target host>. Report the output of the portable doctor check and confirm that the package is not added to source control.
-
Add capture and recall to a custom Python agent
Call MemoryService from your own agent loop to capture turns and recall context.
- REPO
TencentCloud/octop-memory - Personal productivity
- Intermediate
View prompt
Use the octop-memory repo to wire MemoryService into the agent in <project path> with the SQLite database at <db path>. Run one captured turn and one recall with the query <query>, then return result.rendered. Verify that the recall output includes the text from the captured turn.
- REPO
-
Expose memory to agents in other languages over JSON-RPC
Run the stdio bridge so a non-Python agent can read and write the same memory.
View 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.
Quick start with Octop Memory
- Check you have what it needs: 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.
- Open TencentCloud/octop-memory on GitHub and read the README and license.
- Run
pip install octop-memory - Run
pip install "octop-memory[cli]"to add the command line tool - Create a Memory object with namespace="demo" and backend_config={"db_path": "./demo.sqlite"}, then call memory.store("User prefers Python for backend services", topic="preferences")
- Run
octop-memory --db ./demo.sqlite --namespace demo recall "Python"to confirm the stored preference is found
These steps come from our top use case, Keep an assistant's preferences across sessions locally, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for TencentCloud/octop-memory
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 freeOctop Memory alternatives · Best AI repos for Personal productivity
About this repo
- Who it is forPython developers building or configuring a personal assistant or custom agent who need preferences and project context to survive across sessions.
- Why it is hot77 stars, launched 30 days ago, picked up by one AI source we track
- LanguagePython
- Sourcegithub.com/TencentCloud/octop-memory · Back to Hot repos
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
Add this badge to your README
Maintain Octop Memory? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/tencentcloud-octop-memory/?utm_source=github&utm_medium=badge&utm_campaign=TencentCloud-octop-memory)
HTML
<a href="https://dedupedai.com/use-cases/tencentcloud-octop-memory/?utm_source=github&utm_medium=badge&utm_campaign=TencentCloud-octop-memory"><img src="https://dedupedai.com/badge/TencentCloud/octop-memory.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Octop Memory
What is Octop Memory?
Octop Memory is a Python library, CLI, and JSON-RPC bridge that gives LLM agents persistent, portable memory backed by SQLite or PostgreSQL. It is an open-source project on GitHub: https://github.com/TencentCloud/octop-memory.
Who is Octop Memory for?
Python developers building or configuring a personal assistant or custom agent who need preferences and project context to survive across sessions.
What can I do with Octop Memory?
4 use cases so far, for example: Keep an assistant's preferences across sessions locally; Move accumulated agent memory to another host; Add capture and recall to a custom Python agent. Each has steps and a copy-paste agent prompt.
What do I need to run Octop Memory?
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.
What are alternatives to Octop Memory?
Other hot AI repos in Personal productivity: Infomarchy, DeepSeek Harness Genui, Better AI Chat, Speak Like You Eat, Openhistory.
Is Octop Memory safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.