provider-eventbus

Manage in-process pub/sub and NATS JetStream for typed event streaming.

5|2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/project-ax/ax --skill provider-eventbus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provider-eventbus
Source: https://github.com/project-ax/ax/tree/main/.claude/skills/ax/provider-eventbus
Command: npx skills add https://github.com/project-ax/ax --skill provider-eventbus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust and flexible event bus for real-time, typed publish-subscribe messaging, abstracting different transport mechanisms like in-process pub/sub and NATS JetStream.

Core Features & Use Cases

  • Real-time Pub/Sub: Enables components to emit and subscribe to events asynchronously.
  • Transport Abstraction: Supports in-process (in-memory) and NATS JetStream for scalable event routing.
  • Use Case: Monitor system health by subscribing to StreamEvents emitted by various services, allowing for immediate reaction to critical changes or errors.

Quick Start

Use the provider-eventbus skill to subscribe to all global events.

Frequently Asked Questions about provider-eventbus

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage real-time event streams for asynchronous communication between system components?

To manage real-time event streams, this Skill provides a typed publish-subscribe event bus that abstracts transport mechanisms, enabling components to emit and subscribe to events asynchronously.

Does this event bus support NATS JetStream for scalable event routing?

Yes, the event bus supports NATS JetStream alongside in-process pub/sub. This transport abstraction allows you to scale real-time event routing from local in-memory messaging to distributed streaming.

How does in-process pub/sub compare to using NATS JetStream for event streaming?

In-process pub/sub offers lightweight in-memory event routing for local components, while NATS JetStream provides durable, scalable event streaming. This Skill abstracts both implementations behind a single typed interface.

Can I subscribe to global and per-request events with listener management?

Yes, you can subscribe to global and per-request events. The event bus includes listener management with optional eviction policies to handle subscriptions and prevent memory leaks during real-time streaming.

When do I need a typed event bus for real-time streaming?

You need a typed event bus when components must react immediately to system changes, such as monitoring system health by subscribing to StreamEvents emitted by various services for real-time error detection.