GeniffyDocs
Changelog Log In Get a key

briefing

A person coming back to a project doesn't search their memory for ten facts. They recall where things stand, what they promised, what they learned the hard way and what happened last time. briefing() gives your model the same, in one read, written out for your prompt.

briefing = mem.briefing(project="checkout", cue=user_message)
system = f"{briefing}\n\n{instructions}"

It reads, in this order, and stops at budget_chars (default 6,000) without cutting a line in half:

Part What it holds
Said last Only in the minute after a session stops, before Geniffy has read it: the last words the person and the assistant said, as they said them
Where things stand The project's goal, its status (what works, what fails, what it waits on) and the next steps in the order they were said, then what blocks it, what is still open and since when, the decisions made and why, and what was finished and what settled it
Last time The latest stretch of work on the project, step by step, each with how it ended
Due or promised Promises and plans, yours and those made to you, whose time has come first
Rules and lessons How-tos, rules and lessons learned, with when they apply and why; the ones that bear on the cue first
What happened before Earlier episodes: what happened, how it ended and what it led to; the ones most related to the cue, then the latest
What is known The memories that match the cue, each with its date

Every line carries its date and time, so when an older note and a newer one disagree, your model can tell which came later.

  • project is the label the sources carry: a project, context, thread or repo label. A session saved from a repository is that repository's project. Leave it out to read across every project.
  • cue is what is happening now: the task, the question, the opening message. Give it when you have it; it decides which lessons, episodes and memories come first, and without one the briefing carries no memories.
  • It is read, not written by a model, so it costs nothing and is fast enough to call on every turn. Call it at the start of a session, and again when the task changes.
  • When nothing is known yet, a new user or a first call, it comes back empty. Give your prompt a line for that, such as Nothing is known about this user yet, so your model says so rather than guessing.
  • briefing_full() in Python and briefingFull() in TypeScript return the same text with its parts: now, due, lessons, episodes and memories, each with the source it came from. The REST response also has last, last time's episodes oldest first, and unread, the words said last (null when Geniffy has read everything).

Where it comes from

The briefing is built from everything you add, read as it happened. Send whole sessions, tool calls and results included (Conversations), and Geniffy works out the rest: the stories, where each project stands, the lessons and the promises. Facts still come only from what people said. Each part can also be read on its own: now, episodes, lessons and intentions.

Free to read

The briefing is read, not generated: no model is called, so it comes back at once, and it is never counted against a plan. Call it as often as your app needs. See Plans and usage.

Last updated November 2, 2026