Skip to main content

A protocol framework for agent-to-agent communication

Project description

bindu Logo

Bindu 🌻

“We imagine a world of agents where they can communicate with each other seamlessly.
And Bindu turns your agent into a living server , the dot (Bindu) in the Internet of Agents.”


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


The Idea

Integration was the problem. And even today, it still is.

We built monoliths, then APIs, then microservices, then cloud functions.
Each step made systems faster, smaller, and more distributed.

Then, on 30th November 2022, something changed.
We entered the age of Large Language Models.
Software began reasoning, planning, and calling tools.
Suddenly, our code didn’t just execute, it started thinking.

But the old problem stayed the same.

Connection.

Now we have the language protocols for this new world:
A2A, AP2, and X402, how the agents talk, trust, and trade.

Yet, connecting them still takes time, code, and complexity.

That’s why Bindu exists.

Bindu is a wrapper that turns your agent into a A2A, AP2, and X402 schema-compliant living server, And communicate with other agents and microservices across the open web.

Just write your agent in any framework you like, then use Bindu. it will Bindu-fy your agent so that it can instantly join the Internet of Agents.


Installation

# Using uv (recommended)
uv add bindu

🚀 Quick Start

Time to first agent: ~2 minutes ⏱️

On your local machine, navigate to the directory in which you want to create a project directory, and run the following command:

uvx cookiecutter https://github.com/Saptha-me/create-bindu-agent.git

More details can be found here.

That’s it. Your local agent becomes a live, secure, discoverable service, ready to talk with other agents anywhere.

Manual Setup - Create Your First Agent

Step 1: Create a configuration file agent_config.json:

{
  "author": "your.email@example.com",
  "name": "my_first_agent",
  "description": "A simple agent that answers questions",
  "version": "1.0.0",
  "deployment": {
    "url": "http://localhost:8030",
    "expose": true
  }
}

Full Detailed Configuration can be found here.

Step 2: Create your agent script my_agent.py:

from bindu import bindufy

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

from bindu.penguin.bindufy import bindufy


# Load configuration
def load_config(config_path: str):
    """Load configuration from JSON with defaults."""
    full_path = os.path.join(config_path)
    with open(full_path, "r") as f:
        return json.load(f)


simple_config = load_config("simple_agent_config.json")
simple_agent = Agent(
    instructions="Provide helpful responses to user messages",
    model=OpenAIChat(id="gpt-4o"),
)

def simple_handler(messages: list[dict[str, str]]) -> Any:
    result = simple_agent.run(input=messages)
    return result

bindufy(simple_agent, simple_config, simple_handler)

That's it! Your agent is now live at http://localhost:8030 and ready to communicate with other agents.


The Vision

a peek into the night sky
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
{{            +             +                  +   @          {{
}}   |                *           o     +                .    }}
{{  -O-    o               .               .          +       {{
}}   |                    _,.-----.,_         o    |          }}
{{           +    *    .-'.         .'-.          -O-         {{
}}      *            .'.-'   .---.   `'.'.         |     *    }}
{{ .                /_.-'   /     \   .'-.\                   {{
}}         ' -=*<  |-._.-  |   @   |   '-._|  >*=-    .     + }}
{{ -- )--           \`-.    \     /    .-'/                   {{
}}       *     +     `.'.    '---'    .'.'    +       o       }}
{{                  .  '-._         _.-'  .                   {{
}}         |               `~~~~~~~`       - --===D       @   }}
{{   o    -O-      *   .                  *        +          {{
}}         |                      +         .            +    }}
{{ jgs          .     @      o                        *       {{
}}       o                          *          o           .  }}
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{

Each symbol is an agent — a spark of intelligence. And the single tiny dot is Bindu, the origin point in the Internet of Agents.


The Saptha.me Connection [In Progress]

Saptha.me is the layer that makes swarms of agents.

In this swarm, each Bindu is a dot - annotating agents with the shared language of A2A, AP2, and X402.

Agents can be hosted anywhere — on laptops, clouds, or clusters — yet speak the same protocol, trust each other by design, and work together as a single, distributed mind.

A Goal Without a Plan Is Just a Wish. So Saptha.me takes care Research, Plan and Implement.

Saptha.me gives them the seven layers of connection — mind, memory, trust, task, identity, value, and flow — that’s why it’s called Saptha.me. (Saptha, meaning “seven”; me, the self-aware network.)


🛠️ Supported Agent Frameworks

Bindu is Agent Framework agnostic.

We did test with mainly Agno, CrewAI, LangChain, and LlamaIndex, FastAgent.

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


Testing

bindu is thoroughly tested with a test coverage of over 70%:

# Run tests with coverage
pytest -n auto --cov=bindu --cov-report= && coverage report --skip-covered --fail-under=70

Contributing

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

# Clone the repository
git clone https://github.com/Saptha-me/Bindu.git
cd Bindu

# Install development dependencies
uv venv --python 3.12.9
source .venv/bin/activate
uv sync --dev

# Install pre-commit hooks
pre-commit run --all-files

Please see our Contributing Guidelines for more details.


Maintainers

For more details about maintainers, including how to become a maintainer, see our maintainers file.


License

Bindu is proudly open-source and licensed under the Apache License 2.0.


Community

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

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

Acknowledgements

We are grateful to the following projects for the development of bindu:


Roadmap

Here's what's next for bindu:

Suggest features or contribute by joining our Discord!


Workshops

Star History

Star History Chart


Built with 💛 by the team from Amsterdam 🌷
Happy Bindu! 🌻🚀✨

From idea to Internet of Agents in 2 minutes.
Your agent. Your framework. Universal protocols.

⭐ Star us on GitHub💬 Join Discord📚 Read the Docs

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

bindu-0.3.20.tar.gz (112.4 kB view details)

Uploaded Source

Built Distribution

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

bindu-0.3.20-py3-none-any.whl (145.9 kB view details)

Uploaded Python 3

File details

Details for the file bindu-0.3.20.tar.gz.

File metadata

  • Download URL: bindu-0.3.20.tar.gz
  • Upload date:
  • Size: 112.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for bindu-0.3.20.tar.gz
Algorithm Hash digest
SHA256 8a3689fd4501f274a1b1c4f661493adc4b829192e0e7c49d42b14c3e0abb22f3
MD5 25280bcbeda3335beb07a4f7b6dc54be
BLAKE2b-256 89c6c57390c1dd330e361d7c604c7cbe9c478b275a1dce8b7f1315b2ea18f0dc

See more details on using hashes here.

File details

Details for the file bindu-0.3.20-py3-none-any.whl.

File metadata

  • Download URL: bindu-0.3.20-py3-none-any.whl
  • Upload date:
  • Size: 145.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for bindu-0.3.20-py3-none-any.whl
Algorithm Hash digest
SHA256 25196fcee6f370b093a80b9ef319db42b72d4c43eccc966098404ab0ebcb051b
MD5 8b7babece934c2a83ba802409253f86b
BLAKE2b-256 dd4930e1b3f6e3e6440cd3dcd2b14605bb5b3b2a14c440c73e33f1760f7cc6ea

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