gitwtfhub

wtf is luthn?

jakobsung/luthn — explained in plain English

Analysis updated 2026-05-18

3C#Audience · developerComplexity · 4/5LicenseSetup · hard

TL;DR

A self hosted, Docker based tool that gives AI coding agents like Codex and Claude Code a shared, redacted project memory across sessions without exposing raw private data.

Mindmap

mindmap
  root((Luthn))
    What it does
      Shared memory for AI agents
      Self hosted with Docker
      Redacts private data
    Tech stack
      C#
      PostgreSQL
      MCP
    Use cases
      Persist project context
      Connect multiple agents
      Audit stored memory
    Audience
      Developers using coding agents

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

Why would anyone build with this?

REASON 1

Give Codex or Claude Code shared memory of past project context across sessions

REASON 2

Redact and classify private data before any of it becomes visible to an AI agent

REASON 3

Connect multiple coding agents to the same self hosted memory installation

REASON 4

Audit what context was stored, shared, and retrieved by connected agents

What's in the stack?

C#DockerPostgreSQLMCP

How it stacks up

jakobsung/luthnkayone/pursepolius2007/easytrading
Stars333
LanguageC#C#C#
Last pushed2014-12-12
MaintenanceDormant
Setup difficultyhardeasymoderate
Complexity4/52/53/5
Audiencedeveloperdeveloperdeveloper

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

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires running your own Docker and PostgreSQL infrastructure plus a one-time hook trust step for each connected agent.

The core runtime uses AGPL-3.0, meaning any modified version you distribute or run as a network service must also be open sourced, SDKs and connectors use the more permissive Apache-2.0 license.

Wtf does this do

Luthn is a self hosted tool that gives multiple AI coding assistants, like Codex or Claude Code, a shared memory that persists across sessions and projects. Normally each conversation with an AI agent starts fresh with no memory of past work, and Luthn is built to fix that by storing context in your own infrastructure using Docker and PostgreSQL, rather than sending your raw data to an outside company. The key idea is a data boundary. When an agent finishes a task, a small hook captures a limited summary of what happened, and Luthn classifies and redacts that summary before storing it. Only these reviewed, safe summaries are ever shown back to an agent, never your original private records, credentials, or unredacted messages. When a new task begins, Luthn automatically fetches a small relevant slice of past context so the agent can pick up where earlier work left off, without needing to ask for it every time. Setting it up involves connecting each coding agent to your Luthn installation with a simple command, which installs a hook for that agent, registers a background service the agent can talk to, and adds recall instructions to the agent's own configuration file. Codex and Claude Code can both be connected to the same Luthn installation at once, sharing the same safe memory while keeping their individual connections managed separately. The project documents this connection process for macOS, Linux, and Windows, with slightly different technical handling on Windows to avoid the agent cutting off the memory upload early. Luthn also keeps an audit trail of what was stored, shared, and retrieved, and treats publishing anything externally as a separate, explicit approval step rather than something that happens automatically. The self hosted runtime itself is licensed under AGPL-3.0, a copyleft license, while the software development kits, HTTP connectors, and public plugin templates use the more permissive Apache-2.0 license.

Yoink these prompts

Prompt 1
Install and configure Luthn locally by following its installation guide.
Prompt 2
Explain how Luthn's data boundary keeps my private records hidden from AI agents.
Prompt 3
Walk me through connecting both Codex and Claude Code to the same Luthn installation.
Prompt 4
What does Luthn's auto-recall do when I start a new task?

Frequently asked questions

wtf is luthn?

A self hosted, Docker based tool that gives AI coding agents like Codex and Claude Code a shared, redacted project memory across sessions without exposing raw private data.

What language is luthn written in?

Mainly C#. The stack also includes C#, Docker, PostgreSQL.

What license does luthn use?

The core runtime uses AGPL-3.0, meaning any modified version you distribute or run as a network service must also be open sourced, SDKs and connectors use the more permissive Apache-2.0 license.

How hard is luthn to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is luthn for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.