+1
Daily
9,714
stars
846
forks
114
watchers
863
prs
890
issues
75
releases
README
Agenda A light-weight job scheduling library for Node.js Migrating from v5? See the Migration Guide for all breaking changes. What's New in v6 - ESM-only - Modern ES modules (Node.js 18+) - Pluggable backend system - New AgendaBackend interface for storage and notifications - Real-time notifications - Optional notification channels for instant job processing - MongoDB 6 driver - Updated to latest MongoDB driver - Persistent job logging - Optional structured logging of job lifecycle events to database - Monorepo - Now includes agenda, agendash, and agenda-rest packages Key Features - Complete rewrite in TypeScript (fully typed!) - Pluggable backend - MongoDB by default, implement your own (see Custom Backend Driver) - Real-time notifications - Use Redis, PostgreSQL LISTEN/NOTIFY, MongoDB Change Streams (Native) or custom pub/sub - MongoDB 6 driver support - touch() with optional progress parameter (0-100) - getRunningStats() for monitoring - Fork mode for sandboxed job execution - Automatic connection handling - Creates indexes automatically by default Agenda offers - Minimal overhead. Agenda aims to keep its code base small. - Mongo backed persistence layer. - Promises based API. - Scheduling with configurable priority, concurrency, repeating and persistence of job results. - Scheduling via cron or human readable syntax. - Event backed job queue that you can hook into. - Agenda-rest: optional standalone REST API. - Inversify-agenda - Some utilities for the development of agenda workers with Inversify. - Agendash: optional standalone web-interface. Feature Comparison Since there are a few job queue solutions, here a table comparing them to help you use the one that better suits your needs. | Feature | BullMQ | Bull | Bee | pg-boss | Agenda | | :------------------------- | :-------------: | :-------------: | :------: | :-----------------: | :---------------------: | | Backend | redis | redis | redis | postgres | mongo, postgres, redis | | Status | Active | Maintenance | Stale | Active | Active | | TypeScript | ✓ | | | ✓ | ✓ | | Priorities | ✓ | ✓ | | ✓ | ✓ | | Concurrency | ✓ | ✓ | ✓ | ✓ | ✓ | | Delayed jobs | ✓ | ✓ | | ✓ | ✓ | | Global events | ✓ | ✓ | | | ✓ | | Rate Limiter | ✓ | ✓ | | ✓ |
Top issues
#1648Calling for maintainers32 comments · 2026-01-27#1802Agendash shows wrong dates on "All jobs" page3 comments · 2026-07-25#1808MongoDB findAndLockNextJob index doesn't perform well0 comments · 2026-10-27#1803Make the agenda/testing package available for testing conformance of custom backends.0 comments · 2026-07-28#1779repeatAt ignores repeatTimezone (wrong wall-clock time on non-local servers)0 comments · 2026-06-17#1748backoff jitter can exceed maxDelay0 comments · 2026-06-17#1746job.touch() without an argument wipes progress0 comments · 2026-06-17#1737async notification handler errors are swallowed0 comments · 2026-06-16
Discussions
#1804Lost Jobs on Backend Restart1 comments · 2026-10-08#1598Still maintained?1 comments · 2025-03-31#1594Agenda Context0 comments · 2025-02-04#1580How to query for jobs created within a certain date range?0 comments · 2024-04-11#1571We are moving our Microservices in JS to move from from Node JS 8 to 20 which agenda lib we should use0 comments · 2024-02-02#1559Does it run past scheduled events if the service wasnt running?0 comments · 2023-11-09#1540Creating jobs without executing.1 comments · 2023-06-18#1537Dynamically create jobs1 comments · 2023-05-24
Latest release
[email protected] [email protected] 2026-11-13Patch Changes - Updated dependencies [6f57ce1] - Updated dependencies [1f4d6a5] - [email protected]