What does it take for an AI helper to read your team’s channels every morning and post a short summary you can trust? This agent automations guide walks through the answer Anthropic gives in a reference build: a scheduled agent that gathers updates from Slack and GitHub, tracks what changed since its last run, and posts a brief.
Anthropic’s engineering blog, written by Lance Martin and CJ Avilla and dated October 8, 2026, explains that simple automations like this are used inside the company. They run on a schedule, collect context in the background, and proactively report what people need to know. The authors also say these automations are hard to build well, because they can lose access to a source without anyone noticing or fail to follow a person’s preferences.
What is an agent automation, and what is the reference build?
An agent automation is an AI model given a fixed job, a set of tools, and a schedule, so it works without anyone starting it each time. Anthropic’s example is a daily brief. It reads a list of Slack channels and GitHub pull requests (proposed code changes awaiting review), compares them with what it saw last time, and posts the new items to one Slack channel.
Anthropic built the example with Claude Managed Agents, which the company labels as a beta product. Beta status means the product may change, and it is not a production guarantee.
The reference implementation is a folder of configuration files. Anthropic describes them as settings for Claude API resources rather than application code:
- an agent file holding the model, tools, and instructions;
- a deployment file with the schedule, time zone, spending budget, and the message the agent receives each run;
- an environment file listing which network addresses the agent may reach;
- two memory stores, one for user preferences and one for the agent’s own state;
- a vault file for credentials;
- a Slack app manifest that defines the bot.
A command-line tool from Anthropic reads these files, creates the matching resources in a Claude API workspace, and records their identifiers in a lock file. Anthropic also offers a command for Claude Code, its coding assistant, that walks a user through the setup interactively. The setup needs a Slack app and a GitHub access token.
What are the six building blocks?
Anthropic organizes the design into six components: sources, a destination, the agent itself, a schedule, memory, and guardrails. Each answers one practical question about how the automation behaves.
- Sources: a named list of places the agent reads. The default pair is Slack channels and GitHub repositories, and the template can be extended to others.
- Destination: one place the agent is allowed to write, in this case a single Slack channel with a dated post per run.
- Agent: a versioned configuration containing a model, a system prompt, and tools. Each run follows its steps and then stops.
- Schedule: a cron schedule, which is a standard way of stating when a job repeats.
- Memory: stored preferences and the agent’s own notes, kept between runs.
- Guardrails: read-only access wherever the agent only needs to read, plus a spending cap for each run.
How does the agent get access without exposing passwords?
Anthropic’s answer is a vault. In Managed Agents, credentials sit in a vault outside the sandbox, the isolated environment where the model’s code executes. The agent can reference a credential, but the real value stays in the vault.
The post describes two paths. For GitHub, the agent calls tools through an MCP server, a standard connector between AI models and outside services. A proxy running outside the sandbox finds the vault credential whose address matches that server. For Slack, the agent makes web requests from inside the sandbox using a shell command. The sandbox holds only a placeholder in place of the token, and the platform swaps in the real token as the request leaves, but only for hosts the user has allowed.
The Slack credential in Anthropic’s example is also limited to one host, slack.com. Scoping a credential to the minimum it needs is the guardrail idea in practice: if the agent misbehaves, it still cannot send that token anywhere else.
How does the agent avoid repeating or missing items?
A common mistake, Anthropic says, is telling the agent to read a fixed window such as the last 24 hours. A late run then leaves a gap, and an early run repeats items. The fix is a bookmark per source.
At the end of each run, the agent writes the timestamp of the newest item it read from each source into a file. The next run starts from those bookmarks, so its window stretches or shrinks to cover everything since the previous run. The bookmarks live in a memory store, which the platform mounts as a folder of text files inside every run’s sandbox and keeps between runs. The agent reads and writes it with ordinary file tools, guided by instructions in its agent file.
What happens when a source quietly fails?
This is the failure Anthropic highlights most. If an MCP server is down or its token has expired, the run still starts, only without that server’s tools. The session logs an error, but the agent sees nothing from that source and may report that nothing is new. A broken connection then looks identical to a quiet day.
Anthropic’s agent instructions include three rules for this case. When a source fails, the agent keeps that source’s bookmark where it is, writes the brief from the sources that did work, and ends the brief with one line naming what it could not read, such as pull requests being unavailable this run. The reader is told about the gap instead of being left to assume silence.
How does the agent avoid double posts or lost updates?
Posting is a single web request to Slack’s message endpoint. The built-in shell tool runs without asking for approval by default, and slack.com is on the environment’s allowlist, so nothing needs to approve each post. That convenience creates a bookkeeping risk. If the agent records a post that never landed, the bookmarks advance and those items are never reported. If it posts again because it is unsure, readers get the same brief twice.
Anthropic describes three rules that prevent both outcomes:
- Before posting, the agent checks the channel’s recent messages for today’s title and skips posting if that edition already exists.
- A post counts as sent only if Slack returns an ok result and a message timestamp.
- The agent updates its ledger of reported items and its bookmarks only after that confirmation.
If the outcome is unclear, the agent marks the run as maybe posted and changes nothing else, so nothing is lost. It also keeps a run record in memory, marked as posting before the request and then as posted with the message ID, or as maybe posted.
How does this compare with other ways of automating a daily summary?
Anthropic’s post does not compare its approach with other products, so this section stays at the level of general categories. A daily summary can come from a simple script on a timer, from a no-code workflow tool, or from an agent. Anthropic’s framing suggests the distinguishing feature of the agent approach is that a model decides how to gather and summarize, guided by written instructions and remembered preferences, instead of following fixed steps alone.
That flexibility is why the post spends most of its length on failure handling. A fixed script fails loudly when a connection breaks. An agent can fail politely, producing a confident brief that is simply missing a source. The bookmarks, ledger, and failure-reporting rules are Anthropic’s way of making those quiet failures visible.
What would a typical day look like?
Consider a team that lists three Slack channels and two repositories in the preferences file. At the scheduled time, the deployment sends the agent its input message. The agent reads its preferences and bookmarks from memory, then pulls Slack messages and pull requests newer than each bookmark.
It checks the channel for an existing post with today’s title, writes the brief according to the stored preferences, and posts it. When Slack confirms the post, the agent advances the bookmarks, updates the ledger, and marks the run record as posted. If the GitHub connection had expired that morning, the brief would still go out with the Slack items and end with a line saying pull requests were unavailable, and the GitHub bookmark would stay put so the next run catches up.
Anthropic’s walkthrough adds that the agent file names a model and the GitHub tool connection, and that the deployment file carries the schedule, time zone, and per-run budget. The excerpt available for this article ends partway through the agent section, so the later details on schedule, memory, and guardrails are summarized only at the level the post’s overview gives.
Where to stay cautious
Managed Agents is labeled beta, and the reference implementation is one company’s example rather than a general standard, so current documentation should be checked before relying on specific commands or file formats. The design also depends on the agent obeying its written instructions, which means the bookmark and confirmation rules are only as reliable as the model’s adherence to them. A spending cap per run limits cost exposure, but the post’s overview does not say how the platform behaves when a run hits that cap. Teams copying the pattern should also test the failure paths on purpose, for example by revoking a token, to confirm the brief really does name the missing source.