whatisgithub

What is lethyx?

frontier-ai-next/lethyx — explained in plain English

Analysis updated 2026-05-18

16PythonAudience · developerSetup · moderate

In one sentence

A framework neutral memory layer that gives AI agent systems long-term memory: storing, linking, and recalling information across LangGraph, MCP, or custom Python agents.

Mindmap

mindmap
  root((repo))
    What it does
      Long term agent memory
      Remember recall forget
    Integrations
      LangGraph adapter
      MCP server for Hermes
      Plain Python agents
    Backends
      mempalace
      hindsight
      mnemosyne
    Audience
      Agent framework 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

Add long-term memory to a LangGraph agent so it recalls past decisions across sessions.

USE CASE 2

Run Lethyx as an MCP server so a Hermes based agent can remember, recall, and forget information.

USE CASE 3

Store and retrieve typed memory blocks in a plain Python agent without building a custom memory system.

What is it built with?

PythonLangGraphMCP

How does it compare?

frontier-ai-next/lethyx920linjerry-stack/capital-studioadya84/ha-world-cup-2026
Stars161616
LanguagePythonPythonPython
Setup difficultymoderateeasyeasy
Complexity3/52/5
Audiencedeveloperresearchergeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires choosing and configuring one durable backend, mempalace, hindsight, or mnemosyne, before use.

So what is it?

Lethyx is a memory system meant to be plugged into AI agent frameworks so that an agent can remember useful information over time instead of starting fresh in every conversation. Rather than building its own full agent platform, Lethyx focuses only on the memory part: storing pieces of information an agent learns, deciding what is worth keeping, linking related memories together, and retrieving the right pieces later when they are needed. It is designed to work alongside existing agent tools rather than replace them. The README mentions it can plug into frameworks like LangGraph, into MCP based servers such as Hermes, or into a REST service or a plain Python agent you have written yourself. Developers install it as a small Python package and interact with it through a client that offers simple actions: remember something, recall relevant memories for a task, forget something no longer needed, and build a package of context to feed into an agent's prompt. Under the hood, memories can be stored using one of a few different storage backends, referred to in the README as mempalace, hindsight, and mnemosyne, and a project can choose which one to use through an environment variable or a setting when creating the memory client. For teams building with Hermes specifically, Lethyx can run as its own small server that Hermes talks to over the MCP protocol, exposing tools like remember, recall, and forget that Hermes can call directly, and it can also be installed as a native memory provider for Hermes. The README describes the project as having recently finished separating itself out into its own standalone package, with a public client and a LangGraph style adapter already working, while further release work is still tracked separately. This makes it a piece of infrastructure aimed at developers already building agent systems who need a dedicated memory layer rather than something meant for a general audience.

Copy-paste prompts

Prompt 1
Show me how to install Lethyx and wire it into a LangGraph agent using the LangGraphMemoryAdapter.
Prompt 2
Explain the difference between the mempalace, hindsight, and mnemosyne backends in Lethyx.
Prompt 3
Walk me through running Lethyx as an MCP server for Hermes and calling the recall tool.

Frequently asked questions

What is lethyx?

A framework neutral memory layer that gives AI agent systems long-term memory: storing, linking, and recalling information across LangGraph, MCP, or custom Python agents.

What language is lethyx written in?

Mainly Python. The stack also includes Python, LangGraph, MCP.

How hard is lethyx to set up?

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

Who is lethyx for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.