# Stateless

> Carries no information forward. The model is stateless across requests; an agent is stateless across sessions by default.

Carries no information forward. The [model](https://ai9k.vercel.app/en/model) is stateless across [model provider requests](https://ai9k.vercel.app/en/model-provider-request) — each request resends the full [context window](https://ai9k.vercel.app/en/context-window), because the model has no way to see anything else. An [agent](https://ai9k.vercel.app/en/agent) is stateless across [sessions](https://ai9k.vercel.app/en/session) by default: a new session starts empty, with no trace of prior ones. Counterpart to [stateful](https://ai9k.vercel.app/en/stateful).

The model itself is permanently stateless: its [parameters](https://ai9k.vercel.app/en/parameters) are frozen after [training](https://ai9k.vercel.app/en/training), and nothing you do at [inference](https://ai9k.vercel.app/en/inference) changes them. The model doesn't learn from your corrections, doesn't remember being told the same thing yesterday, and isn't getting to know you — however much the conversation feels otherwise. The feeling of continuity within a session is manufactured by the [harness](https://ai9k.vercel.app/en/harness), which keeps the transcript and re-sends it with every request. The model isn't remembering the conversation; it's re-reading it.

The practical consequence: if you want something remembered across sessions, you have to write it down somewhere the agent will read it back. That's what [AGENTS.md](https://ai9k.vercel.app/en/agentsmd) files, [memory systems](https://ai9k.vercel.app/en/memory-system), and [handoff artifacts](https://ai9k.vercel.app/en/handoff-artifact) are — files that get loaded into the [context](https://ai9k.vercel.app/en/context) of future sessions, standing in for the memory the model doesn't have. When the agent keeps making a mistake you've corrected before, the question isn't why it didn't learn — it can't — but where that correction should be written down so every future session reads it.

**Usage**

"Why does it forget the convention every time I [clear](https://ai9k.vercel.app/en/clearing)?"

"The model's stateless — the new session starts empty. If you want it carried, write it to AGENTS.md or a memory file the harness loads at session start."

---

- Section 2 — Sessions, Context Windows & Turns · Term 17 of 72
- Page: https://ai9k.vercel.app/en/stateless
- Learn step by step: https://ai9k.vercel.app/en/learn#/stateless
- On the map: https://ai9k.vercel.app/en?term=stateless
- JSON: https://ai9k.vercel.app/data/terms/stateless.json
- Mentioned in: [Model](https://ai9k.vercel.app/en/model.md), [Parameters](https://ai9k.vercel.app/en/parameters.md), [Inference](https://ai9k.vercel.app/en/inference.md), [Model provider request](https://ai9k.vercel.app/en/model-provider-request.md), [Input tokens](https://ai9k.vercel.app/en/input-tokens.md), [Cache tokens](https://ai9k.vercel.app/en/cache-tokens.md), [Stateful](https://ai9k.vercel.app/en/stateful.md), [Session](https://ai9k.vercel.app/en/session.md), [Clearing](https://ai9k.vercel.app/en/clearing.md), [Handoff](https://ai9k.vercel.app/en/handoff.md), [Handoff artifact](https://ai9k.vercel.app/en/handoff-artifact.md), [Memory system](https://ai9k.vercel.app/en/memory-system.md), [AGENTS.md](https://ai9k.vercel.app/en/agentsmd.md), [DX](https://ai9k.vercel.app/en/dx.md)
- Previous: [Cache tokens](https://ai9k.vercel.app/en/cache-tokens.md)
- Next: [Context](https://ai9k.vercel.app/en/context.md)

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