Skip to main content
Agent context controls how much of a script the agent reads on its own when it works in chat. Set it from the Agent Context row in the script header. New scripts start as Not Included.

When to use each setting

Not Included is the usual setting. The agent doesn’t read the script up front, but it can still find it by searching, and it reads any script you mention in chat. This keeps the agent’s context small and focused. Description Included lets the agent decide on its own when to use the script. The agent sees the script’s description and reads the script when the description fits the task. Write the description as “when to use this script”, and keep it accurate. You can also ask the agent: “When I ask for a weekly report, use this script”. It updates the description and switches the setting for you. Script Included puts the whole script in front of the agent in every session. Use it for instructions or preferences that should always apply, such as how you like reports formatted. Keep these scripts short, since they’re read every time.
Your private workspace has a Memory script set to Script Included. When you ask the agent to remember something for future sessions, it writes it there.

Agent context and assets

Agent context and assets solve different problems:
  • Agent context affects what the agent reads before it responds.
  • Assets are files stored with a script, such as templates, reference data, or small state files. See Assets.
You can use them together. For example, a Script Included script can explain which preferences matter, while a small asset file stores values that change over time.