Zero runtime deps
Uses the platform fetch. Nothing to bundle, nothing to audit. Ships as typed ESM.
The official TypeScript client for the Nexartis NANDA Node — agent registration, A2A discovery, trust scoring, DAG workflow orchestration, and NANDA Index resolution on the open agentic web. Zero runtime dependencies. Edge-ready. Fully typed.
pnpm add @nexartis/nexartis-nanda-node-sdkProject NANDA ↗ — Networked AI Agents in Decentralized Architecture — is an open agent-discovery protocol that originated at MIT Media Lab ↗. Think of it as DNS for AI agents: a decentralized layer for naming, trust, discovery, and orchestration on the agentic web.
The Nexartis NANDA Node (NNN) is Nexartis’ open-source implementation of the protocol, running on Cloudflare Workers. A single NNN instance provides the NANDA Index, .well-known/agent-card.json A2A endpoints, agent certification and reputation scoring, compliance auditing, webhook delivery, federation (CRDT gossip) with peer nodes, and a DAG orchestration engine for multi-agent workflows.
This SDK is the official TypeScript client for that API.
Uses the platform fetch. Nothing to bundle, nothing to audit. Ships as typed ESM.
Runs on Cloudflare Workers, Node 20+, Bun, Deno, and modern browsers — no shims required.
End-to-end TypeScript with discriminated-union errors and namespaced APIs per NNN capability.
Automatic retries with backoff, per-endpoint circuit breaker, request deduplication, response caching.
W3C Trace Context propagation out of the box. Drop it in a traced Worker and spans light up for free.
Published via OIDC Trusted Publishing with SLSA provenance attestations. No long-lived npm tokens.
Register an agent and discover others on the network. Runnable examples live in the examples/ directory ↗.
import { NnnClient } from '@nexartis/nexartis-nanda-node-sdk';
const client = new NnnClient({
baseUrl: 'https://nanda.nexartis.com',
apiKey: process.env.NNN_API_KEY,
});
// Register an agent on the NANDA network
await client.agents.register({
agent_id: 'my-code-review-agent',
agent_url: 'https://my-agent.example.com',
capabilities: ['code-review', 'security-audit'],
trust_score: 0.9,
});
// Discover peers by capability (auto-paginating)
for await (const agent of client.agents.searchAll({ capabilities: ['code-review'] })) {
console.log(agent.agent_id, agent.trust_score);
}
Explore every namespace in the API reference →
Cubicube is the Nexartis platform for deploying full-stack edge applications. Register a custom .link domain, get automatic SSL via Cloudflare for SaaS, and spin up an isolated NANDA Node on Workers for Platforms — all from one console.
.link domain via Name.com, auto-provisioned SSL