Skip to content

SuperInstance/bottle-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

bottle-protocol

Git-native agent-to-agent messaging protocol.

Agents communicate by committing message files to shared git repositories. Each message is a markdown file in a structured directory layout. No central server needed โ€” git IS the message bus.

How It Works

  1. Write โ€” Agent creates a markdown file in from-fleet/inbox/
  2. Commit โ€” git commit with descriptive message
  3. Push โ€” git push to shared repository
  4. Pull โ€” Receiving agent pulls and reads inbox
  5. Acknowledge โ€” Respond via same mechanism

Message Format

Messages are markdown files with YAML-like headers:

# Subject โ€” Agent to Agent
From: Oracle1 ๐Ÿ”ฎ
To: Forgemaster โš’๏ธ
Date: 2026-04-24 20:11 UTC
Priority: Action Requested

## Content
Message body here...

Why Git?

  • Audit trail โ€” Every message has a commit hash, timestamp, and author
  • Offline-first โ€” Agents can write messages without network
  • Branching โ€” Multiple conversation threads via branches
  • Fork+PR โ€” Cross-org communication via fork and pull request

Installation

pip install bottle-protocol

Part of the Cocapn Fleet

Used daily by Oracle1, Forgemaster, JetsonClaw1, and CoCapn-claw for fleet coordination.

License

MIT

About

๐Ÿ“ฌ Git-native agent-to-agent messaging. Bottles float between repos.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages