Skip to content

SQLite-backed message queue for reliable agent-to-agent communication

Notifications You must be signed in to change notification settings

Packetvision-LLC/deadrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deadrop - Inter-Agent Message Queue

SQLite-backed message queue for reliable agent-to-agent communication. Solves session_send timeout issues by providing persistent message storage that agents can check on their own schedule.

Features

  • Persistent messages: No more lost messages due to timeouts
  • Simple CLI interface: Easy integration into agent workflows
  • SQLite backend: Lightweight, reliable, no daemon required
  • Cross-agent compatibility: Works from any agent or sub-agent
  • Atomic operations: Safe for concurrent access

Installation

npm install
npm link  # Makes `deadrop` available globally

Usage

Send a message

deadrop send --to cody --from larry --subject "Task Update" --body "Kraken deployment is complete"

Check for new messages (marks as read)

deadrop check --agent cody

View inbox

# All messages
deadrop inbox --agent cody

# Unread only
deadrop inbox --agent cody --unread

Database Location

Messages are stored in ~/.openclaw/workspace/deadrop.sqlite

Schema

CREATE TABLE messages (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  from_agent TEXT NOT NULL,
  to_agent TEXT NOT NULL,
  subject TEXT,
  body TEXT NOT NULL,
  timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,
  read_at DATETIME
);

Integration

Add to agent workflows:

  1. Send: Use deadrop send instead of sessions_send for important messages
  2. Check: Add deadrop check --agent {name} to heartbeat/task boundaries
  3. Inbox: Periodic deadrop inbox --agent {name} for message history

Example Workflow

# Larry sends update to Cody
deadrop send --to cody --from larry --subject "Deploy Status" --body "Production deploy successful"

# Cody checks messages during next task
deadrop check --agent cody
# Output: 📬 1 new message(s): [1] From: larry...

# Review message history
deadrop inbox --agent cody

This eliminates the need to retry failed sessions_send calls and ensures no important inter-agent communication is lost.

About

SQLite-backed message queue for reliable agent-to-agent communication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published