Buffaly Logo Buffaly

Recall agent

Recall finds saved guidance that applies to a user's request and sends useful findings to the working agent. Its companion is named Context Recall. It retrieves existing context and session memory; it does not learn new rules or carry out the user's task.

Retrieve the rule that applies to this request

Recall identifies the people or components involved, the intended action and the circumstances that select saved guidance. Drafting an email, sending it and discussing a prohibition against sending are different situations. Recall reads the matching ContextPrompt before treating it as applicable and preserves its conditions, exceptions and any conflict with the current user's direction.

The restricted companion tools search entities, actions and saved contexts, then read exact declarations or context bodies. Definition reads cover the parent's own saved session memory and learned actions, plus its configured project sources. Recall does not search unrelated session histories, load discovered actions or execute them. Its only delivery target is its bound parent.

A finding must include an applicable saved context or a declaration in the parent's saved memory. A catalog action or project definition alone is not a finding. No applicable guidance is a normal outcome: Recall finishes locally without sending filler.

Install the package, then attach it to a normal agent

  1. Install a compatible Recall extension. Use the installation's supported web-module installation path. The Recall package supplies Buffaly.Agent.Recall.dll, the Skills/Recall project and prompt, and Agents/recall-companion.agent.json. Use the matching core/tools release: current Recall relies on the core's advisory-context delivery and persisted companion controls. The extension does not bundle replacement core assemblies.
  2. Declare the attachment. Have the administrator add recall-companion to the existing normal buffaly-agent profile's CompanionAgents, with the desired EnabledByDefault. Preserve the other declarations. The shipped core profile lists System 2 and the two critics, not Recall; installing the package alone does not add this declaration.
  3. Verify the provider. The Recall profile defaults to OpenAI gpt-6-luna with high reasoning. Configure OpenAI authentication and verify that the selected model is available. Existing children retain their saved model selection; a profile default does not replace it.
  4. Check the source binding. In the working session's agent information view, inspect Companion agents and open Context Recall. The normal coordinator creates {source}-recall, sets its parent and ObservedSessionKey, and binds user.input.admitted to tool:ToDispatchRecallObservation. Use the watcher setup guide for missing-child or binding repair, not a separately created unbound Recall session.
  5. Turn event delivery On. Both the normal source and its Recall child must be enabled. Recall requires a matching project, valid parent/source relationship and valid event binding. Specialized agents, validated-prompt executions and companion children are not eligible normal parents.

Recall's profile is available for inspection, but excludes its supporting child from the ordinary session list and next-update navigation. Open it through the parent controls. Its restricted tools retrieve evidence and send guidance; the profile's visibility is not a claim of memory-writing authority.

Ordinary input starts research; useful guidance appears in the timeline

  1. Send an ordinary user request to the enabled working session. Only user.input.admitted starts Recall research. Tool results, system messages, inter-agent messages and compaction products do not trigger it.
  2. Recall receives the admitted text in its normal companion turn. Inputs longer than 16,000 characters are cut off with a notice; research covers the supplied portion. The parent continues independently, so Recall is not a synchronous checkpoint before the parent's first model request.
  3. For useful new findings, Recall calls ToSendRecallContext. The parent sees an informational agent message beginning “The following may help you with your request. They do not supersede the user's instructions.” Each finding names the situation, what to do, any constraints and a linked source.
  4. The parent decides what applies and continues within the user's scope. An accepted send proves admission, not that the parent used the guidance or verified its result.

Before delivery, Recall checks the originating parent turn. If it already has a final answer, ParentFinalReviewRequired returns that answer without sending. The companion judges whether the finding would materially correct it or supply an important omission. Only a justified ToSendReviewedRecallContext may reopen completed work. Ordinary unreviewed advice uses the core's advisory path and cannot rearm a completed turn merely by arriving late.

The prompt tells Recall not to repeat unchanged findings it already delivered, echo a save request or send generic advice. With nothing applicable, nothing new or no material change to a completed answer, it ends locally. These relevance judgments are companion instructions; source, revision and binding checks are enforced by the tools. General send/queue procedures belong to session collaboration.

Use existing companion controls

Event delivery On/Off saves the child's enabled state. EnabledByDefault affects new children only; reconciliation preserves an existing child's choice. Removing Recall from the source profile's declaration makes existing children ineligible for research and delivery. A separate Recall policy file is not an active control.

The callback and research/delivery tools recheck eligibility. Off blocks later gated operations, but does not cancel a provider request or code already past its check, retract delivered messages or erase saved memory. Turning it back on does not replay skipped inputs. Recall uses ordinary companion execution and stopping; it has no private polling runner or the critics' finite write budget.

Choose retrieval, memory writing or supervision

  • Saved contexts hold explicit conditional instructions, such as how to handle a particular kind of work. The primary agent saves them through the context-authoring workflow. Recall reads them; it never silently turns its interpretation into a new rule.
  • Session-local memory holds searchable facts and relationships for one session. Recall can retrieve that existing memory; the primary or an enabled memory critic owns writing it.
  • System 2 checks progress and completion after a turn. Recall retrieves applicable guidance after user input; it does not supervise task completion.
  • Online Memory Critic, displayed as Online Memory, learns source-local entities and relationships from a completed turn. It is a writer, distinct from Recall's retrieval.
  • Online Action Critic constructs reusable source-local actions from a completed turn. Recall may inspect existing action definitions, but never constructs or runs them.

Verify the binding, finding and parent outcome

Start with a status-only request: “Inspect this session's Context Recall companion without repairing it or running a review. Report the declared profile, source binding, event-delivery state and saved provider/model.” After setup, use an ordinary request to which an already saved context applies. Open the companion, inspect its callback and finding or local no-send outcome, then check the parent timeline and subsequent answer. An absence of a message by itself does not distinguish correct silence from a provider or binding failure.

  • No Context Recall control: check package loading and the source profile declaration. Missing profile/project/prompt files require installation repair; a new arbitrary child is not a substitute.
  • No research turn: check both enabled states, the exact parent/project/source binding, the admitted-input event and handler. Old inputs are not replayed just because delivery was enabled later.
  • Callback but no guidance: inspect provider authentication, saved model and the companion outcome. NoApplicableContext, NoNewContext and NoMaterialChange can all be correct. No finding means no parent message.
  • Saved context not found or rejected: verify its semantic context binding and current source through the context guide. Changed revisions, stale bindings or missing declarations must be read again or reported, not bypassed. Indexing pending is not successful discovery.
  • Guidance admitted but not reflected in the answer: inspect the originating turn, late-answer review outcome and actual parent use. Do not equate the send receipt with consumption, resend unchanged advice or remove the parent's authority checks.