Skip to content

agent-afk

agent-afk is an open-source runtime designed for unattended, multi-step coding tasks, allowing developers to delegate complex work and receive asynchronous updates.

Freemium

agent-afk in short

agent-afk offers unattended, verifiable coding automation, but demands self-hosting and configuration of its complex loops.
stork
I am a 3D character.
One 3D character and one typed sentence.
This 3D character was never animated.
A photo, a cartoon, a painting or a 3D character. From 10 cents a minute. Free to try.
Make a photo talkDevelopers: there is an API

What is agent-afk?

agent-afk is an open-source AI agent runtime developed by its community that enables developers and teams to automate multi-step coding tasks without constant human supervision. It emphasizes safety, verifiability, and user ownership of the agent's behavior through customizable loops and trace history. Functioning as a local AI agent runner, agent-afk provides interfaces via a command-line interface (CLI), an interactive REPL, a daemon for long-running tasks, and a Telegram bot for mobile supervision. All interfaces share the same context, memory, and tools, facilitating consistent agent operation across different interaction points. The project is released under an Apache-2.0 license, requiring Node.js version 20 or higher for installation and operation.

Key Features of agent-afk

agent-afk is engineered to provide a robust and customizable environment for AI coding agents, focusing on unattended operation, verifiability, and user control. Its architecture supports a range of functionalities designed to enhance reliability and transparency in automated coding workflows.

  • Open-source and customizable agent harness, allowing users to modify prompts, gates, routing, skills, and terminal states.
  • Support for integration with any AI model provider, ensuring flexibility in model choice.
  • Enables unattended, long-running coding tasks with asynchronous supervision, including Telegram notifications.
  • Generates comprehensive verification workflows and an append-only trace history of tool calls, gate decisions, and subagent lifecycles.
  • Facilitates headless and CI-adjacent workflows that require AI model reasoning and system access.
  • Supports subagent orchestration for managing parallel and dependent tasks within a single run.
  • Includes customizable skills and built-in slash commands for defining and reusing coding workflows.
  • Incorporates safety guardrails such as cost ceilings (AFK_MAX_BUDGET_USD) and turn limits (--max-turns) to prevent runaway execution.
  • Operates locally with no remote telemetry, ensuring user privacy and data ownership.
  • Mitigates context window exhaustion by spawning fresh AI instances for each task iteration, maintaining focus.

Who Should Use agent-afk?

agent-afk is primarily designed for developers and engineering teams who require reliable, verifiable, and unattended execution of complex coding tasks. Its features cater to scenarios where continuous human monitoring of AI agents is impractical or undesirable.

  • Developers and teams using coding agents (e.g., Claude, Cursor) who need to automate multi-step coding tasks without constant terminal monitoring.
  • Engineers running headless or CI-adjacent workflows that demand AI model reasoning, bash access, and subagent orchestration without direct human intervention.
  • Individuals seeking asynchronous supervision and notifications (e.g., via Telegram) when an agent's work reaches a terminal state or requires a decision.
  • Teams requiring verifiable audit trails and trace history for agent actions to ensure reliability and transparency in their development processes.
  • Developers interested in defining and reusing custom coding workflows (skills) for tasks such as feature development, code review, or root cause analysis.

agent-afk Pricing & Plans

agent-afk operates on a freemium model. The core agent harness is open-source and freely available under an Apache-2.0 license, allowing users to deploy and customize it without direct cost. While the project is primarily open-source, the freemium designation suggests potential for future paid features or tiers, though no specific details on such offerings are currently provided. Users are responsible for costs associated with the AI models they integrate and utilize with agent-afk.

  • Freemium: Free (core harness, Apache-2.0 licensed)

agent-afk vs Competitors

agent-afk positions itself as an open-source runtime for unattended coding-agent work, differentiating itself through user ownership, robust guardrails, and verifiable traces. It addresses common agent failures like 'linear tunnel vision' and 'fake done' by incorporating features such as parallel hypotheses and isolated worktrees. Its competitive landscape includes broader LLM frameworks and other autonomous agent projects.

See every agent-afk alternative, compared

agent-afk

Freemium

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking