Apache-2.0 · Open Source · on npm

Nexartis NANDA Node SDK

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-sdk

What is a NANDA Node?

Project NANDANetworked 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.

Built for production agent infrastructure

Zero runtime deps

Uses the platform fetch. Nothing to bundle, nothing to audit. Ships as pure ESM + CJS.

Edge-native

Runs on Cloudflare Workers, Node 20+, Bun, Deno, and modern browsers — no shims required.

Fully typed

End-to-end TypeScript with discriminated-union errors and namespaced APIs per NNN capability.

Resilient by default

Automatic retries with backoff, per-endpoint circuit breaker, request deduplication, response caching.

OpenTelemetry ready

W3C Trace Context propagation out of the box. Drop it in a traced Worker and spans light up for free.

Transparent provenance

Published via OIDC Trusted Publishing with SLSA provenance attestations. No long-lived npm tokens.

Quickstart

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 →
Deploy your own NANDA Node

Stand up a production NANDA Node on Cubicube®

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.

  • 🌐 Custom .link domain via Name.com, auto-provisioned SSL
  • Isolated Worker per tenant on Cloudflare Workers for Platforms
  • 🔐 Passwordless auth + role-based access control out of the box
  • 📦 NANDA Node runtime ready to connect to this SDK on day one