
KKKKhazix (open source) · Agent Autoloop: Open-Source Background Loop That Runs Claude Code, Codex and Other CLI Agents on Schedules and Events
Agent Autoloop is a free, MIT-licensed local hub that turns command-line agents such as Claude Code, Codex and ACP agents into a background loop: cron schedules, GitHub or GitLab webhooks and HTTP events dispatch work by your rules, agents finish it unattended, and a decision card reaches you on desktop, Feishu, DingTalk, WeCom, Slack or Discord only when a call is yours to make. It suits developers who already use CLI agents and want them to pick up recurring or event-driven work without babysitting a terminal.
Best for
Developers who already use Claude Code, Codex or another CLI agent and want it to run scheduled and event-driven jobs on their own machine, interrupting them only for real decisions
Not ideal for
Teams that want a hosted service or web dashboard, users who need English-only documentation and CLI output, and anyone who needs production-proven Slack, Discord or GitLab integrations today
Who it's for
Developers and technical users who run command-line coding agents and want them to work in the background on schedules and events
Agent Autoloop fills a specific gap: it gives the CLI agents you already trust a scheduler, an inbox and a pause button, rather than asking you to adopt a new agent. Its design choices are deliberate: zero-cost waiting, event sourcing, a hop limit, and rules (not incoming events) deciding which agent runs where and with what access. The catch is that it is under a month old, much of the documentation and all CLI output are in Chinese, and outside Feishu and desktop notifications the channels have only been tried against mocks. It is a good fit for a developer comfortable reading config and setting agent permissions carefully; teams that want a control plane with budgets, an org chart and a dashboard should look at Paperclip instead.
Who should use it
Individual developers and small technical teams who already run Claude Code, Codex or ACP agents locally and want them to handle scheduled briefs, GitHub issues, alerts or PR delivery while they only step in for decisions.
Who should skip it
Non-technical users, teams that need a hosted service, web dashboard or English-first documentation, and anyone unwilling to set agent access levels carefully for unattended work.
Open source
Free
Note: Agent Autoloop itself is free. The agents it runs are billed to your own accounts under each provider's terms, whether through a subscription or API keys.
Daily morning brief
A cron rule wakes an agent at a set time to summarize notes and commits into a dated file, with no terminal left open.
Triage of new GitHub issues
Issue text is passed as data rather than prompt, the agent works in a folder your rule chooses, and you review its local edits before anything is pushed.
Alert investigation with a human gate
The agent investigates an alert on its own but sends a card before restarting a service, and resumes the same session once you answer.
Agent Autoloop vs. Paperclip
Paperclip runs agents such as Claude Code, Codex and OpenClaw as a company, with an org chart, goals, per-agent budgets and approval gates in a self-hosted app. Agent Autoloop is a headless hub with no dashboard: rules map events and schedules to agents, and decisions reach you as cards on desktop or chat apps.
What does Agent Autoloop do?
It runs a small hub on your machine that wakes command-line agents such as Claude Code or Codex when a scheduled time arrives or an event comes in (a GitHub or GitLab webhook, an HTTP event, a polling script). Your rules decide which agent handles it and in which folder. The agent finishes the work in the background and sends you a card only when it needs a decision.
Is Agent Autoloop free and open source?
Yes. It is released under the MIT license and runs on your own computer. You pay only for the model usage of the agents it runs, on your own accounts.
Which agents does Agent Autoloop support?
Built-in plugins cover Claude Code, Codex, ACP agents, DeepSeek Harness and ZCode. Any other CLI that takes a prompt and prints a final reply can be connected with the generic command mode, and the README lists commands for tools such as Cursor, OpenClaw, Hermes and CodeBuddy, which the project notes it has not run itself.
Where do the approval cards show up?
Desktop notifications are on by default, and Feishu is the channel tested with real delivery and button callbacks. DingTalk, WeCom, Slack and Discord work through webhook templates that, per the README, have only been checked against local mock servers. Cards can also be answered from the CLI or over MCP.
Can I use my Claude or ChatGPT subscription with it?
The hub starts the CLI tools you have already signed into, so it uses whatever account they use. The README points out that providers generally recommend API keys rather than personal subscription quotas for automated workloads, and recommends API keys if you run services for others.
Most people run Claude Code or Codex by sitting at a terminal: type a prompt, watch it work, answer its questions, and the work stops when the window closes. Agent Autoloop puts a small hub on your own machine between events and those agents. You declare rules in one JSON file (~/.agent-autoloop/rules.json): what happened (a cron time, a new GitHub issue, a GitLab webhook, an HTTP event), which agent handles it, and in which folder. The agent works one round and exits, writing its result in its final message; if it needs you, it appends a small JSON block, and the hub turns that into a card with buttons. While the card waits, no agent process runs and no tokens are spent; your answer resumes the original agent session, even days later. Agents can also send notices, book a follow-up check (say, in 30 minutes) or emit new events that wake other agents. What makes it distinct is the kernel design: zero runtime dependencies, state kept as an append-only fact log in SQLite, external text such as issue bodies kept out of the prompt and written to a separate data file, events never allowed to choose the agent, folder or permissions, and a circuit breaker that stops dispatching once a chain of agent-generated events passes 8 hops. Built-in plugins cover Claude Code, Codex, ACP, DeepSeek Harness, ZCode and any CLI that takes a prompt and prints a reply, plus an optional delivery plugin that takes a labelled GitHub PR through review, CI, merge and deployment checks. Recipes cover a morning brief, GitHub issue handling, production alerts, user feedback, website watch and inbox triage. The tradeoffs are maturity and audience: the repository was created in November 2026, CLI output and many docs are still in Chinese, several recipes and the Slack, Discord, DingTalk and WeCom templates have only been tested against local mocks, and there is no web dashboard. Model usage is billed to your own agent subscriptions or API keys, and the project itself points out that providers generally recommend API keys rather than personal subscriptions for automated workloads.
Are you the founder? Claim this listing →