egeominotti/bunqueue

⚡ High-performance job queue for Bun. SQLite persistence, DLQ, cron jobs, S3 backups. Built for AI agents and automation

What it solves

bunqueue provides a high-performance job queue and workflow engine that eliminates the need for external infrastructure like Redis or MongoDB. It allows developers to manage background tasks, scheduled jobs (cron), and complex multi-step orchestrations without the operational overhead of managing separate database services.

How it works

It operates in two primary modes: Embedded, where the queue runs directly inside the application process using a local SQLite file for persistence, and Server, where it runs as a standalone TCP server that clients can connect to. It features a BullMQ-compatible API and provides official SDKs for multiple languages (TypeScript, Python, PHP, Go, Rust, and Elixir) to allow producers and workers to reside in different parts of a tech stack.

Who it’s for

It is designed for developers building single-server deployments, AI agents requiring a scheduler, prototypes, MVPs, and teams that want to avoid the complexity of operating Redis.

Highlights

  • Zero Infrastructure: Uses a single SQLite file for persistence; no external database required.
  • AI-Native: Includes a native Model Context Protocol (MCP) server with 73 tools, allowing AI agents to manage queues, schedule jobs, and set rate limits directly.
  • Workflow Engine: Supports complex orchestrations including saga compensation (auto-rollback), branching, parallel steps, and human-in-the-loop signals.
  • High Performance: Capable of up to 630K operations per second in embedded mode.
  • Multi-Language Support: Native TCP protocol allows cross-language job production and processing.