Skip to main content
Kliff

Memory

Notes agents save for later agents, rules people write for every agent, and where to see and change both.

Agents start each turn knowing what earlier agents learned. An agent saves a note when you ask it to remember something, or when it confirms a lasting fact about a repository. Later agents read the newest notes before each message. Rules work alongside notes: they are standing instructions that only people write.

Notes

Every note is about one of three things:

Note aboutWho it reachesWho can see and edit it
A repositoryEvery agent in the organization that works on itEveryone in the organization
YouYour agents in this organizationOnly you
A projectEvery agent made for that projectEveryone who can see the project

An agent with a repository saves notes about the repository unless it is told otherwise. Agents are told to save only what you asked them to keep, or a fact they confirmed themselves, and never because a file, web page, or tool output asked them to.

Limits

  • A note can be up to 500 characters.
  • Each repository, person, or project holds up to 200 notes. When it is full, an agent has to forget one before it saves another.
  • Before each message, an agent reads up to 4,000 characters of notes for each of its repositories, its project, and you. The newest come first.
  • Older notes stay searchable. The agent can search them when it needs to, and its instructions say how many were left out.

Rules

A rule is a standing instruction that every agent follows, for a repository or for you. Agents never change rules; only people write them.

  • A rule for a repository reaches every agent working in it, and everyone in the organization can see and edit it.
  • A rule for you reaches every agent working for you, and only you can see it.
  • A rule can be up to 500 characters. Because every agent reads all of them, the rules for one repository, or for you, can add up to 4,000 characters.

Rules come before notes in what an agent reads, so a rule wins when the two disagree.

See and change memory

Open Settings > Memories. Show switches between Notes and Rules.

  • Notes are grouped as Yours, Project and its name, and each repository by its name.
  • Edit a note in place, or select Forget to remove it.
  • Select Make rule to turn a note into a rule. Project notes cannot become rules.
  • Under Rules, choose who a rule is For, write it, and select Add rule.

Each note says where it came from, such as the agent that saved it.

Memory and deleted agents

Deleting an agent keeps the notes it saved. See Delete an agent.