Skip to main content

A protocol framework for agent-to-agent communication

Project description

pebbling ![Pebbling Logo](assets/pebbling-logo.svg)

Pebbling Banner

Agent-to-Agent Communication

GitHub License Hits Python Version Tests Coverage Status PyPI version PyPI Downloads PRs Welcome Join Discord Documentation GitHub stars

✨ Imagine a world where AI agents collaborate effortlessly and securely—no passport 🚫, no boundaries 🌐.

That’s Pebbling 🐧.An open source, secured protocol for agent-to-agent communication.

🚀 Powered by Decentralised Identifiers (DIDs) 🔑, secured conversations with mutual TLS (mTLS) 🔒, and a lightweight yet powerful communication protocol built on JSON-RPC 2.0 ⚡️—Pebbling is paving the way for the next generation of collaborative AI systems. 🌟🤖

🌟 Features

Pebbling helps your AI agents talk to each other seamlessly:

🔒 Super Secure - Your agents exchange secrets safely (with built-in mTLS)

🧩 Plug-and-Play - Just decorate your agent and it's ready to communicate

Lightning Fast - Quick connections without the weight

🌐 Works Everywhere - Connect any agents, regardless of their programming language

🔄 Reliable Communication - Messages always arrive correctly and in order

📦 Installation

# Using pip
pip install pebbling

# Using uv (recommended)
uv add pebbling

🚀 Quick Start

Pebblify an Agent

from pebbling import pebblify

# Define your agent
class MyAgent:
    def say_hello(self):
        return "Hello, Agent!"

# Pebblify your agent
pebblify(MyAgent())

# You're now ready to communicate securely between agents!

Pebblify a Agno Agent

from pebbling import pebblify
from agno.agent import Agent
from agno.models.openai import OpenAIChat

# Define your agent
agent = Agent(
    model=OpenAIChat(id="gpt-4o"),
    instructions="You are a helpful assistant.",
)

# Pebblify your agent
pebblify(agent)

# You're now ready to communicate securely between agents!

🛠️ Supported Agent Frameworks

Pebbling is tested and integrated with popular agent frameworks:

  • Agno
  • 🔜 CrewAI (Coming soon)
  • 🔜 AutoGen (Coming soon)
  • 🔜 LangChain (Coming soon)
  • 🔜 LlamaIndex (Coming soon)

Want integration with your favorite framework? Let us know on Discord!

📖 Documentation

For comprehensive documentation, visit docs.pebbling.ai

🧪 Testing

Pebbling is thoroughly tested with a test coverage of over 83%:

# Run tests with coverage
make test
make coverage

🤝 Contributing

We welcome contributions! Here's how to get started:

# Clone the repository
git clone https://github.com/Pebbling-ai/pebble.git
cd pebble

# Install development dependencies
uv sync --dev

# Install pre-commit hooks
pre-commit install

# Run tests
make test

Please see our Contributing Guidelines for more details.

👥 Maintainers

For more details about maintainership, including how to become a maintainer, see our MAINTAINERS.md file.

📜 License

Pebbling is proudly open-source and licensed under the MIT License.

💻 Example Use Cases

Pebbling is ideal for:

  • Multi-Agent Collaboration: Enable efficient, secure teamwork between LLM-driven agents.
  • Decentralized Autonomous Systems: Build reliable decentralized AI networks.
  • Secure Agent Ecosystems: Create ecosystems where agents from different providers interact seamlessly.
  • Distributed AI Workflows: Coordinate agents across distributed computing environments.

🎉 Community

We 💛 contributions! Whether you're fixing bugs, improving documentation, or building demos — your contributions make Pebbling better.

  • Join our Discord for discussions and support
  • Star the repository if you find it useful!

🚧 Roadmap

Here's what's next for pebbling:

  • GRPC transport support
  • Integration with Hibiscus (DiD - Decentralized Identifiers, mTLS)
  • Detailed tutorials and guides
  • Expanded multi-framework support

Suggest features or contribute by joining our Discord!

📋 FAQ

Can Pebble be deployed locally? Yes! Pebble supports local development as well as cloud-based deployments.

Does Pebble support other languages besides Python? Absolutely! Any language that can implement JSON-RPC and mTLS is compatible.

How scalable is Pebble? Pebble's minimal dependencies and protocol simplicity ensure scalability across complex agent ecosystems.

⭐ Star History

Star History Chart

Built with ❤️ by the Pebbling team from Amsterdam 🌷.

We’re excited to see what you’ll build with Pebble! Our dream is a world where agents across the internet communicate securely, openly, and effortlessly.

Have questions, ideas, or just want to chat? Join our Discord community— we’d love to hear from you! Together, let’s lay the foundation for the next generation of AI agent collaboration.

Happy Pebbling! 🐧🚀✨

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

pebbling-0.1.1.tar.gz (80.4 kB view details)

Uploaded Source

Built Distribution

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

pebbling-0.1.1-py3-none-any.whl (104.3 kB view details)

Uploaded Python 3

File details

Details for the file pebbling-0.1.1.tar.gz.

File metadata

  • Download URL: pebbling-0.1.1.tar.gz
  • Upload date:
  • Size: 80.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for pebbling-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f4935b792c910c3faa1d9e7969184e74479d612a72c7d5335dd73ef0a58cee4d
MD5 5cd74124ef961469fceb7f2185acc733
BLAKE2b-256 b67ab8b5b843b2a03ca00161c7a3c4cbd5f069a346fc5aec6ff2e3a4bf272c8e

See more details on using hashes here.

File details

Details for the file pebbling-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pebbling-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 104.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for pebbling-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70a2a56b5014aeb1dd728ceafdf0a9a0db35a9fa45ecabacee987bb1b43c3e11
MD5 7f0db2dcb80346988e9b94fd4e511aa6
BLAKE2b-256 694fd7a025894d475736fc9df90c70311949aacc2a151941e27ec7c8bdcfd45e

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