

How to Build Your Own Always-On AI Agent
An always-on AI agent wakes up on a schedule, checks something with tools, and reports or acts without you asking. This tutorial builds one in TypeScript with the OpenRouter Agent SDK that watches Hacker News, remembers what it has seen across restarts, stops any run at five cents, and waits for your approval before it posts.














































