# AFK

> A working pattern where the user kicks off a session and leaves the agent to run unattended (away from keyboard).

Away from keyboard. A working pattern where the user kicks off a [session](https://ai9k.vercel.app/en/session) and leaves the [agent](https://ai9k.vercel.app/en/agent) to run unattended. The throughput multiplier of [AI](https://ai9k.vercel.app/en/ai) coding — many AFK sessions can run in parallel while you sleep, eat, or work on something else. Usually requires a permissive [permission mode](https://ai9k.vercel.app/en/permission-mode) plus [sandboxing](https://ai9k.vercel.app/en/sandbox) to be safe.

When you're not there, the agent handles ambiguity differently. While you're watching, an ambiguous decision surfaces as a question and you answer it; once you've walked away, the agent picks a default and keeps going, and every later decision builds on that guess. The characteristic failure is coming back to hours of finished, confident work built on a wrong call made in the first ten minutes. The work isn't sloppy — it's coherent, just coherent about the wrong thing.

Since you can't give input during the run, give it before and after instead. Before: resolve the ambiguity up front — a [grilling](https://ai9k.vercel.app/en/grilling) session, a written [spec](https://ai9k.vercel.app/en/spec) — so there are fewer gaps for the agent to fill alone. During: [automated checks](https://ai9k.vercel.app/en/automated-check) and [automated review](https://ai9k.vercel.app/en/automated-review) stand in for the attention you're not giving, failing fast on what can be caught mechanically. After: the run ends in something reviewable — a PR, not changes already merged. AFK doesn't remove [human review](https://ai9k.vercel.app/en/human-review); it defers all of it to the end, which is why what arrives at the end has to be worth reviewing. This is also why [AX](https://ai9k.vercel.app/en/ax) matters most in AFK runs — with no one watching, the environment is the only support the agent gets.

_Avoid:_ "background agent" — centers the machine ("running in the background") rather than the human pattern ("user has walked away"). AFK names the fact that matters: the user isn't watching.

**Usage**

"I'm running this AFK — three sandboxed agents on the refactor, reviewing the PRs in the morning."

"[Bypass permissions](https://ai9k.vercel.app/en/agent-mode)?"

"Yeah, read-only [filesystem](https://ai9k.vercel.app/en/filesystem), no network."

---

- Section 7 — Patterns of Work · Term 61 of 72
- Page: https://ai9k.vercel.app/en/afk
- Learn step by step: https://ai9k.vercel.app/en/learn#/afk
- On the map: https://ai9k.vercel.app/en?term=afk
- JSON: https://ai9k.vercel.app/data/terms/afk.json
- Mentioned in: [Turn](https://ai9k.vercel.app/en/turn.md), [Permission request](https://ai9k.vercel.app/en/permission-request.md), [Permission mode](https://ai9k.vercel.app/en/permission-mode.md), [Agent mode](https://ai9k.vercel.app/en/agent-mode.md), [Sandbox](https://ai9k.vercel.app/en/sandbox.md), [Handoff](https://ai9k.vercel.app/en/handoff.md), [Human-in-the-loop](https://ai9k.vercel.app/en/human-in-the-loop.md), [Automated check](https://ai9k.vercel.app/en/automated-check.md), [Automated review](https://ai9k.vercel.app/en/automated-review.md), [Human review](https://ai9k.vercel.app/en/human-review.md), [Software factory](https://ai9k.vercel.app/en/software-factory.md), [Dark factory](https://ai9k.vercel.app/en/dark-factory.md)
- Previous: [Human-in-the-loop](https://ai9k.vercel.app/en/human-in-the-loop.md)
- Next: [Automated check](https://ai9k.vercel.app/en/automated-check.md)

Every term page has a markdown copy: add .md to its address.
