Open Source Microservices Framework

Build Services.
Not Infrastructure.

BSB is an event-driven microservices framework with a pluggable architecture. Write your business logic. We handle the rest.

// Your entire service in a few lines
export class Plugin extends BSBService {
  async init(trace) {
    // Register listener - trace comes from caller
    await this.events.onReturnableEvent("user.validate",
      async (callerTrace, data) => ({ valid: true })
    );
  }
}

Your Learning Path

Whether you're building your first service or extending the framework itself, we've got you covered.

Why BSB?

E

Event-Driven by Default

Every service communicates through a typed event bus. Fire-and-forget, request-response, or broadcast - you choose the pattern.

P

Pluggable Everything

Swap RabbitMQ for Kafka. Switch console logs to Graylog. Change YAML config to Consul. Zero code changes.

T

Type-Safe Events

Define event schemas once. Get autocomplete, validation, and type checking across all your services.

C

Container-First

Designed for Docker and Kubernetes. Mount plugins at runtime. No rebuilds for configuration changes.

M

Multi-Language

Node.js today. Go, Python, C#, and more coming. Same event contracts across all implementations.

S

Production Ready

Built-in metrics, distributed tracing, graceful shutdown, and health checks. Battle-tested in production.

Choose Your Language

BSB supports multiple languages with consistent APIs and cross-language event compatibility.

Node.js Go (coming) Python (coming) C# / .NET (coming) Java (coming)

Built-in Core Plugins

BSB ships with sensible defaults. These core plugins are part of the framework and ready to use.