Anthropic Introduces Routines for Claude Code Automation
Briefly

Anthropic Introduces Routines for Claude Code Automation
"Anthropic has introduced a new feature called Routines for Claude Code, allowing developers to configure automated coding workflows that run on schedules, through API calls, or in response to external events. The feature runs on Claude Code's cloud infrastructure, removing the need for developers to maintain their own cron jobs, servers, or automation pipelines locally."
"A routine consists of a prompt, repository access, and connected tools or services. Once configured, the routine can execute repeatedly without manual intervention. Scheduled routines support recurring jobs such as triaging bugs, scanning documentation drift, or generating pull requests. API-triggered routines expose endpoints and authentication tokens, enabling external systems such as deployment pipelines, monitoring platforms, or internal tooling to trigger Claude Code sessions through HTTP requests."
"Anthropic also introduced webhook-based routines for GitHub events. Developers can configure routines to automatically launch sessions when pull requests match specific conditions. Claude Code can then monitor updates to the pull request, respond to comments, track CI failures, and continue operating across the lifecycle of the change."
"The company says teams are already using routines for workflows such as automated issue triage, deployment verification, alert analysis, documentation updates, and cross-language SDK synchronization. One example described a workflow where a merged Python SDK pull request automatically triggers a routine that ports the changes into a Go SDK and opens a corresponding pull request. Another example uses monitoring alerts to trigger automated debugging and draft fixes before an engineer reviews the incident."
Routines for Claude Code let developers configure automated coding workflows that run on schedules, via API calls, or in response to external events. Each routine includes a prompt, repository access, and connected tools or services, and then executes repeatedly without manual intervention. Scheduled routines support recurring tasks such as triaging bugs, scanning documentation drift, and generating pull requests. API-triggered routines provide endpoints and authentication tokens so external systems can start Claude Code sessions through HTTP requests. Webhook-based routines support GitHub events, launching sessions when pull requests meet conditions and continuing to monitor updates, respond to comments, and track CI failures. Teams use routines for issue triage, deployment verification, alert analysis, documentation updates, and cross-language SDK synchronization.
Read at InfoQ
Unable to calculate read time
[
|
]