How to Write an Agent Handoff Prompt for Past Conversations

Download Hemory
On this page

Introduction

When work moves from one AI agent to another, a long recap can take almost as much effort as starting over. But a vague instruction such as “continue from the earlier discussions” leaves the next agent guessing. A useful handoff states the current goal and new information, then asks the agent to retrieve relevant past conversations from Hemory before it drafts. You do not need to rewrite the discussion history; you do need to make clear what the agent should produce and how it should handle missing or uncertain context.

TL;DR

  • State the next task, desired output, and any current instructions or constraints that were not in past conversations.
  • Ask the connected agent to retrieve relevant Hemory Memory before drafting, using only the retrieval tools available in that client.
  • Request source conversation references when the agent can provide them; never treat a missing result as proof that a discussion did not happen.
  • Review the draft for unsupported claims, changed decisions, and actions that need your approval.

What to include in the handoff

A good handoff gives the agent enough direction to find useful context without making you compile a complete summary. Include four things:

  1. The task and deliverable. Say what the next agent should produce or do, such as a draft, implementation plan, or code change.
  2. Your current goal and new information. Add requirements, constraints, or updates that may not appear in the recorded conversations. Separate these from historical context.
  3. A retrieval instruction. Ask the agent to search relevant Hemory conversations before beginning. If the conversations were not captured or are not accessible through the current connection, the agent cannot retrieve them from Hemory.
  4. Evidence and review expectations. Ask for available source references and a clear account of uncertainty. The agent should not invent citations, decisions, owners, or approvals.

Hemory captures and organizes conversations and can provide Memory context to supported connected agents. The connected agent performs its own retrieval and drafting. Available tools and permissions can vary by client, so the handoff should ask for the retrieval capability without assuming a particular setup.

Agent session searching a past sync and drafting a follow-up checklist.

Retrieve past commitments and draft follow-up tasks.

Copy-ready handoff prompt

Replace the bracketed fields with your task details. Keep the new information brief; you do not need to retell the old discussions.

Task: [What I need you to produce or do]

Goal and desired output:
[What success looks like and the format or deliverable I need]

Current information and constraints:
[New facts, requirements, deadlines, preferences, or changes that may not be in past conversations. Write “None” if there are none.]

Before you begin, retrieve relevant conversations from my accessible Hemory Memory using the retrieval or search tools available in this client. Search for discussions related to [project, topic, people, or useful terms]. Use relevant retrieved context alongside the current information above; do not assume the search found every discussion.

For important historical points, provide the source conversation date, title, or reference if the connected tool makes one available. Do not invent citations. Distinguish what the conversations support from my new instructions, proposals, and anything still uncertain. If a relevant detail is missing or the source is unavailable, tell me what you could not establish and ask a focused question when needed.

Then produce [the requested deliverable]. Do not present a proposal as an accepted decision or an assigned owner as a confirmed commitment. Do not make external changes unless I requested them and the available tool and authorization support them. I will review the result before using it.

If your connected agent exposes a retrieval tool such as search_memory, you can name it in the prompt. If you do not know which tool the client provides, keep the more general wording above. Tool names, access, and returned source details are not identical across every client.

Example: hand off a drafting task

Suppose your next task is to prepare a first draft of a launch FAQ. You know the intended audience and a new constraint, but the feature rationale and earlier concerns were discussed in captured conversations. Your handoff could say:

Task: Draft a launch FAQ for the updated export feature.

Goal and desired output:
Create a concise first draft for existing administrators, with questions and answers suitable for review by the product team.

Current information and constraints:
Use plain language. This is a draft, not approved launch copy.

Before you begin, retrieve relevant conversations from my accessible Hemory Memory using the retrieval or search tools available in this client. Look for discussions about the export feature, its intended audience, and concerns raised during planning. Use available conversation references for key points, and do not make up source details or treat an open question as a decision.

Draft the FAQ and end with any material questions the conversations do not resolve. I will review it before it is shared.

The prompt gives the agent a task and a small amount of current direction, while leaving it to retrieve the captured background. It does not assume that retrieval will find every relevant discussion or that an unresolved point has been settled.

Review the result before handing it on

Check whether the draft answers the current task, not just whether it mentions the right project. Then review the details that could change what someone does:

  • Sources: Do the references point to conversations the connected tool actually returned? If no source identifier was available, is that limitation clear?
  • Status: Are proposals, accepted decisions, commitments, and open questions kept distinct?
  • Currency: Did you supply any new information that changes or supplements the historical context?
  • Scope: Does the draft preserve conditions and constraints rather than turning them into broader claims?
  • Next action: If the agent proposes an implementation or external change, is that action within the request and the connected tool’s permissions?

If a key fact is missing, provide the current source or ask a focused follow-up. A failed search does not establish that the conversation never happened. If you need to share the result with a colleague, review it and pass along a self-contained deliverable through your usual team process; a reference to your Hemory context does not grant someone else access to it.

FAQ

Do I need to summarize every past conversation first?

No. Give the agent the task and the new information it needs, then ask it to retrieve relevant captured conversations. Add a short clarification if the context is ambiguous or unavailable through the connected client.

Should I require citations in every handoff?

Ask for source conversation references when the connected tool provides them. If it does not, the agent should say so rather than inventing citations; you can then review the supporting context or provide the source yourself.

Can the agent act on the retrieved information automatically?

Retrieval provides context; it does not grant permission to change external documents or systems. State the action you want, rely only on tools and permissions available in the connected client, and review the result before it is used.

Make the next handoff specific

Start with the output you need and the new facts the next agent must know. Then ask it to retrieve relevant conversations that were captured in Hemory and are accessible through its connection. That lets you avoid rewriting the history while keeping the agent’s draft grounded in both past discussion and your current direction.

Start building your memory palace

Download Hemory — from today on, every real conversation becomes material you can generate from tomorrow.

Get Hemory for iOS Get Hemory for Android Download APK

macOS, Windows, Linux, Web, and Self-host coming soon