
Sdk
io.github.bolyraPublished by GitHub account bolyrav0.5.2Updated Oct 24, 2026
TypeScript SDK for mutual ZKP authentication between humans and AI agents.
Overview
A local TypeScript SDK for Bolyra that gives an assistant building blocks for mutual zero-knowledge-proof authentication between humans and AI agents.
- What you can do
- Create human identities and agent credentials with permission bitmasks, including delegation and validation helpers, and generate mutual handshake proofs between a human and an agent, then verify them locally and read the resulting nullifier and scope commitment. Use low-level Poseidon hashing and BabyJubjub EdDSA signing, verification and public-key derivation for custom verifiers or commitment recomputation. Submit proofs to an on-chain registry through ethers.js.
- When to use it
- Worth adding when you are building or testing Bolyra-based agent authorization flows and want an assistant to scaffold identity creation, permission encoding, handshake proving and verification, or external verifier logic in TypeScript.
- Requirements
- Runs as a local stdio process on desktop; installed from the npm package @bolyra/sdk, so Node.js and npm are needed. No authentication, environment variables or headers are declared. On-chain verification requires ethers.js and a registry contract, and handshake proving is described as taking roughly 16 seconds.
Installation
In SourceWeft
- Open Sdk in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@bolyra/sdk
TypeScript SDK for Bolyra — mutual ZKP authentication for humans and AI agents.
New here? Start with the 5-minute Quickstart — from
npm installto on-chain verification.
Install
Quick Start
Low-level primitives (v0.6.0+)
For advanced use — e.g. building an external verifier or recomputing credential/scope commitments — the SDK exports its Poseidon hashes and BabyJubjub EdDSA primitives:
eddsaVerify returns false (never throws) on malformed input. See
@bolyra/cli's bolyra verify for a full external-verifier reference.
Permissions
Permissions use cumulative bit encoding — higher tiers imply lower ones:
API Status
License
Apache-2.0 — see LICENSE.
Source: sdk/README.md at commit 5e9de85
Tools
0Version history
1- v0.5.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts