Skip to content
Agent use cases

Automate command-line agents in the background with Agent Autoloop

Turn your CLI agent task scheduling into an automated middle-platform that picks up tasks and follows through to completion in the background. It consumes zero processes or tokens when idle, and sends a card notification only when human sign-off is needed.

GitHubKKKKhazix2.4kGitHub stars
Agent AutoloopClaude CodeCodexNode 24Gitcurl

Added 2026-11-05 · originally published 2026-11-04


Steps

  1. 1Run the installation command in your macOS or Linux terminal: curl -fsSL https://raw.githubusercontent.com/KKKKhazix/agent-autoloop/main/install.sh | sh
  2. 2Run the test run command to verify installation and interaction: agent-autoloop try
  3. 3Configure rules in ~/.agent-autoloop/rules.json by defining the task, the assigned agent (the 'to' field in rules should match an existing name in agents), and the target directory
  4. 4Run agent-autoloop check to validate the rule configuration and apply it automatically
  5. 5Enter a number in the interactive terminal or run agent-autoloop answer <serial_number> <option> in a non-interactive terminal to make a decision, then run agent-autoloop status to check progress

Ideas for Chinese platforms

This approach can be applied to automated operations on Xiaohongshu or WeChat Official Accounts. By configuring scheduled rules and event plugins, agents can automatically scrape platform data or generate daily content drafts, pushing a card for human review and approval only when necessary.

Copy-ready prompt
Please help me write an Agent Autoloop rules configuration file (rules.json) to automatically invoke [fill in the agent name, e.g., codex] in the directory [fill in the running directory, e.g., ~/notes] at [fill in the time or event, e.g., 9 AM every day] to execute the following task: [fill in the specific task prompt, e.g., organize yesterday's notes and commits, and write today's morning report].
#AI Agent#Automation#Command Line#Task Scheduling
Building long-term memory for Claude Code with Git repositories and hooks

The author ditched large Obsidian vaults and vector databases, splitting memory into three Git repositories: "how we work," "what happened," and "raw material." Combined with automated hooks, this setup enables precise context loading, error checking, and automatic write-backs.

Scale product revenue from $45 to $2,105 using an AI agent

Deploy the open-source AI agent Tin to manage product growth, customer support, and product improvements, scaling paying customers from 5 to 257 in 124 days through optimized onboarding, restored 7-day trials, ad testing, and more.

Enable mobile alerts and interaction for coding agents using AlertMCP

To address the issue where coding agents need human intervention while working autonomously, the author developed the AlertMCP service. It allows Claude Code, Cursor, or Codex to send reminders and questions to your phone when needed, and the agent can resume work once you respond.

Found this useful? Get daily updates on Telegram or X.

Found this useful? Buy me a coffee ☕

nebu.life is free to use. If it helped you, a small tip keeps it going. Payments go straight to the author's personal account; this site never handles any funds.

Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.

nebu.lifeNebula AI Playbook · Daily AI use cases, prompts and prices

Content is collected daily from public sources and summarized with AI. Every entry links to the original, and copyright stays with the original authors. Spotted an error or a rights issue? Let us know via the contact page.

Last updated 2026-11-14 07:16 (Beijing time)