DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build an assistant that remembers users across sessions with Octop Harness

Keep strong memory and a user profile that persist across sessions and can be saved on request.

Short answer: Install Octop Harness and create a workspace with octop-harness init (inferred command); then open MEMORY.md and USER.md in the workspace and add your own notes, since manual edits apply to new sessions; start an interactive chat with the CLI (inferred: octop-harness chat). All steps.

Credentials. Memory captures eligible conversation content, so avoid saving secrets or private identifiers into MEMORY.md, USER.md, or chat.

Who it is forA team building a support or personal assistant that must recall user preferences and facts from earlier conversations.

The problemChat assistants lose context between sessions, so users repeat preferences and the agent cannot build on past work.

The outcomeAn agent that loads MEMORY.md and USER.md at session start, saves explicit remember requests with memory_save, and retrieves past history with memory_search.

What you need first

  • Python 3.12 or newer
  • An API key for at least one model provider (OpenAI, Anthropic, AWS Bedrock, or an OpenAI-compatible endpoint)

Steps

  1. Install Octop Harness and create a workspace with octop-harness init (inferred command). (inferred, check the README)
  2. Open MEMORY.md and USER.md in the workspace and add your own notes, since manual edits apply to new sessions.
  3. Start an interactive chat with the CLI (inferred: octop-harness chat). (inferred, check the README)
  4. Ask the agent to remember a preference, which it saves through memory_save.
  5. Start a new session and ask a question that depends on that preference, then check that the answer uses the saved fact.

Prompt for your agent

In the TencentCloud/octop-harness repo, set up a workspace at <workspace path> and add the user preference <preference> to USER.md. Start a new session and ask <question>. Verify the reply uses the saved preference.

Caveat. The README says agent file tools cannot edit MEMORY.md or USER.md, so changes to those files must be made by you or a host-provided editor.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for TencentCloud/octop-harness and "Build an assistant that remembers users across sessions"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer