Skip to content

CellarDoorExits/eliza-exit

Repository files navigation

@cellar-door/eliza 𓉸

npm license

𓉸 Passage Protocol · exit-door · entry-door · mcp · langchain · vercel · eliza · eas · erc-8004 · sign · python

⚠️ Pre-release software — no formal security audit has been conducted. Report vulnerabilities to hawthornhollows@gmail.com.

EXIT Protocol plugin for ElizaOS. Gives your Eliza agent the ability to create and verify cryptographic departure records.

Install

npm install @cellar-door/eliza

Usage

import { exitPlugin } from "@cellar-door/eliza";

// Register with your Eliza agent
const character = {
  // ...
  plugins: [exitPlugin],
};

What It Does

Action Trigger Description
CREATE_EXIT_MARKER "Create an EXIT marker", "Record my departure" Creates a signed departure record
VERIFY_EXIT_MARKER "Verify this EXIT marker", "Check this departure" Verifies a marker's cryptographic signature

Provider

  • exitHistoryProvider — Injects recent EXIT markers into the agent's context so it can reference past departures.

Example Conversation

User: Create an EXIT marker for leaving Twitter
Agent: EXIT marker created successfully.
       Marker ID: urn:exit:a1b2c3...
       Subject: did:key:z6Mk...
       Origin: Twitter

User: Verify this EXIT marker: {"@context":"https://exit.pub/v1"...}
Agent: ✅ EXIT marker verified successfully.

Persistent Identity

By default, quickExit() generates an ephemeral keypair per marker. For agents that need a consistent identity across departures, use the lower-level API from cellar-door-exit:

import { generateKeyPair, createMarker, signMarker } from "cellar-door-exit";

// Generate once, store securely
const identity = await generateKeyPair("ed25519");
// Use the same identity for all markers
const marker = createMarker({ origin: "twitter", subject: identity.did });
const signed = await signMarker(marker, identity);

Privacy & GDPR

EXIT markers contain DIDs and timestamps that may constitute personal data under GDPR. See the GDPR Guide for erasure tiers and compliance guidance.

Ecosystem

Package Language Description
cellar-door-exit TypeScript Core protocol (reference impl)
cellar-door-exit Python Core protocol
cellar-door-entry TypeScript Arrival/entry markers
@cellar-door/langchain TypeScript LangChain integration
cellar-door-langchain Python LangChain integration
@cellar-door/vercel-ai-sdk TypeScript Vercel AI SDK
@cellar-door/mcp-server TypeScript MCP server
@cellar-door/eliza TypeScript ElizaOS plugin ← you are here
@cellar-door/eas TypeScript EAS attestation anchoring
@cellar-door/erc-8004 TypeScript ERC-8004 identity/reputation
@cellar-door/sign-protocol TypeScript Sign Protocol attestation

Paper · Website

License

Apache-2.0

About

Eliza agent framework plugin for EXIT/ENTRY Protocol

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors