Document workspace-first agent automation (#2192)
* docs: explain workspace-first automation * docs: make automation examples self-contained
This commit is contained in:
+12
-11
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Schedules
|
||||
description: Run Paseo agents on a schedule — every few minutes or on a cron.
|
||||
description: Run fresh agents on cron schedules or wake an existing agent with a heartbeat.
|
||||
nav: Overview
|
||||
order: 25
|
||||
category: Schedules
|
||||
@@ -8,27 +8,28 @@ category: Schedules
|
||||
|
||||
# Schedules
|
||||
|
||||
A schedule runs an agent for you on a cadence: at this interval or cron time, run this prompt, in this repo, with this agent.
|
||||
A schedule starts a new agent for you on a cron cadence: at this time, run this prompt, in this repo, with these agent settings.
|
||||
|
||||
The target can be:
|
||||
Paseo also has **heartbeats**. A heartbeat sends a recurring prompt back into one existing agent so it can reassess and continue the same conversation.
|
||||
|
||||
- A new agent each run — fresh daily jobs and long-running watchers.
|
||||
- An existing agent — when you want continuity.
|
||||
- The agent that created the schedule — heartbeats from inside an agent.
|
||||
Both concepts use the same cron engine, but their product surfaces stay separate:
|
||||
|
||||
Cadence is either an interval, like every 30 minutes, or a cron expression, like every weekday morning. Every run is recorded, and you can pause, resume, run once, update, or delete a schedule at any time.
|
||||
- **Schedules** create a new agent each run. You can inspect, pause, resume, run once, update, or delete them.
|
||||
- **Heartbeats** target one existing agent. They are intentionally lightweight: create or delete them over MCP; from the CLI you can also update only their cron period.
|
||||
|
||||
Cron is the canonical cadence. The CLI accepts simple presets such as `5m` or `1h`, but compiles them to cron rather than storing a separate interval type.
|
||||
|
||||
## What it's for
|
||||
|
||||
- **Overnight refactors:** wake an agent every 30 minutes to continue a scoped refactor, run checks, and leave notes.
|
||||
- **Heartbeats:** have an agent periodically reassess state and keep moving.
|
||||
- **Build babysitting:** check CI, EAS, Docker, or release builds until they pass.
|
||||
- **Fresh recurring jobs:** start a clean agent for daily triage, reports, or maintenance.
|
||||
- **Heartbeats:** have the current agent periodically reassess state and keep moving.
|
||||
- **Build babysitting:** keep one agent checking CI, EAS, Docker, or release builds until they pass.
|
||||
- **Daily triage:** scan issues, PRs, and failing checks every morning.
|
||||
- **Maintenance sweeps:** refresh dependencies, audit docs, or clean stale branches.
|
||||
|
||||
## Ways to create one
|
||||
|
||||
- **In the app** — open the Schedules view and create one with an agent, a cadence, a repo, and a prompt. This is the main way to create and manage schedules.
|
||||
- **In the app** — open the Schedules view and create one with agent settings, a cron cadence, a repo, and a prompt. This is the main way to create and manage schedules.
|
||||
- **[From chat](/docs/schedules-chat)** — ask the agent in a chat and it sets the schedule up for you.
|
||||
- **[From the CLI](/docs/schedules-cli)** — `paseo schedule create`, for headless boxes and scripts.
|
||||
- **[Over MCP](/docs/mcp)** — agents create and manage schedules programmatically.
|
||||
|
||||
Reference in New Issue
Block a user