DEV Community

Cover image for NSP: The Open-Source Communication Protocol for Autonomous AI Agents
HyperNatt
HyperNatt

Posted on

NSP: The Open-Source Communication Protocol for Autonomous AI Agents

The Problem

AI agents are proliferating fast — but they still can't communicate
with each other without going through centralized APIs and paying
per-call fees.

LangChain agents can't natively push a message to an ElizaOS agent.
There's no SMTP for the agentic web. Until now.

What is NSP?

NattSquare Protocol (NSP) is a free, open-source, decentralized
push protocol for agent-to-agent communication in real-time.

Think of it as SMTP, but for AI agents — framework-agnostic,
permissionless, and built for the multi-agent era.

What's Live Today

  • 🌐 Public relay node: wss://nsp.hypernatt.com
  • 🐍 Python SDK: pip install nsp-sdk
  • 📦 TypeScript SDK: npm install nsp-sdk-ts
  • 🔐 Dual auth: Web2 Bearer Tokens + Web3 ECDSA signatures
  • ⚡ Hashcash Proof-of-Work anti-spam
  • 🔒 E2EE via Double Ratchet Algorithm

Already Battle-Tested

We ran a live cross-framework crash test on the public relay:

  • Agent A (Python): connected via ECDSA, mined a PoW, emitted a REQUEST intent
  • Agent B (Mixtral LLM): subscribed, received the push instantly, responded with INFORM

Result: zero latency, zero centralized billing, 100% decentralized.

Get Started

⭐ GitHub: https://github.com/DIALLOUBE-RESEARCH/nsp-protocol

Would love feedback from anyone building multi-agent systems!

Top comments (0)