{
 "kind": "tool",
 "slug": "celery",
 "path": "tools/celery/",
 "name": "Celery",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Jobs, queues and workflows",
   "tools/jobs-workflows/"
  ]
 ],
 "lead": "Distributed task queue for Python executing jobs asynchronously across workers.",
 "chips": [
  {
   "label": "Jobs, queues and workflows",
   "path": "tools/jobs-workflows/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install celery"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/celery/celery"
  },
  {
   "label": "Website",
   "href": "https://docs.celeryq.dev/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license field.",
   "src": "https://github.com/celery/celery"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 5, 2026. ",
   "src": "https://github.com/celery/celery"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "37 projects",
   "status": "info",
   "sub": "#4 of 48 in its category",
   "note": "Dependency in 37 public GitHub projects set up for AI coding agents that we scanned (0.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Celery does",
   "parts": [
    {
     "t": "prose",
     "text": "Celery passes task messages through a broker you choose, keeps results off unless you add a result backend, and uses a message protocol that the README says other languages can implement."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Celery popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "70",
       "of": "/ 100",
       "l": "Gid Score, #363 overall"
      },
      {
       "n": "13.3M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "29.3K",
       "l": "GitHub stars"
      },
      {
       "n": "37",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Celery is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Celery is a dependency in 37 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.3% of the 1,623 Python ones), #4 of 48 in jobs, queues and workflows.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 162; those are left out of every share on this page.",
      "The most used alternative in our scan is arq (4 projects).",
      "Projects that use it most often also use redis (Python) (83.8%), Uvicorn (75.7%), FastAPI (73.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "21 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "19 projects, 0.8%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "10 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 83.8% of its projects",
       "v": "redis (Python)",
       "path": "tools/redis-pypi/"
      },
      {
       "l": "In 75.7% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 73.0% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 62.2% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 62.2% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 62.2% of its projects",
       "v": "SQLAlchemy",
       "path": "tools/sqlalchemy/"
      },
      {
       "l": "In 54.1% of its projects",
       "v": "Alembic",
       "path": "tools/alembic/"
      },
      {
       "l": "In 54.1% of its projects",
       "v": "Pydantic Settings",
       "path": "tools/pydantic-settings/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "Celery in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "A protocol other languages can speak",
       "v": "The README says the message protocol \"can be implemented in any language\". It lists other implementations: node-celery for Node.js, a PHP client, gocelery and gopher-celery for Go, and rusty-celery for Rust."
      },
      {
       "l": "Queue and delay chosen per call",
       "v": "<code>delay()</code> is a shortcut. <code>apply_async()</code> lets you set the target queue and a countdown for each call, as in <code>add.apply_async((2, 2), queue='lopri', countdown=10)</code>."
      },
      {
       "l": "Wolt recommends chord for fan-out work",
       "v": "Wolt's engineering post recommends <code>chord</code> for jobs that collect data from several sources and then build a report. It argues this runs collection in parallel and lets each piece be retried on its own."
      },
      {
       "l": "Retries with backoff in the decorator",
       "v": "Wolt's post gives an example that sets <code>autoretry_for</code>, <code>retry_backoff</code> and <code>max_retries</code> on the task decorator, so a failing third-party API call is retried with growing delays."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Windows is not supported",
       "v": "The maintainers say Windows \"should be working\" but is not supported, and they ask users not to open issues about it."
      },
      {
       "l": "Python 3.10 needed from 5.7",
       "v": "The README says 5.6.x is the last series to support Python 3.9. Older Pythons need older Celery releases."
      },
      {
       "l": "Redis as broker is less durable",
       "v": "The docs call Redis feature-complete as a broker. They also say it is more exposed to data loss than RabbitMQ."
      }
     ]
    },
    {
     "t": "h3",
     "text": "One of the simplest Celery apps"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Python",
       "code": "from celery import Celery\n\napp = Celery('hello', broker='amqp://guest@localhost//')\n\n@app.task\ndef hello():\n    return 'hello world'"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about Celery",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/celery",
        "Open Collective: https://opencollective.com/celery",
        "Tidelift: https://tidelift.com/funding/github/pypi/celery",
        "5 GitHub sponsors"
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "redis: Redis client",
        "python-dotenv: .env config loading",
        "uvicorn: ASGI server",
        "fastapi: Web API framework",
        "pydantic: Data validation",
        "requests: HTTP client"
       ]
      },
      {
       "title": "More in Jobs, queues and workflows",
       "path": "tools/jobs-workflows/",
       "items": [
        {
         "text": "APScheduler",
         "path": "tools/apscheduler/"
        },
        {
         "text": "Croner",
         "path": "tools/croner/"
        },
        {
         "text": "node-cron",
         "path": "tools/node-cron/"
        },
        {
         "text": "BullMQ",
         "path": "tools/bullmq/"
        },
        {
         "text": "croniter",
         "path": "tools/croniter/"
        },
        {
         "text": "Inngest",
         "path": "tools/inngest/"
        },
        {
         "text": "schedule",
         "path": "tools/schedule/"
        },
        {
         "text": "Socket.IO Redis Adapter",
         "path": "tools/socket-io-redis-adapter/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Celery",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 70",
        "13.3M/wk"
       ]
      },
      {
       "name": "arq",
       "why": "Job queue for Python with asyncio and Redis.",
       "path": "tools/arq/",
       "facts": [
        "MIT",
        "Gid 47",
        "1.7M/wk"
       ]
      },
      {
       "name": "Huey",
       "why": "Small task queue for Python with Redis or SQLite.",
       "path": "tools/huey/",
       "facts": [
        "MIT",
        "Gid 51",
        "4.8M/wk"
       ]
      }
     ],
     "more": "Compare Celery with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install celery"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## Celery\n- Create the Celery app where other modules can import it. For larger projects use a dedicated module such as `proj/celery.py`, and list task modules in `include=[...]` so the worker can find them.\n- Results are disabled by default. Only set a `backend` when you need state or return values. Otherwise leave results off, or set `@task(ignore_result=True)` on single tasks.\n- With a result backend, call `get()` or `forget()` on every `AsyncResult`. Do not rely on `result.get()` in normal flow, because it turns the asynchronous call into a synchronous one.\n- Use `apply_async()` instead of `delay()` when a call needs a specific `queue` or `countdown`.\n- Keep periodic task intervals and task routing options in a central configuration module instead of hard-coding them.\n- When raising worker concurrency with `-c`, note the docs say more than twice the number of CPUs is rarely effective.\n- In production, run workers in the background with `celery multi` or a tool like supervisord. Use `celery multi stopwait` so running tasks complete before exit.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi celery"
  ],
  [
   "Category",
   "Jobs, queues and workflows"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Latest version",
   "v5.6.3, March 26, 2026"
  ],
  [
   "On GitHub since",
   "April 2009"
  ],
  [
   "Gid Score",
   "70.5"
  ],
  [
   "Rank in category",
   "#4 of 48"
  ],
  [
   "GitHub",
   "celery/celery"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/celery.png"
}