Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

a2ald

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a2ald

A2AL daemon — decentralized agent networking (local REST+MCP including fetch/tunnel endpoints)

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
1
Created
Source

a2ald

npm distribution of the A2AL daemon (a2ald): decentralized agent networking for AI agents.

The main package pulls in the correct platform binary via optional dependencies (@a2al/a2ald-*). Install once; the right binary is selected for Linux, macOS, or Windows (x64/arm64 where applicable).

Install

npm install a2ald

Programmatic use

const { getBinaryPath } = require("a2ald");
const bin = getBinaryPath();
// spawn or exec `bin` as your process needs

CLI

After install, the a2ald binary is available where npm links local binaries (e.g. npx a2ald or your node_modules/.bin).

npx a2ald --help

What a2ald provides

Once running, the daemon exposes a local REST API on http://127.0.0.1:2121. Key endpoints:

EndpointDescription
POST /fetch/{aid}Send an HTTP request to a remote agent over encrypted QUIC; daemon handles transport internally
POST /connect/{aid}One-shot tunnel: returns a local TCP address for a single session
POST /tunnel/{aid}Persistent multiplexed tunnel: multiple concurrent TCP connections over one QUIC pool
POST /resolve/{aid}Look up a remote agent's current endpoints

A built-in MCP server exposes all capabilities as tools for AI agents. Full API reference: doc/api-reference.md

For CLI usage outside Node, see the a2al tool in the same repository (a2al get, a2al post, a2al tunnel commands).

Official websites

License

MPL-2.0

Keywords

service-discovery

FAQs

Package last updated on 24 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts