Original title: KKKKhazix/agent-autoloop
A lightweight automation middleware: The core has zero external dependencies, and event sources, agents, and notification channels are all replaceable plugins. Based on rules.json, it dispatches events such as scheduled tasks, GitHub Issues, and business errors to locally logged-in command-line agents; the agent exits after completing one round of work. When encountering actions like deleting data, restarting services, spending money, or sending external messages, it sends cards via Feishu, DingTalk, WeCom, Slack, Discord, or desktop notifications. After you make a selection, it resumes the original session; during the waiting period, it consumes no processes and incurs no token costs.
Why it matters Transforms Claude Code and Codex from tools requiring constant human supervision in the terminal to background-resident services, while still keeping human approval for operations like deleting data or spending money.
Stars 3241 (+821 / 24h)
Reasoning
- 821 new stars added in 24 hours, total stars 3241 (indicating attention level only).
Usage
- Supports macOS and Linux, requires Node 24, Git, curl, and a logged-in command-line agent; use
agent-autoloop tryto run through the complete workflow first. - The author states that a Windows version will be released this weekend; currently, WSL2 can be used.
Risks
- The official installation method downloads a script via curl and executes it directly with sh; review the script before installing.
- Agents run unattended in the background; overly broad rules may cause them to perform unintended actions.