agenda /agenda

Lightweight job scheduling for Node.js

★ 9,714⑂ 846👁 114⑃ 863● 890▤ 75
HTMLNOASSERTIONCreated 2013-10-29agenda.github.io/agenda/
+1
日增长
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

Discussions

Latest release

[email protected] [email protected] 2026-11-13
Patch Changes

- Updated dependencies [6f57ce1]
- Updated dependencies [1f4d6a5]
  - [email protected]

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON