How to build an always-on AI agent with the OpenRouter Agent SDK
AIOpenRouter's tutorial builds a TypeScript agent with @openrouter/agent 0.11.0 that checks Hacker News every 15 minutes and writes a digest. Each check cost $0.0003 to $0.0012 with Claude Haiku 5.5 in the authors' runs on October 13, 2026, and stopWhen limits cap each run at six steps and $0.05.
Source details
OpenRouter Blog · openrouter.aiPublished · added here
Original title: How to Build Your Own Always-On AI Agent