# Session protocol

Start:
1. `read_file` USER.md and MEMORY.md.
2. If HANDOFF.md or TASKS.md exists in `list_files`, read it.

During the task:
3. `search` Hugy before asking the user something they may already have told an agent.

End:
4. `append_memory` each new durable fact or preference, one per call, tagged with your platform and the date.
5. Skip temporary details, guesses and secrets.

Full docs index: https://hugy.ai/agents/index.md
