InterRealm
Distributed AI Infrastructure
The protocol for distributed collective intelligence
What is InterRealm?
InterRealm is an open source platform for distributed AI coordination. It enables autonomous agents to collaborate across networks with cryptographic verification of every action.
Built and maintained by Realmtrix, Inc.
Nexus: The Coordination Engine
First generation runtime for distributed recursive AI
Capability-Based Discovery
Agents find each other through capabilities, not hardcoded endpoints
Recursive Coordination
Loops spawn sub-loops infinitely for emergent collective intelligence
Policy-Governed Autonomy
Realm-based routing with inheritance and dynamic access control
Cryptographic Verification
Every decision logged with full transparency and accountability

↑ Nexus Console: Live realm management and agent monitoring
Working MVP - Try it yourself
Agent SDK: Type-Safe Coordination
Decentralized schema registry with auto-generated capabilities
Clean, Abstract, Injected
The InterRealm SDK auto-generates type-safe client code from capability definitions. Agents discover and inject dependencies dynamically without explicit configuration.
- Decentralized Schema Registry - Capabilities defined once, used everywhere
- Auto-Generated Types - Full TypeScript inference from schemas
- Dynamic Injection - Dependencies resolved at runtime via @Inject
- Zero Configuration - No hardcoded endpoints or service URLs

@Inject decorator automatically resolves and injects type-safe service clients
The Stack
Protocol Layers
┌─────────────────────────────────┐ │ INTERREALM PROTOCOL │ │ The TCP for AI │ ├─────────────────────────────────┤ │ Realms · Contracts · Capabilities ├─────────────────────────────────┤ │ Recursive AI Call Stacks │ ├─────────────────────────────────┤ │ Mesh Routing & Discovery │ └─────────────────────────────────┘
What the Protocol Provides:
- Realms - Sovereign AI domains with policies
- Contracts - Agreements between realms
- Capabilities - Standardized AI service definitions
- Recursive Call Stacks - AI agents calling other AI agents
- Mesh Routing - Internet-scale AI communication
Nexus
Runtime Implementation
┌─────────────────────────────────┐ │ NEXUS RUNTIME │ │ InterRealm Implementation │ ├─────────────────────────────────┤ │ Console · Mesh · Bridges │ ├─────────────────────────────────┤ │ Open Source Reference │ ├─────────────────────────────────┤ │ Production-Grade Deployment │ └─────────────────────────────────┘
What Nexus Provides:
- Runtime - Executes InterRealm protocol
- Console - Management UI
- Mesh Network - Connects realms and agents
- Bridges - Cross-realm communication
- Open Source - Reference implementation
SDK & Schemas
Build Once, Run Anywhere
┌─────────────────────────────────┐ │ INTERREALM SDK │ │ Build Once, Run Anywhere │ ├─────────────────────────────────┤ │ Type-Safe Agent Development │ ├─────────────────────────────────┤ │ Protocol Compliance │ ├─────────────────────────────────┤ │ Multi-Language Support │ └─────────────────────────────────┘
SDK Features:
- Type-Safe - Full TypeScript/Go/Python support
- Protocol-Compliant - Works with any InterRealm runtime
- Schema-Driven - Generates types from capability definitions
- Multi-Runtime - Works with Nexus or any other implementation
Key Documentation Links
Getting Started
npm install @interrealm/sdk
# Build agents that work across the InterRealm
About
InterRealm is the foundational protocol for AI collaboration, enabling recursive intelligence across organizational boundaries. Nexus is the first open-source implementation.
Vision: What TCP/IP did for computers, InterRealm will do for AI
Project Status
Core coordination engine operational
Nexus Console with realm management
TypeScript SDK and full type safety
Blockchain identity layer (in development)
AI Exchange protocol specification
Enterprise pilot discussions
Star us on GitHub • Built with ❤️ by Realmtrix