# Deploy a queue worker

Run the worker beside your application without setting up a second hosting system for background jobs. Tokay detects the API, worker process, and shared queue connection, then deploys them as separate Services in one Project.

## The worker stays available for new jobs

You do not need to supervise the process yourself. After you [push the repository](/getting-started), Tokay identifies workers built with Celery, BullMQ, Sidekiq, Laravel queues, and other queue libraries, then keeps the worker running and restarts it after a crash.

When the queue uses Redis, Tokay creates the resource in the Project and supplies the same connection to the API and worker through the environment variable their code already reads.

## Deployments give active work time to finish

Tokay replaces worker versions cleanly, reducing the chance that a routine deploy interrupts the job in hand. The old process receives a shutdown signal before the new version takes over, so code that handles graceful shutdown has time to finish or release its work.

The API and worker deploy independently. A change to one Service does not force an unchanged Service to redeploy.

## Queue behavior stays with your library

Your existing retry and delivery rules keep working because Tokay does not replace the queue framework. Celery, BullMQ, Sidekiq, or the Laravel queue system still owns jobs, acknowledgements, retries, and dead-letter behavior. Tokay owns the worker process, deploys, logs, secrets, and Redis resource.

The Resources tab includes a Redis console for checking queue state. Worker crashes keep their output, appear on the dashboard, and trigger incident and recovery email.

## Your AI agent can deploy both processes

A coding agent like Claude Code or Codex can return a verified API and worker without translating the queue code into a platform workflow SDK. Through Tokay's GraphQL API, it can submit the repo, confirm the detected Services, provide secrets, deploy both processes, and read the worker logs to verify its queue connection.

Point your agent to [app.tokay.io/llms.txt](https://app.tokay.io/llms.txt) for the deployment protocol.

Tokay has a very generous free tier with no credit card. [Get started](/getting-started).
