RPC Pattern Built-In
Request/Reply semantics with Promise-based async communication. No more callback hell or polling.
AI-Powered • Resilient • Cross-Platform

Traditional event buses are simple but fragile. They don't handle:
Nexus Orchestrator solves these problems with a next-generation architecture inspired by production systems at scale.
import { Nexus } from '@caeligo/nexus-orchestrator';
const bus = new Nexus({
replayMemory: 50, // Keep last 50 events
predictionThreshold: 0.7, // Enable AI predictions
debug: true // DevTools integration
});
// Request/Reply Pattern
const user = await bus.request('user:fetch', { id: 123 });
console.log(user.name);
// Priority Lanes
bus.emit('analytics:track', data, { priority: 'background' });
bus.emit('ui:alert', message, { priority: 'critical' });
// State Cursors
const authCursor = bus.cursor('auth:state', { loggedIn: false });
console.log(authCursor.value); // Always sync access
// Resilience
bus.on('api:call', handler, {
attempts: 3, // Retry 3 times
backoff: 1000, // 1s between retries
fallback: (err) => showOfflineMode()
});npm install @caeligo/nexus-orchestratorReady to dive deeper? Get Started →