Anthropic ने 15 मई को Claude Code के लिए Routines launch किया, जो एजेंट के persistent runtime को आपके laptop से हटाकर Anthropic के infrastructure पर डाल देता है। एक Routine में एक prompt, repository access, और जुड़े हुए tools या services बंडल होते हैं, और इसे तीन surfaces पर trigger किया जा सकता है: cron-style schedules, auth tokens वाले HTTP endpoints, और GitHub webhooks। इसके पहले, Claude Code एजेंट को schedule पर चलाने का मतलब था अपनी मशीन पर अपना cron — मशीन गिरी या session बंद हुआ तो एजेंट भी साथ मर जाता था। Routines यह constraint हटा देता है क्योंकि runner अब Anthropic side पर चलता है।
Triggers का split ही असली नई बात है। Scheduled routines पुराने "मेरे Claude Code session पर cron" pattern को cover करते हैं लेकिन बिना session के — Anthropic हर fire पर runtime spawn करता है। API-triggered routines एक HTTP endpoint expose करते हैं auth tokens के साथ, जिससे Claude Code workflow एक callable service बन जाता है। Webhook routines GitHub events पर launch होते हैं, PR-match conditions से filter होते हैं, और पूरे PR lifecycle में persist रहते हैं — routine thread को watch करता है, one-shot fire नहीं करता। Routine object — prompt plus repo access plus connected tools — असल में एक agent-definition schema है, conceptually OpenAI Assistants और Cursor rules के बगल का, लेकिन repository main noun है। InfoQ writeup में जो नहीं है: pricing, usage limits, hung routines के लिए error semantics, और routines user auth inherit करते हैं या अलग scoped credentials पर चलते हैं।
यह Anthropic को Cursor से ज़्यादा GitHub Actions और GitHub Copilot agents के सामने रखता है। Cursor in-editor है; Routines repo-lifecycle plus external-trigger territory है, जो Actions का area है। Economics बदलती है: local cron में runtime cost आपकी बिजली थी; Routines में, Anthropic जब भी publish करे वही per-routine billing होगा। Reliability concern अब academic नहीं रहा — जब agent runtime उसी vendor ने operate किया जिसका model कभी-कभी regress होता है, तब CLI version downgrade करने का local workaround खत्म हो जाता है। Anthropic ने इस महीने जो Claude Code की छह हफ़्ते की complaints का post-mortem किया, वह एक अलग तरह की cost है जब user process को cloud से बाहर नहीं निकाल सकता।
सोमवार: अगर आपका कोई Claude Code workflow tmux, screen, या VPS cron से ज़िंदा रखा हुआ है, Routines सीधा replacement है और low-stakes trial के लायक है — एक stale-docs scanner, एक PR-triage bot — जबकि pricing और quotas अभी firm नहीं हुए। अगर आपके workflow को sub-minute response या runtime पर guaranteed control चाहिए, उसे local ही रखो। पहली published pricing tier और पहले Routines-specific outage post-mortem का इंतज़ार करो किसी load-bearing चीज़ को move करने से पहले।
