Background operations

Planned scheduled tasks, durable event reactions, retries, and execution history without your own workers.

PlannedBusiness logic and automation module. Not available yet. Edict is in development.

Illustrative scheduled and event-driven jobs

AgentEdit edict.yaml+10illustrative
Illustrative scheduled and event-driven jobs. Line number, change, code. Lines under modules are added.
1modules:
2+Added jobs:
3+Added daily_summary:
4+Added schedule: "0 7 * * *"
5+Added timezone: user
6+Added run: summarize_activity
7+Added render_image:
8+Added on: image.requested
9+Added retries: 3
10+Added backoff: exponential
11+Added history: true

The syntax is not final. Your coding agent would edit this file.

What is the planned Background operations module designed to do?

A lot of app behavior happens when nobody is looking at the screen. A reminder goes out at 7 in the morning. A trial expires. A generated image finishes after thirty seconds. The planned background operations module covers scheduled tasks, durable event reactions, background jobs, retry handling, time-based expiration, controlled calls to external services, and execution history and diagnostics.

Developers should configure the behavior they want rather than implement and host their own job workers. That is the intent: no queue to run, no cron host to keep alive, no worker code to deploy.

How does the Background operations module connect to other modules?

Background jobs are planned as the engine that other modules lean on for time and durability.

  • Background jobs + Push notifications. A scheduled reminder is designed as a job that sends a template. Per-user timezones are meant to be handled by the schedule.
  • Background jobs + AI gateway. Slow provider calls are designed to run as jobs that survive a client disconnect, so the result can be stored and the user told when it is ready.
  • Background jobs + Database. Jobs are designed to read and update records, for example to expire old invitations or archive finished items.
  • Background jobs + Business logic. A rule can enqueue work, such as recalculating a leaderboard, and the job layer is designed to run it with retries.
  • Authentication + Database + Background jobs. Together they are designed to support per-user recurring work, such as a weekly summary built from one user’s records.

Because jobs are durable, the intent is that a restart does not lose work that was already accepted.

What would you configure in the Background operations module?

You declare schedules or the events that start a job, the action it runs, its retry and backoff settings, and how long history is kept. For time-based expiration, you set the rule on the record, such as an invitation that ends after a set period.

The configuration on this page is illustrative. The syntax is not final.

What stays your own code with the Background operations module?

Custom processing that is unique to your product, such as a proprietary scoring routine, is still your logic to define. Edict is designed to run declared actions reliably. It is not meant to host arbitrary long-running programs. You also decide what is worth running in the background and what a failure should mean for your users.

Is the Background operations module available yet?

Planned. Edict is in development, and this module is not available. Production deployment, performance, and scale are not claimed until they are built and measured.

Join the beta waitlist to follow progress.

What does the Background operations module work with?

Background operations is designed to connect to 4 other modules. The lit arcs on the map show which.

Composition mapplanned, illustrative
  • Database and backend APIs

    Planned PostgreSQL-backed entities, relationships, and typed APIs generated from your schema.

  • Push notifications

    Planned device registration, templates, and event-triggered or scheduled notifications.

  • AI gateway

    Planned secure AI provider access with metering, quotas, rate limits, and streaming.

  • Declarative business logic

    Planned typed rules for quotas, streaks, capacity, credits, and state changes, written as configuration.

Common questions about the Background operations module

Short answers about this planned module.

Do I need to host a worker?
No. Developers are meant to configure the behavior they want instead of implementing and hosting their own job workers.
What happens when a job fails?
Retry handling and execution history are planned, so failures can be retried and inspected. Exact behavior is not final.
Can a job call outside services?
Controlled calls to external services are planned. Each one will be declared in configuration, not hidden in code.

Get an invitation when the beta opens.

Joining gets you email updates while Edict is built, and an invitation to the hosted beta when it opens.

Building now. No launch date yet.