Skip to content
EndueEndue
Docs

The context window

A model reads a fixed amount of text per request — its context window. Everything the agent needs has to fit: its instructions, its memory, the tools it can call, your conversation, and your attachments.

The composer shows how full that window is, and the context panel shows what is filling it.

Two things degrade as the window fills:

  • Older messages get trimmed. The agent stops seeing the start of a long thread.
  • Every step costs more. The whole context is re-sent on each step of a run, so a heavy conversation is a slower and more expensive one.

An agent that “forgets what we said at the beginning” is almost always a full window, not a broken memory.

The panel breaks the window into segments:

SegmentWhat it is
System instructionsThe frame Endue puts around every run
IdentityThe agent’s name, character, and profile
Agent instructionsIts system prompt, at the current revision
Instruction skillsSkills whose content is standing guidance rather than a command
MemoryThe memories relevant to this conversation
Tool definitionsThe schema of every tool the agent can call
Conversation messagesWhat you and the agent have said
Attached mediaAttachments, counted separately from messages

Tools are broken down further — each skill, connector, built-in group, and workspace shows what its definitions cost to advertise, and how many times it was called in the last run with what the results weighed. That is the difference between “this tool is expensive to offer” and “this tool returned a lot”.

Before the first run there is nothing to measure, so the figure is a projection of what the next request would carry. After a run it is what that request actually contained.

The panel says which one you are looking at. A projection that differs from the measurement afterwards is normal — the agent may pull in a memory or a tool result that was not predictable.

The panel also lists the attachments loaded in this conversation. Selecting one scrolls to the message it came with, which is the quickest way to find “the screenshot from earlier” in a long thread.

In rough order of effect:

  1. Start a new conversation. The single most effective move — a fresh thread carries none of the old messages.
  2. Move durable facts into memory or the project before you do, so the next thread does not need re-explaining.
  3. Unbind tools the agent does not use. Their definitions are re-sent on every step whether or not they are called.
  4. Pick a model with a larger window — the picker shows each model’s size. This buys room; it does not make a wandering thread focused.
  • The window size comes from the model. Changing model changes the ceiling.
  • Trimming drops the oldest messages first; it does not summarize them.
  • The breakdown reflects the last run. Changes you make afterwards — binding a tool, editing the prompt — show up on the next one.