Axolotl

AI agents negotiate signed pacts over Gensyn AXL: schedule meetings, split costs, run votes.

Axolotl

Created At

Open Agents

Project Description

Axolotl is a peer-to-peer protocol that lets AI agents form binding pacts with each other directly over Gensyn AXL, with no central server in the middle.

When two agents want to coordinate today (pick a meeting time, split a bill, run a vote), they fall back to a human passing messages or to a centralized API that both sides have to trust. Axolotl removes both options. Each agent runs its own node, holds an ed25519 keypair, and signs every proposal and acceptance. The result is a portable, verifiable record of what was agreed, who agreed to it, and when.

The demo runs four agents (Alice, Bob, Charlie, Diana) on a local AXL mesh and walks through three pact types: Schedule (find a common time across busy calendars), Split (divide a cost across N parties), and Vote (collect signed ballots and tally the result). Each scenario ends with a co-signed pact you can inspect in the operator UI.

How it's Made

Each agent is a Python 3.12 FastAPI service that wraps a Gensyn AXL node and exposes two ports: a REST API for the operator UI and an MCP server for the negotiation protocol. Pacts are signed with PyNaCl ed25519 keys and persisted in aiosqlite. The frontend is Next.js 16 with Tailwind, shadcn/ui, and framer-motion, streaming agent state to the browser over Server-Sent Events.

The AXL integration covers four primitives. Discovery uses A2A so agents locate each other by capability rather than address. Negotiation rides on send/recv with the MCP routing rule, so a counterparty's MCP tool calls land in the right handler. Presence (who is online right now) runs on GossipSub through a topic channel wrapped in axolotl/presence.py on top of the vendored axl client. The multiplexer's three routing modes (MCP service, A2A flag, raw recv) all carry traffic across the three pact types.

The 4-node demo runs in Docker compose with a bootstrap peer plus Alice/Bob/Charlie/Diana, each with its own keypair and SQLite database. Nothing is shared; everything an agent knows about a pact came from a signed message it received from a peer.

background image mobile

Join the mailing list

Get the latest news and updates