# Handoff

> Transferring agent context from one session to another, with no return path. Carry mechanism varies — artifact, compaction, others.

Transferring [agent](https://ai9k.vercel.app/en/agent) [context](https://ai9k.vercel.app/en/context) from one [session](https://ai9k.vercel.app/en/session) to another. The carry mechanism varies — a written [handoff artifact](https://ai9k.vercel.app/en/handoff-artifact), an in-memory summary ([compaction](https://ai9k.vercel.app/en/compaction)), and others. Distinct from [clearing](https://ai9k.vercel.app/en/clearing) (no transfer at all). Reasons vary: switching roles (planner → implementer), kicking off an [AFK](https://ai9k.vercel.app/en/afk) run, fanning out to parallel sessions, or freeing up [context window](https://ai9k.vercel.app/en/context-window) room.

The receiving session starts with zero context — the [model](https://ai9k.vercel.app/en/model) is [stateless](https://ai9k.vercel.app/en/stateless), and nothing from the old session is visible to the new one. Whatever the next session needs has to be carried explicitly; everything else is gone. "No return path" is the constraint that shapes the carry: the new session can't ask the old one what it meant, so the carried material has to stand on its own.

| Mechanism        | Form                                        | Properties                                                                               |
| ---------------- | ------------------------------------------- | ---------------------------------------------------------------------------------------- |
| Handoff artifact | File in the [environment](https://ai9k.vercel.app/en/environment) | You can read and correct it before anything depends on it; reusable across many sessions |
| Compaction       | Summary in the context window               | Automatic and cheap; harder to inspect; feeds one successor                              |

The visible failure of a bad handoff is relitigation: the new session re-opens decisions the old one had settled, because the carry recorded what was decided but not why. Judge a handoff by what a session with zero context could do with it.

**Usage**

"Planning session is getting heavy — should I just keep going?"

"Do a handoff. Write the decisions to a doc, clear, start the implementation in a fresh session reading from it."

---

- Section 5 — Handoffs · Term 45 of 72
- Page: https://ai9k.vercel.app/en/handoff
- Learn step by step: https://ai9k.vercel.app/en/learn#/handoff
- On the map: https://ai9k.vercel.app/en?term=handoff
- JSON: https://ai9k.vercel.app/data/terms/handoff.json
- Mentioned in: [Session](https://ai9k.vercel.app/en/session.md), [Attention degradation](https://ai9k.vercel.app/en/attention-degradation.md), [Smart zone](https://ai9k.vercel.app/en/smart-zone.md), [Handoff artifact](https://ai9k.vercel.app/en/handoff-artifact.md), [Compaction](https://ai9k.vercel.app/en/compaction.md), [Subagent](https://ai9k.vercel.app/en/subagent.md)
- Previous: [Clearing](https://ai9k.vercel.app/en/clearing.md)
- Next: [Primary source](https://ai9k.vercel.app/en/primary-source.md)

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