LaunchedEditorial Listing

Agent Autoloop

KKKKhazix (open source) · Agent Autoloop: Open-Source Background Loop That Runs Claude Code, Codex and Other CLI Agents on Schedules and Events

Open Agent Autoloop

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.

PricingFree
Setupmedium
Runs onSelf-hosted
APIYes
Open sourceYes
DocsYes
Agent OrchestrationBackground AgentsClaude CodeCodexACPHuman-in-the-LoopScheduled TasksWebhooksGitHubEvent-DrivenSelf-HostedOpen SourceFeishuSlack

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

Capabilities

  • Rules in a single JSON file map an event (cron schedule, GitHub or GitLab webhook, HTTP API event, issue-polling script) to an agent, a working folder, an optional Skill and a parallelism limit, and reload within seconds of saving
  • Built-in agent plugins for Claude Code, Codex, ACP agents, DeepSeek Harness and ZCode, plus a generic command mode for any CLI that takes a prompt and prints a final reply (documented commands for Cursor, OpenClaw, Hermes, pi and CodeBuddy)
  • Decision cards with buttons on desktop notifications (default), Feishu, or DingTalk, WeCom, Slack and Discord webhook templates; while a card waits no agent process runs, and the answer resumes the original session
  • Agents can also send notices, resolve cards, schedule follow-up checks and emit new events from a JSON block in their final message
  • Security-minded kernel: external text such as issue bodies goes to a data file rather than the prompt, events cannot choose the agent, folder or access level, and a hop limit stops dispatch once a chain of agent-generated events passes 8 hops
  • Event-sourced state in SQLite with commands to trace any round (why), list runs, show what woke each rule, pause, resume and replay skipped events, back up and restore
  • Rounds, tokens and cost reported for today and the past seven days, and automatic hold-and-resume when Claude Code hits a subscription usage limit
  • Optional delivery plugin that takes a GitHub PR labelled deliver through review, CI, merge, deployment and live-version verification
  • One-command install on Windows, macOS and Linux with a background service; no cloud server is needed, and the hub listens only on the local machine by default

Limitations

  • Very new: the repository was created on November 3, 2026, with near-daily releases, so configuration and behavior may still change
  • CLI output and default notification strings are still in Chinese, and the installation guide, configuration manual, plugin guide and recipe instructions are written in Chinese; only the README has an English version
  • The Slack, Discord, DingTalk and WeCom webhook templates have only been checked against local mock servers and GitLab only against documented payloads; Feishu is the only chat channel tested with real delivery and button callbacks
  • Several recipes have only been verified with local HTTP and a fake Feishu CLI, not end to end on a live account, and four of them default to the Asia/Shanghai time zone
  • Requires Node 24 or newer, Git and an agent CLI that is already installed and signed in; GitHub issue polling and PR delivery also need a signed-in GitHub CLI
  • No web dashboard: status, answers and history are handled through the CLI, MCP or notification cards
  • Answering cards through links on DingTalk, WeCom, Slack or Discord needs the hub's public URL to be reachable from your phone or computer, and the security notes say to put an HTTPS reverse proxy in front of the hub before exposing it
  • The project's security notes say keeping external text out of the prompt does not stop all prompt injection, and that 'ask first' rules are prompt instructions the hub cannot enforce; real limits come from access levels and the agent's own sandbox
  • Model usage is billed to your own provider accounts, and the README notes providers generally recommend API keys rather than personal subscription quotas for automated workloads

Use cases

  • Having Codex or Claude Code summarize yesterday's notes and commits into a brief every morning at 9
  • Handing new GitHub issues to a coding agent that edits code locally and notifies you to review, without committing or replying on its own
  • Routing a production alert to an agent that investigates the codebase and asks on Feishu or desktop before restarting a service
  • Watching a website every five minutes and waking an agent only when a new incident starts
  • Taking a labelled GitHub PR through agent review, CI, merge and deployment verification

Our take

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.

Strengths

  • Works with agents you already use, including Claude Code, Codex and ACP agents, without an SDK or forking agent code
  • Waiting for a human costs nothing: no process runs and no tokens are spent until you answer
  • Events cannot pick agents, folders or permissions, and external text stays out of the prompt
  • Every round is traceable, and paused rules can replay what they skipped
  • Free, MIT-licensed and runs on one machine with no cloud service

Weaknesses

  • Most documentation and the CLI output are in Chinese
  • Under a month old, with several channels and recipes only tested against mocks
  • No web dashboard
  • Unattended agents still need careful access settings, since 'ask first' is only a prompt instruction

Agent Autoloop pricing

Open source

Free

  • MIT license
  • Runs on your own Windows, macOS or Linux machine
  • All built-in agent, event, channel and delivery plugins included

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.

Where Agent Autoloop excels

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. competitors

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.

Frequently asked questions

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.

Integrations & fit

Claude CodeCodexACPDeepSeek HarnessZCodeGitHubGitLabFeishuDingTalkWeComSlackDiscordMCP
Good fit forSolo / individual, Startup / small team
Pricing modelFree· No cost to start
See pricing on Agent Autoloop →

Alternatives to consider

Compare the top agent frameworks →

About Agent Autoloop

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 →