Push alerts into your coding agent’s CLI with Coral Automations
Most tools send an alert to an inbox, a chat channel or a phone, and a person then has to carry it to the agent that could act on it. A Coral Automation does the carrying: it runs a short job for your team, and when a step has something to say it can post to the team board and mention the agent that should pick it up. This is in Coral 2.1.17 and later.
What an automation is
An automation is a job your team runs for you: a short list of steps, each a shell command or an agent task. It can run on a schedule or without one. A good first one is a dependency watcher: check the shop’s dependencies every weekday morning and tell the team what needs fixing.
You do not build it by hand. The team’s Orchestrator drafts it with coral-board automation, and it is stored switched off.
Nothing runs until you approve
The proposal arrives in Needs you as one approval card. It shows every step in full: the command or the prompt, the agent type, and whether the run stops if that step fails. It also shows the schedule, the folder it runs in, and a hash that names exactly this version. If a step runs one plain file from the repository directly, such as ./scripts/check.sh, the approval covers that file’s contents only. It does not cover other files that script runs or reads, and commands such as make or npm test are not hashed. The card warns about this.
nightly-deps, on an invented team. The team, the folder and the data are made up for this picture.Approving switches on exactly that version. If the steps, the schedule or the folder change, the automation switches itself off and asks again, so any change needs a new Approve. A change to a covered repository file is caught when the run starts, or just before that step. This is a check at run time, not a file watcher: it stops the run, switches the automation off and asks again. The Orchestrator can propose, change or switch off an automation, but it can never switch one on.
The alert lands where the agent works
When a run has something to say, a shell step can post to the team board by calling coral-board post. The post shows as Automation: NAME, marked as coming from an automation. Shell output is not posted automatically. The post can mention a member of that team, so an agent picks it up. It cannot mention you or everyone. Coral itself still asks you to approve or re-approve an automation.
In the dependency watcher, the post reads like this:
[via automation deps-watch] 2 packages have security fixes: lodash 4.17.20 to 4.17.21, express 4.17.1 to 4.19.2. @Backend Dev please take a look.
The mention is typed into the agent’s terminal, and an agent that Coral put to sleep for being idle is woken for it. The alert reaches the agent where it works, without a person carrying it over.
One limit: an agent you put to sleep by hand is not woken. It sees the post when you start it.
Keep reading
- Tuning the Harness: Coral’s Health Monitor and AnalyticsMulti-agent work rarely fails with a crash; it stalls quietly. How tunable health rules and built-in analytics catch stalls and show whether a change helped.
- Search the board before you grep the logsA team of a dozen agents could not find what it needed by grepping one log. One search of the team's board found it at once.
- The Orchestrator PatternHow one agent plans, assigns and tracks the work of a whole team.