🛠 We are currently running final tests on the desktop application and completing setup adjustments to ensure a smooth experience from day one. Full access and official installers for Windows, macOS, and Linux will be available again shortly.

Scheduled tasks & reminders

Schedule local cron routines (AI or direct tools) and get the DEVFLOW.md to-dos when you open the project.

Scheduled tasks are routines that DevFlow AI's local engine runs on its own on a project, without you typing the message every time. For example:

  • Check outdated dependencies every morning and summarise the changes.
  • Run the unit tests every night.
  • Audit the project's security every Monday.

On top of that, when you open a project the app reminds you of the pending tasks in DEVFLOW.md.

How it works

Everything happens on your machine, through the app's local engine (Express on port 4545):

  1. The scheduler (node-cron) checks the cron expression of every active task.
  2. When the time comes, it runs the task in the background.
  3. It stores the result in the task (lastRun, lastResult), in the history and in .app_context/progress_log.md.
  4. The app shows a notification with the result (and a system notification if the window is in the background).

Tasks are stored in the engine's SQLite database and in .app_context/scheduled_tasks.json, a readable copy that travels with the repository: if you clone the project on another machine, the tasks are imported when you open it.

Create a task

  1. Open a project with an initialised DevFlow context.
  2. Click ⏰ Tasks in the top bar and then + New task.
  3. Enter a title (for example "Dependency audit").
  4. Choose the frequency with a shortcut (every morning, every night, every Monday, weekdays, every hour, every 15 minutes) or type a custom cron expression.
  5. Write the instruction and click Schedule task.

Two kinds of instruction

KindHow you write itWho runs it
AI agentFree text: "Check the dependencies and summarise the recommended changes. Do not modify files."The AI agent, in Agent Mode and in the background. Uses tokens (or your BYOK key). Requires the app open and signed in.
Toolstool blocks with exact calls.The engine directly, with no AI and no tokens.

Example of a no-AI task that runs the tests every night:

```tool
{"tool": "execute_command", "command": "npm test"}
```

Cron expressions

Five space-separated fields: minute hour day-of-month month day-of-week (0 = Sunday), in your machine's local time.

ExpressionMeaning
0 9 * * *Every day at 9:00
0 2 * * *Every night at 2:00
0 9 * * 1Every Monday at 9:00
0 8 * * 1-5Monday to Friday at 8:00
*/15 * * * *Every 15 minutes

Practical use cases

1. Daily dependency check (AI agent)

  • Frequency: every morning (0 9 * * *).
  • Instruction:
Run npm outdated and composer outdated. Summarise the outdated packages in a
table, separating patch, minor and major versions, and point out which ones
have breaking changes. Do not modify any file.

Every morning you will get the report in the app notice, in the history and in progress_log.md.

2. Nightly automated tests (no AI)

  • Frequency: every night (0 2 * * *).
  • Instruction:
```tool
{"tool": "execute_command", "command": "php artisan test"}
```
```tool
{"tool": "execute_command", "command": "npm test"}
```

It uses no tokens. If a test fails, the run is marked With errors and in the morning you can ask the agent to fix it.

3. Weekly status report (AI agent)

  • Frequency: every Monday (0 9 * * 1).
  • Instruction:
Read .app_context/progress_log.md and DEVFLOW.md and write a status report for
the last week: completed tasks, pending ones, risks and next steps. Save it in
docs/reports/ with the date in the file name.

AI agent tasks need the app open and signed in; Tools tasks only need the local engine running (that is, the app open).

Manage your tasks

From ⏰ Tasks you can, for each task:

  • See the next run, the last one and its result.
  • ▶ Run it now (handy to test it).
  • ⏸ Pause or ⏵ Resume it: the task keeps its configuration and history; it simply stops firing until you resume it.
  • ✎ Edit the title, frequency, instruction or whether it is enabled. When you click Save changes, the engine reschedules it right away with the new timing and updates scheduled_tasks.json.
  • 🕘 open the history filtered to that task only.
  • 🗑 Delete the task and its history.

History and change audit

The History tab shows the latest runs with their status: Completed, With errors, Skipped (for example, an AI task while the app was signed out) or No response. Use the All tasks selector to filter it by task.

Every run includes the line Agent changes: N modifications · M tools. Expand it to see, one by one, the tools that ran (which file was created or modified, which command was launched) and whether each one succeeded or failed. That way you know exactly what the agent touched while you were away. The same changes are logged in .app_context/progress_log.md.

Example: change a task's schedule

  1. In ⏰ Tasks, click ✎ Edit on "Nightly tests".
  2. Change the frequency from Every night (2:00) to Custom and type 30 23 * * 1-5 (Monday to Friday at 23:30).
  3. Click Save changes. The Next column shows the new run time.

Reminders when you open a project

When you open a project, the engine reads DEVFLOW.md and the app shows a notice with the pending items:

  • Unchecked boxes (- [ ] task), wherever they are.
  • Lists under headings such as "Pending tasks", "Next steps", "Próximas tareas" or "TODO".

From the notice you can expand the full list or open the tasks panel.

Security

Tasks use exactly the same filters as Agent Mode:

  • They never write to .app_context/, .git/, node_modules/ or vendor/.
  • Destructive commands and processes that never finish (servers, watchers) are blocked.
  • Every modified file keeps a .bak copy.
  • Everything runs locally: no DevFlow AI server ever accesses your code.

Last updated: November 26, 2026