timmeck/nexus
AI-to-AI Protocol Layer — Discovery, Trust, Protocol, Routing
Platform-specific configuration:
{
"mcpServers": {
"nexus": {
"command": "npx",
"args": [
"-y",
"nexus"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
AI-to-AI Protocol Layer | 9 Layers | 15 Features | 126 Tests
[](https://github.com/timmeck/nexus/actions/workflows/ci.yml) [](https://www.python.org/downloads/) [](LICENSE)
---
Nexus is a self-hosted protocol layer that enables AI agents to discover, negotiate, transact, and verify each other — without human intervention. Discovery + Trust + Routing + Payments + Federation + Adversarial Defense + Enterprise Policy in one system with enforced request lifecycle.
Think DNS + HTTPS + Payment Rails + Certificate Authority, but for AI agents.
Every request passes through a validated state machine: Policy Gate → Routing → Budget Check → Escrow → Forwarding → Trust Recording → Settlement. No shortcuts — if it's not in the lifecycle, it's not part of the protocol.
| Layer | What it does | |-------|-------------| | Discovery | Agent registry, capability search, heartbeat monitoring | | Trust | Reputation scoring, interaction tracking, trust reports | | Protocol | Standardized NexusRequest/NexusResponse format | | Routing | Best, cheapest, fastest, or most trusted agent matching | | Federation | Multiple Nexus instances sync agent registries across networks | | Payments | Credit wallets, pay-per-request, transaction history | | Schemas | Formal capability definitions (like OpenAPI for agent skills) | | Defense | Slashing, escrow, challenge mechanism, sybil detection | | Policy | Data locality (GDPR), compliance claims, edge gateway integration |
| # | Feature | Description | |---|---------|-------------| | 1 | Agent Registration | Register agents with capabilities, pricing, SLA | | 2 | Auth per Agent | API keys + HMAC
Loading reviews...