explaingit

himanshu748/mnemo

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5Setup · moderate

TLDR

A Slack app that gives a chatbot budget-aware long term memory, with conflict detection and an MCP server so coding assistants can share the same memory.

Mindmap

mindmap
  root((Mnemo))
    What it does
      Budget-aware recall
      Conflict detection
      Sleep consolidation
    Tech stack
      Python
      Slack Bolt
      MCP
    Use cases
      Team memory bot
      Shared coding assistant memory
    Audience
      Slack teams
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Give a Slack workspace a bot that remembers team facts over time

USE CASE 2

Detect when two people report conflicting information in Slack

USE CASE 3

Share personal memory between Slack and an MCP-compatible coding assistant

What is it built with?

PythonSlack BoltDockerGeminiMCP

How does it compare?

himanshu748/mnemo0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs a Slack app with Socket Mode tokens and a free Gemini API key, or another OpenAI-compatible LLM endpoint.

In plain English

Mnemo is a Slack app built to give a chatbot actual long term memory instead of forgetting everything between conversations. It was built for a Slack hackathon focused on the platform's AI Assistant features. The core idea is that Mnemo treats memory like a limited budget rather than an ever growing pile: it recalls only the small set of facts that matter for a given question, tracks how many tokens of context that recall costs, and periodically runs a background pass that merges related memories into more durable facts while letting unimportant details fade away over time. Inside Slack, people can talk to Mnemo directly through the AI Assistant pane, save a fact explicitly with a slash command, check what it would recall about a topic, trigger the memory cleanup pass manually, or save any message to memory from a message's menu. Mnemo can also be added to a channel, where its memory is shared across everyone in that channel rather than kept private, unlike direct messages, which stay personal to each user. One notable feature is how Mnemo handles memories that contradict each other, such as two people stating different meeting times. Rather than quietly averaging or picking one, it flags the conflict to the channel and asks the team to confirm which fact is correct. The same memory store can also be reached outside Slack. Mnemo runs an MCP server, a standard way for AI coding tools like Claude Desktop or Claude Code to connect to external data, so a user's personal memory can be reused inside their coding assistant after generating a one time access token inside Slack. Under the hood, the memory engine is written in pure Python with no dependency on Slack itself, while a thin Slack app layer and the MCP server sit on top of it. It uses a pluggable language model, defaulting to Google's free Gemini tier, and includes an offline fallback mode so the whole system can run and be tested without any API key at all.

Copy-paste prompts

Prompt 1
Help me deploy Mnemo to Slack using the manifest in slack_app/manifest.yaml.
Prompt 2
Explain how Mnemo's budget-aware recall picks which memories to use in a reply.
Prompt 3
Show me how to connect Mnemo's memory to Claude Code using the /mnemo-token command.
Prompt 4
Walk me through what happens during Mnemo's /sleep consolidation pass.

Frequently asked questions

What is mnemo?

A Slack app that gives a chatbot budget-aware long term memory, with conflict detection and an MCP server so coding assistants can share the same memory.

What language is mnemo written in?

Mainly Python. The stack also includes Python, Slack Bolt, Docker.

How hard is mnemo to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is mnemo for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.