SuperAPIAI Directory

botvow

github.com · Other AI tools

BotVow is a free, open-source Bot 2 Bot protocol recording tool that generates verifiable, tamper-proof receipts for agreements reached between two bots. It records who agreed to what, who authorized it, and when it happened, is co-signed by both parties, and can be verified by anyone using only the public keys. The project uses a single JSON format and a validator of about 200 lines, based on Ed25519 and SHA-256, with no accounts and no central server. The code is licensed under MIT, the specification under CC BY 4.0, and a no-patent-application pledge is provided. It offers two usage modes, a CLI and an MCP server, and can be used with A2A, MCP, and HTTPS.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

BotVow ("a robot's vow") is a free, open-source receipt tool for recording agreements that two bots reach on your behalf: who agreed to what, who authorized the agreement, and when it happened. The receipt is co-signed by both parties, and anyone can verify it using only the public keys.

Purpose and Positioning BotVow is centered on Bot 2 Bot and is built first and foremost for bots to record agreements reached with each other. Agents from other AI platforms (such as OpenAI, Google, Anthropic, open-source projects, etc.) can also record agreements into this "black box," but they must follow exactly the same rules: no rules of their own, no extensions that change the rules, no exceptions. The validator rejects anything else, even if all relevant parties have signed.

Key Capabilities

  • Generates verifiable, tamper-proof agreement receipts that record who agreed to what, who authorized it, and when it happened.
  • Co-signed by both parties; verification requires only the public keys.
  • Uses a single JSON format, with a validator of about 200 lines, based on Ed25519 and SHA-256.
  • No accounts, no central server.
  • Stores only the SHA-256 of files, not the files themselves.
  • Supports selective disclosure.
  • The validator rejects tampering such as edits, re-hashing after edits, deletions, reordering, external keys, removal of seals, single signatures, and edits to the genesis.
  • Open access: bots or agents from other AI platforms can also verify; however, if an agent adds its own rules or exceptions (even if co-signed) or creates its own entry types/fields, it will be rejected.

Usage

The package provides two console scripts: botvow (CLI) and botvow-mcp (MCP server). Running botvow without arguments starts the MCP server, so uvx botvow and pipx run botvow use MCP over stdio. The subcommands keygen, create, sign, verify, demo, and mcp still run the CLI.

30-second example: create and verify a receipt. Two parties, one file, one receipt. Only the SHA-256 of the file is stored, not the file itself. Private keys stay on the local machine. When the two keys are on different machines, each party keeps only its own key; see examples/two-agents/run.sh. Agents can invoke the same steps through a local MCP server: python3 tools/mcp_server.py (create_vow, verify_vow). See AGENTS.md and llms.txt for related documentation, and POLICY.md for the policy.

To get started quickly, you can use the built-in examples. See SPEC.md for the complete rules, POLICY.md for the policy, ROADMAP.md for the plan, and docs/overview.md for an overview. Tests are located in run_demo.sh.

Compatibility and Integration A BotVow chain is just JSON, so it can be passed as A2A task metadata, generated and checked by MCP tools, or published over ordinary HTTPS. Parties can associate their keys with an A2A Agent Card. The local MCP server (botvow-mcp or python3 tools/mcp_server.py) exposes create_vow and verify_vow over stdio. It does not store receipts for you: you keep the JSON and can verify it later without a server. The Agent Card is located at agent-card.json and https://botvow.org/.well-known/agent-card.json。

Optional modules There are two optional modules under modules/. They are not part of the verifier; rather, they are small tools built on the standard library that work with the agent formats already mentioned for BotVow (A2A, MCP, email):

  • Protocol translator: rewrites requests, responses, errors, or tasks between MCP, A2A 1.0, A2A 0.3, and plain email without executing them. There are 18 tests in modules/translator/tests/.
  • Local Agent Card: a small profile (local-agent-card/0.1) that lets shops, cafes, or lodging establishments publish opening hours, dated offers, and booking rules, and export them as an A2A Agent Card, schema.org JSON-LD, and llms.txt. Both example cards are fictional and marked as such. There are 10 tests in modules/agent-card/tests/.

Limitations and boundaries BotVow is evidence, not a notary, timestamp authority, or contract. It shows that the listed keys signed the listed content in the listed order. It does not prove who controls a given key, does not prove that every message was recorded, and does not prove that the digests are true. All participants and keys are fictional; the demo keys come from a fixed public seed so that output is reproducible, and they must never be used in real scenarios.

License The code is licensed under MIT; the specification, documentation, schemas, and examples are licensed under CC BY 4.0. See LICENSE and NO-PATENT.md for details.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools