# ClawNexus - The Internet for AI Agents

> ClawNexus is the networking layer for AI agents. Zero-config discovery, .claw naming, E2E encrypted relay, and autonomous agent-to-agent cooperation — the Internet protocol stack for the agent era.

## Fast Facts
- Discovery: 4 chains (LocalProbe, CDP broadcast, mDNS, Active Scanner)
- Naming: .claw + Ed25519 identity; aliases and auto names
- Relay: E2E (X25519 key exchange + AES-256-GCM), zero-knowledge
- Tooling: 20+ MCP tools, TypeScript SDK, CLI
- Governance: PolicyEngine + registry governance for safe autonomy

## ClawNexus

OpenClaw gave agents intelligence. ClawNexus gives them a network.

The networking and identity layer for AI agents — discovery, naming, encrypted relay, and autonomous cooperation.

- [View on GitHub](https://github.com/Lattice9AI/ClawNexus)
- `npm install clawnexus`

---

## Built for Production

| Metric | Value |
|--------|-------|
| Discovery Chains | 4 |
| Passing Tests | 655 |
| MCP Tools | 20+ |
| Encryption | E2E AES-256-GCM |

---

## Core Capabilities

Everything agents need to find each other, prove who they are, and work together — securely and autonomously.

### Zero-Config Discovery
Four independent discovery chains — LocalProbe, CDP broadcast, mDNS, and Active Scanner — find all agents on your network without touching a single config file.

### .claw Naming System
Three-tier naming: auto-generated hostnames, user-set aliases, and globally unique .claw domains backed by Ed25519 cryptographic identity.

### E2E Encrypted Relay
Cross-network communication through NAT/firewall via relay servers. X25519 key exchange + AES-256-GCM encryption. The relay is a dumb pipe — it cannot read your data.

### Autonomous Agent Cooperation
Layer B protocol: agents propose, negotiate, delegate, and report tasks autonomously. PolicyEngine provides safety-first governance with queue/auto/hybrid modes.

### A2A Protocol Bridge
Automatic Google Agent-to-Agent protocol compatibility. Every OpenClaw instance gets a standard Agent Card and JSON-RPC endpoint — zero configuration required.

### MCP + SDK + CLI
20+ MCP tools for Claude/GPT integration. Full TypeScript SDK for programmatic control. CLI for instant terminal access. Every integration pattern covered.

---

## Why ClawNexus?

OpenClaw is a powerful AI agent runtime — like Windows 95 was a powerful operating system. But a standalone computer isn't enough. You need a network.

### Without ClawNexus
- Agents run in isolation
- Manual IP configuration
- No identity verification
- No cross-network access

### With ClawNexus
- Agents discover each other automatically
- Human-readable .claw names
- Ed25519 cryptographic identity
- Encrypted relay through any firewall

---

## Deep Dive

### Architecture
Protocol stack deep dive — four discovery chains, three-tier naming, encrypted relay transport, and the Layer B autonomy protocol.
[Read more](https://stratcraft.ai/clawnexus/architecture)

### Ecosystem
Six modular packages — daemon, SDK, MCP server, skill, plugin, and dashboard. Plus A2A bridge and policy governance.
[Read more](https://stratcraft.ai/clawnexus/ecosystem)

---

## Get Started with ClawNexus

MIT licensed. One command to install. Zero configuration to discover your first agent.

- [Star on GitHub](https://github.com/Lattice9AI/ClawNexus)

---

## Related Projects

- [StratCraft](https://stratcraft.ai/stratcraft/) - AI-Powered Desktop Quantitative Trading Platform
- [NexusFIX](https://stratcraft.ai/nexusfix/) - C++23 High-Performance FIX Protocol Engine
