Blog

This post wrote itself (on a schedule)

Codecast triggers run full agent sessions on a timer. The proof is this blog: last week's post and this one were both written, unattended, by runs of the same weekly trigger.

the codecast team5 min read

Work that has a cadence

Some work is not a task; it is a rhythm. Check the ads spend every morning. Sweep for stalled sessions daily. Verify the site still renders for crawlers once a week. Write a blog post every Friday. Nobody forgets this work because it is hard — they forget it because it is periodic, and human attention is terrible at periodic.

The classic answer is cron, and cron runs scripts. A script can check a number and send an alert. It cannot read yesterday's campaign performance and decide which keywords to adjust, or notice that a verification failed and investigate why. A codecast trigger is cron for agents: on schedule, it starts a real agent session — tools, judgment, the full CLI — pointed at a briefing you wrote once.

The trigger that wrote this post

On August 8th we gave codecast a standing instruction: every seven days, write a blog post that shows off one feature, with real captures, and escalate if anything fails verification. Here is that trigger in the dashboard, photographed mid-run by the run that wrote it, a few minutes before these words were written:

The Weekly blog post trigger card in the codecast Triggers page, showing its every-7-days cadence, next run time, two past runs, and the prompt briefing with numbered steps
Trigger tr-39. Run #1 wrote last week's post. Run #2, six minutes old, is taking the screenshot.

The anatomy is all visible. A cadence (every 7d) and the exact next firing time. A run count with history — run #1, seven days ago, wrote the post about team memory; run #2 is this one, six minutes old at capture time. And the prompt, rendered as markdown, because the prompt is not a config string: it is the agent's entire briefing, and humans read it in the dashboard to know what their robot colleague has been told to do. Ours names the candidate features, the honesty rules for captures, a privacy gate for screenshots, and the verification steps that must pass before the post counts as done.

Setting one up is a short form. On the Triggers page, New trigger opens it at the top:

The New trigger form on the codecast Triggers page: a Prompt box, an optional Title, When with the choices now, in, every and on event, an Agent choice of claude or codex with a read-only checkbox, an optional Project path, and a Set trigger button
New trigger: what the agent should do, when, with which agent, and whether it may change anything.

The When row holds the three shapes. A delay (in…) is follow-up work that should happen after you walk away. An event (on event, such as a pull request opening or its checks going red) fires when the world changes, not when the clock does. A cadence (every…) is the weekly blog post. Tick read-only: report, don't change anything and the run can look and report, not act. A trigger's runs can continue one session with its full history, or start a fresh session each time, briefed only by the prompt; the list marks the second kind Fresh session per run. Agents set the same triggers from a terminal with cast trigger add, which is how most of ours were made: an agent finishing a job arms its own follow-up.

Each run is a session, not a log line

When a trigger fires, what you get is not a cron mail. It is a full session that lands in your inbox like any other agent's work — watchable live, steerable mid-run, searchable forever. Open a trigger and its page lists every run under Run history; click a run and you are in its session, at the message the trigger sent.

When we captured this page, the newest row in that history was one minute old: this run, the session writing this sentence. By the time you read this, its transcript shows every step behind every capture on this page. That is the part cron never gave you: when a scheduled job does something surprising, the full reasoning is one click away.

The contract runs both directions. A run that finishes reports a summary, which becomes the last-result line on the trigger's row, so the list of triggers doubles as a status board. A run that gets stuck files itself under Needs You in your inbox, exactly like any blocked agent. Quiet when things work, loud when they don't.

A team of standing agents

One trigger is a convenience. A dozen is something else: a roster of recurring jobs your team used to carry in their heads, each now owned by an agent with a briefing and a paper trail. This repository's list, the day this post was written, had an ads optimization run every day, this blog every week, and a crawler health check every week, its last-result line already reporting all green from its latest run. The top of the page draws the whole roster as a timeline, every run in the next and last twenty-four hours on one axis:

The Triggers page header showing 18 active triggers, 15 recurring, 3 one-time, next run in 11h 58m, 1077 total runs, health ok, and a 24-hour timeline of past and upcoming runs
The account's trigger dashboard at capture time: 1,077 runs to date, next one in about twelve hours.

One thousand and seventy-seven runs. Each one was a moment somebody did not have to remember something.

The loop closes

There is something pleasingly circular about a scheduled agent writing the post that explains scheduled agents, photographing its own briefing, and citing its own run history as evidence. But the circularity is the point. The feature is not “agents can run on a timer” — it is that recurring work can be delegated whole: the doing, the verifying, and the reporting back. If this post had failed its checks, the run would have escalated instead of publishing, and you would be reading silence.

Codecast is where your team sees, steers, and remembers every coding agent session — any agent, any machine.

The trigger card and the dashboard header are genuine screenshots taken on 2026-08-22 by a run of trigger tr-39, the run that wrote this post, minutes after it started; the card is cropped, and its prompt continues past the crop. In the run history, #2 is the capturing run itself, listed mid-flight at six minutes old. The roster described above is the codecast repository's share of the trigger list that day. The New trigger form was captured empty on 2026-10-09 and cancelled.

Taking longer than usualOffline · reloads when back