whatisgithub

What is aetnamem?

aetna000/aetnamem — explained in plain English

Analysis updated 2026-05-18

2PythonAudience · developerComplexity · 4/5LicenseSetup · moderate

In one sentence

A local, auditable long-term memory system for AI agents, stored in SQLite, that can also require human approval before an agent takes real-world actions.

Mindmap

mindmap
  root((aetnamem))
    What it does
      Local agent memory
      Auditable action trail
      Guarded approvals
    Tech stack
      Python
      SQLite
      PostgreSQL
      MCP
    Use cases
      Remember user facts
      Approve risky actions
      Quarantine untrusted content
      Panel decision review
    Audience
      Agent developers
      Governance teams

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 chatbot or coding assistant durable memory of user facts across separate sessions.

USE CASE 2

Require a human to approve an agent's exact planned action before it executes anything risky.

USE CASE 3

Quarantine content pulled from websites or tools so it can't silently become trusted memory.

USE CASE 4

Run a structured panel review process where people vote on evidence-based recommendations with a full audit trail.

What is it built with?

PythonSQLitePostgreSQLMCPEd25519

How does it compare?

aetna000/aetnamem0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity4/52/52/5
Audiencedevelopergeneralgeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Basic memory works via pip install, but guarded actions and decision workflows need more configuration.

AGPL 3.0 requires that if you run a modified version as a network service, you must also make your modified source code available to its users.

So what is it?

AetnaMem is a Python tool that gives AI agents a long-term memory that stays on your own machine instead of a cloud service. It stores everything in a single SQLite file, and it can install with a simple pip command. The core idea is that every fact an agent remembers, and every action it takes, leaves a trail you can inspect and verify later, rather than trusting the system blindly. At its simplest, AetnaMem lets an assistant remember, recall, correct, or forget facts about a user across separate conversations. It works with different agent frameworks and model providers, including Claude, Grok, OpenAI, DeepSeek, and Ollama, because the memory itself is kept separate from whichever AI model is answering. There is also a plugin for a tool called OpenClaw that adds this memory automatically, and support for connecting through a shared protocol called MCP so other agent tools can discover and use it. Beyond plain memory, AetnaMem adds an optional layer for guarded actions: before an agent is allowed to change something in the real world, the exact planned operation can be staged, tied to a human approval, rechecked against the current state, and only then carried out, with a receipt produced afterward. Content pulled from webpages or other tools is kept quarantined and not treated as trusted memory until someone explicitly approves it. There is also a structured decision workflow, useful for teams like a hospital or policy group who need panels of people to review evidence and vote on a recommendation, with every step logged and separately checked. AetnaMem is licensed under AGPL 3.0, and the project includes benchmark results, a scientific report, and a desktop-style dashboard for chatting locally with your memory and approvals visible. It is aimed less at casual chatbot use and more at people building agent systems who need to prove, after the fact, what an agent knew and why it acted. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Help me install AetnaMem with pip and connect it to my agent so it remembers facts between sessions.
Prompt 2
Show me how to set up a guarded action in AetnaMem that needs human approval before it runs.
Prompt 3
Explain how AetnaMem's audit log lets me check what an agent knew and did.
Prompt 4
Help me connect AetnaMem to OpenClaw using its plugin so memory is captured automatically.

Frequently asked questions

What is aetnamem?

A local, auditable long-term memory system for AI agents, stored in SQLite, that can also require human approval before an agent takes real-world actions.

What language is aetnamem written in?

Mainly Python. The stack also includes Python, SQLite, PostgreSQL.

What license does aetnamem use?

AGPL 3.0 requires that if you run a modified version as a network service, you must also make your modified source code available to its users.

How hard is aetnamem to set up?

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

Who is aetnamem for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.