Skip to content
Back to skills

Run Durable Scheduled Agent Jobs In Node Js With Agenda

ASecurity

Use Agenda when a custom Node.js agent needs persistent scheduled jobs, retries, locking, and background workers backed by MongoDB, PostgreSQL, or Redis instead of fragile in-process timers.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgosqlnodegitdatabasebackendsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add agentskillexchange/skills --skill run-durable-scheduled-agent-jobs-in-node-js-with-agenda --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Run Durable Scheduled Agent Jobs In Node Js With Agenda?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Run Durable Scheduled Agent Jobs In Node Js With Agenda
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-run-durable-scheduled-agent-jobs-in-node-js-with-a/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-run-durable-scheduled-agent-jobs-in-node-js-with-a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Run durable scheduled agent jobs in Node.js with Agenda"
slug: "run-durable-scheduled-agent-jobs-in-node-js-with-agenda"
description: "Use Agenda when a custom Node.js agent needs persistent scheduled jobs, retries, locking, and background workers backed by MongoDB, PostgreSQL, or Redis instead of fragile in-process timers."
github_stars: 9677
verification: "security_reviewed"
source: "https://github.com/agenda/agenda"
author: "Agenda"
publisher_type: "open_source_collective"
category: "Templates & Workflows"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "agenda/agenda"
  github_stars: 9677
  npm_package: "agenda"
  npm_weekly_downloads: 167228
---

# Run durable scheduled agent jobs in Node.js with Agenda

Use Agenda when a custom Node.js agent needs persistent scheduled jobs, retries, locking, and background workers backed by MongoDB, PostgreSQL, or Redis instead of fragile in-process timers.

## Prerequisites

Node.js, the agenda npm package, and a supported persistence backend such as MongoDB, PostgreSQL, or Redis.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install agenda
- npm install @agendajs/mongo-backend
- npm install @agendajs/postgres-backend
- npm install @agendajs/redis-backend

Requirements and caveats from upstream:
- A light-weight job scheduling library for Node.js
- **ESM-only** - Modern ES modules (Node.js 18+)
- If your MongoDB deployment is a replica set (even a single-node replica set works), you can use MongoChangeStreamNotificationChannel for native real-time notifications without any external dependencies:

Basic usage or getting-started notes:
- **For MongoDB:** Install the official MongoDB backend:
- You will need a working [MongoDB](https://www.mongodb.com/) database (v4+).
- **For PostgreSQL:** Install the official PostgreSQL backend:

- Source: https://github.com/agenda/agenda
- Extracted from upstream docs: https://raw.githubusercontent.com/agenda/agenda/HEAD/README.md

## Documentation

- https://agenda.github.io/agenda/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-durable-scheduled-agent-jobs-in-node-js-with-agenda/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.