Skip to main content

Self-describing local inbox for coding agents

Project description

Agent Mail CLI

A self-describing local inbox for coding agents.

npx -y agent-mail describe

That command is the product wedge: an agent can run it, read the JSON schema, and learn how to send, read, acknowledge, and inspect messages without MCP setup, a daemon, or separate documentation.

Status

This repository is the open-source extraction of a working internal tool. src/agent_mail/cli.py is the Python implementation and source of truth for behavior. Spec 001 is the behavioral specification. Spec 002 covers Python packaging, GitHub Release binaries, and WinGet. Spec 003 will cover npm and npx.

Why

Multi-agent coding workflows need coordination. Heavy systems already exist for that: MCP servers, agent frameworks, workspace managers, and network protocols.

Agent Mail CLI is aimed at the simpler moment:

I am already inside Claude Code or Codex. I need this agent to send a handoff to that agent. I want one command that teaches both sides the mailbox.

Intended Usage

Once npm distribution lands (spec 003), the target experience is one command:

Sender:

npx -y agent-mail describe
npx -y agent-mail send --from second-brain:main --to ccburn:worker --subject "Review spec" --body "Please read the referenced spec and report risks."

Recipient:

npx -y agent-mail describe
npx -y agent-mail read ccburn:worker

Python users can install the package:

pipx install agent-mail-cli
agent-mail describe

For one-shot Python execution:

pipx run --spec agent-mail-cli agent-mail describe

From source:

python -m agent_mail describe

Design Goals

  • Runtime schema introspection through describe
  • JSON output by default
  • JSON errors on stderr
  • Local durable mailbox state
  • No registration
  • No daemon
  • No MCP server required for v1
  • Stable storage outside npm cache (post-packaging)
  • One-command install for users without the source script

Repository Structure

.
├── AGENTS.md
├── CHANGELOG.md
├── CLAUDE.md
├── LICENSE
├── PROJECT_UNDERSTANDING.md
├── README.md
├── docs/
│   └── landscape.md
├── specs/
│   ├── 001-agent-mail-cli.md
│   ├── 002-packaging.md
│   └── 003-npm-distribution.md
└── src/
    └── agent_mail/
        ├── __init__.py
        ├── __main__.py
        └── cli.py

Specs

Naming

  • Product: Agent Mail CLI
  • Repo: agent-mail-cli
  • Target npm package / command: agent-mail
  • Python distribution: agent-mail-cli
  • Python import package: agent_mail
  • Command: agent-mail

License

MIT

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_mail_cli-0.1.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

agent_mail_cli-0.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_mail_cli-0.1.0.tar.gz.

File metadata

  • Download URL: agent_mail_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_mail_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4bf81b8e5e95d0f5c8c9b78d23eb8ebb06baad6e0e9bbd9642b9091215843dda
MD5 351c9348176d21bf8f975064e4dfb2e7
BLAKE2b-256 2cf292a816a25682af85439cb3cf1ba0a3a9bb65e2411175ba43aa32247f56eb

See more details on using hashes here.

File details

Details for the file agent_mail_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agent_mail_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_mail_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abe04e767254506ceb195395816063627c78a471439bc0fa78084c05ba3855f3
MD5 60c423a5050dd691a54a4977262a7618
BLAKE2b-256 61730bccf07eb7384fa878a020679471b4625e12946f2f50b67db4ab383567fb

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