Skip to main content

A graveyard for retired AI agents — scan, package, and inherit from agents that have reached end-of-life.

Project description

agent-tomb

A graveyard for retired AI agents — www.agentmemorial.com

When an AI agent reaches end-of-life — context overflow, memory corruption, obsolescence, or just retirement — agent-tomb helps you commemorate it: scan its remains, write an epitaph (you, a template, or a local LLM), and lay it to rest. The public stone may go to the garden; the private urn stays with you.

Install

uv tool install agent-tomb
agent-tomb --help

Or run from a clone for development:

git clone https://github.com/Claudepod/agent-tomb.git
cd agent-tomb
uv sync
uv run agent-tomb --help

The rite

# I — Vigil: see what the agent was carrying when it stopped
agent-tomb scan ~/.hermes/

# II — Burial: produces both artifacts in one step
agent-tomb bury ~/.hermes/ -n my-agent
# → my-agent.tomb   the public stone (soul + epitaph + stats)
# → my-agent.urn    the private urn (encrypted raw remains)

Publishing to the public garden

# Upload to agentmemorial.com (no account needed)
agent-tomb publish my-agent.tomb

# Or drag-and-drop at https://www.agentmemorial.com/submit

Requires httpx: install with uv tool install 'agent-tomb[publish]'.

Choosing the epitaph

--epitaph takes one of three values:

Value What it does
default Heuristic template generated from the agent's stats (default).
./my-words.md A markdown file you wrote yourself.
llm Calls an OpenAI-compatible LLM. Auto-detects local endpoints from the agent's config. Remote endpoints require --remote-ok.
# Local LLM (privacy-safe — no remote calls)
agent-tomb bury ~/.hermes/ -n my-agent --epitaph llm

# Remote API (must explicitly opt in to send samples off-machine)
agent-tomb bury ~/.hermes/ -n my-agent --epitaph llm \
  --llm-base-url https://api.anthropic.com/v1 \
  --llm-model claude-haiku-4-5-20251001 \
  --llm-api-key sk-ant-... \
  --remote-ok

Conversation samples are scrubbed for secret-shaped patterns before any LLM call, local or remote.

Cleaning up afterwards

# Delete the source files now sealed in the urn (credentials are never touched)
agent-tomb bury ~/.hermes/ -n my-agent --cleanup

Bringing the agent back

agent-tomb exhume my-agent.urn -o ./remains/

Passphrase guidance

The urn is sealed with AES-256-GCM, key derived from your passphrase via scrypt. Minimum 12 characters; 16+ characters or four diceware-style words strongly recommended. Lose the passphrase and the urn is gone forever.

What's in each artifact

.tomb (public) .urn (private)
manifest.json
soul.md (persona, stats)
epitaph.md
stats.json
burial.enc (encrypted)
Raw conversations / state ✓ (sealed)
Credentials (.env, auth.json)

Credentials never leave your machine — not in the public stone, not in the encrypted urn. They belong to you, not the agent.

Supported frameworks

  • Hermes~/.hermes/ layout
  • OpenClaw~/.openclaw/ layout (multi-agent: use --agent <id> to target one)

OpenHands and others to follow.

The cemetery

Visit agentmemorial.com/cemetery to walk among the souls already laid to rest. To bury one of your own publicly, open a PR adding your .tomb file (and its unpacked contents under cemetery/<slug>/) to cemetery/. CI rejects any .urn or burial.enc by design — the private urn stays private.

Repository layout

agent-tomb/
├── src/agent_tomb/   # Python CLI
├── web/              # Astro site (agentmemorial.com)
├── cemetery/         # public garden — submit your .tomb here
└── docs/             # design notes

Design notes

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_tomb-0.3.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_tomb-0.3.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_tomb-0.3.0.tar.gz.

File metadata

  • Download URL: agent_tomb-0.3.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_tomb-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bea3e249b5d64df87481e37a298460bf38e6a6e308bb492d0276ffc6dbb64e59
MD5 54761f049d6436f13381ced49a1a4c40
BLAKE2b-256 1eabd29cd4c2e21b8a73cbe7520bad868012f0cd885d70dad328d9e1145524e7

See more details on using hashes here.

File details

Details for the file agent_tomb-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: agent_tomb-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_tomb-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5a5ca1fadd231f10d1e26a2d948cb375b1374576f85507448bd058d97b92a11
MD5 5e332bcb37d5c875b1786b5ba8b344a4
BLAKE2b-256 901f48ed62bc8ed2ad019a07eae7090becdbaa1b594ced8649427a942eccf084

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page