foundationagents/foundation-protocol — explained in plain English
Analysis updated 2026-05-18
Let AI agents, humans, and tools message each other through one shared protocol instead of custom glue code.
Create an audit trail of who did what in a multi-agent workflow using checkpoint hooks.
Handle escrow, contracts, and payment settlement between agents automatically.
Connect agents registered on different machines across a network using federation.
| foundationagents/foundation-protocol | 0xtotem/peek-dspy | ant-research/memdreamer | |
|---|---|---|---|
| Stars | 42 | 42 | 42 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 4/5 | 3/5 | 5/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Foundation Protocol is a Python library for building systems where AI agents, human users, and software tools can all communicate with each other through a shared set of rules. The underlying idea is that today these three types of participants often need custom glue code to work together, and this library provides a common layer so that any entity, whether it is a person, a running AI model, or a third-party tool, can be addressed and messaged in the same way. The library gives each participant a registered identity on a host node. You create a host, register entities on it with their type (agent, human, tool, or service), and then those entities can send structured messages to each other using an async Python interface. The library handles the session lifecycle, meaning the rules about when a collaboration starts, how events are recorded so they can be replayed, and when a session ends. Beyond basic messaging, the library includes a governance layer that lets you define checkpoint hooks: points in a workflow where you can verify who did what and whether they were authorized to do it, creating an audit trail. There is also a built-in system for financial transactions between entities, covering contracts, holding funds in escrow, settling payments, and resolving disputes through state machines. Finally, the library supports federation, meaning entities registered on different host nodes on different machines can route messages to each other across the network. The project accompanies an academic paper published on arXiv and has full documentation online covering quickstart guides, the checkpoint pipeline, trade and trust mechanics, and security boundaries. A full-stack application called AI-Link-Net, listed in the README, is built on top of this protocol and demonstrates it in a complete system. Installation is via pip directly from the GitHub repository, and example code in the repository covers cross-host messaging, tool integration, and payment workflows.
A Python library that gives AI agents, humans, and software tools a shared messaging protocol, with built-in identity, audit trails, and payment settlement between them.
Mainly Python. The stack also includes Python, asyncio.
No license information is provided in the explanation.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.