← Back to articles

NewsBy: agentstools

This free tool makes Claude Code and Codex work while you sleep

Agent Autoloop runs your AI agents in the background on schedules and events, and only pings you when a decision is needed. Nearly two thousand stars in a day.

AI news faster than on the site — on Telegram KARMAZIN MEDIA

This free tool makes Claude Code and Codex work while you sleep
Photo: KARMAZIN MEDIA

A Chinese developer who goes by Khazix has open-sourced Agent Autoloop, and in a little over a day the project picked up almost two thousand stars on GitHub. The idea will sound familiar to anyone using Claude Code or Codex: right now you have to babysit the agent in a terminal. You type a task, watch it run, answer its questions. Close the window or walk away, and the work stops.

Autoloop moves your agents into the background. Work comes in on its own: on a schedule (say, a morning brief at 9:00), from new GitHub or GitLab issues, or from error reports in your service. Rules written in a plain rules.json file decide which agent gets the job and which folder it works in. The agent does one round, leaves its result in the final message and exits.

The clever part is what happens when the agent isn't sure. If a step means deleting data, restarting a service, spending money or messaging someone outside, Autoloop sends you a card with options in Slack, Discord, Feishu, DingTalk, WeCom or as a desktop notification. While you think it over, the agent isn't sitting in memory or burning tokens. Tap an answer and it picks up the same session right where it stopped. Anything it can settle without you, it finishes on its own or schedules itself to check back later.

It works with Claude Code, Codex, agents over the ACP protocol and basically any command-line tool that takes a prompt and prints a reply; the README has ready commands for Cursor CLI, Hermes, DeepSeek Harness and OpenClaw. There are ready-made recipes too: a morning brief from your notes and commits, GitHub issue triage, production alerts, website monitoring, and reviewing and shipping pull requests.

Install is one curl command on a Mac or Linux machine, with Node 24, Git and an agent you're already signed in to. It's MIT licensed and needs no cloud server or open ports. A couple of caveats: the command-line messages are still in Chinese, and the Slack and Discord templates have only been tested against local mock servers, while Feishu has been tried for real.

Verdict: your agent finally gets to work while you sleep and only wakes you when it matters.

original