Learn how to build proactive agent workflows using Claude Code's new routines feature for automation and improved productivity.
Key Takeaways
- Routines transform Claude Code from a reactive tool into a proactive coding teammate.
- Managed infrastructure eliminates the need for users to handle hosting and session persistence.
- Customizable triggers allow flexible automation based on schedules or events.
- Interactive sessions provide transparency and control over agent workflows.
- Automating repetitive tasks like documentation can significantly improve team productivity.
Summary
- Introduction to building proactive agent workflows with Claude Code by Maya from Anthropic.
- Challenges of running proactive agents locally, including infrastructure, hosting, and session management.
- Explanation of the new 'routines' feature in Claude Code that automates remote agent sessions with triggers and connectors.
- Routines run on managed infrastructure, removing the need for users to maintain hosting or session state.
- Agents can be triggered by time-based schedules, GitHub events, or custom webhook events.
- Routines sessions are interactive and steerable, allowing users to monitor, steer, and resume sessions via web, CLI, or desktop.
- Internal use case: automating documentation creation at Anthropic to handle increased PR volume.
- Demonstration of setting up a routine in the terminal with scheduling and notification options.
- Key decisions when creating routines include trigger timing, required context, and actions to perform.
- Encouragement to identify daily tasks that could benefit from automation using Claude Code routines.











