How to Prompt an AI Agent to Retrieve Project Context

Download Hemory
On this page

A status update, proposal, or follow-up may depend on decisions and details spread across several project conversations. Recalling and summarizing all of them before you can ask for a draft creates extra work—and can leave out something you didn’t think to mention.

A connected AI agent can retrieve relevant Hemory Memory that is available through its connection. Use a two-stage prompt: ask it to find and identify the context first, review that context yourself, then request the draft with any current information it needs.

TL;DR

  • Start with the document’s purpose, audience, and current goal—not a manually assembled history of every discussion.
  • Ask the connected agent to retrieve relevant captured conversations, identify what it relied on, and pause before drafting.
  • Review important details for source, attribution, current status, and conditions. Add updates the past conversations cannot provide.
  • Then ask the agent to draft. Hemory provides accessible Memory; the connected agent does the retrieval and writing, and you decide what to use.

1. Give the agent the current task

Tell the agent what you’re writing and what the document needs to help its readers do. Include the audience, format, and any current constraints. This gives it a purpose for retrieving context instead of asking for a broad recap of the project.

For example, a status update might need to communicate progress, open decisions, blockers, and next steps. A proposal might need to reflect earlier requirements while making a new recommendation. State which kind of output you want; don’t assume the agent can infer the purpose from conversation history alone.

Add information that exists only now, such as a changed priority, a recent result, or a new deadline. Past conversations can inform the task, but they cannot establish what has changed since they were captured.

2. Ask for relevant captured context before a draft

If the relevant discussions were captured in Hemory and are accessible through the connected agent, ask it to retrieve material related to your current task. You don’t need to reconstruct a complete timeline or summarize every conversation first. The agent can use available context to surface relevant details you may not have recalled.

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

Retrieve past commitments and draft follow-up tasks.

Ask it to identify which conversations or records it relied on, using titles, dates, or supporting passages if the connection makes those available. Also ask it to distinguish what the captured material says from current instructions or its own interpretation, and to flag conflicts or missing information. Request that it wait rather than drafting immediately.

You can adapt this first-stage prompt:

I’m preparing [document type] for [audience]. The goal is to [current goal].

Please retrieve relevant captured project conversations from the Hemory Memory available to you. Focus on material that could affect this document; don’t create a full project chronology.

Before drafting, return:
- A concise summary of the relevant points.
- The conversations or records you relied on, with titles, dates, or supporting passages where available.
- Any conflicting, potentially outdated, or uncertain details, and what current information is missing.
- A distinction between what the records say and any conclusions you infer.

Do not draft yet. If you cannot identify the source of a detail or cannot access relevant records, say so rather than guessing.

The request asks the agent to show its basis; it does not guarantee that every connected client can return source titles, dates, or passages. If it cannot identify the material it used, treat that as a limit on what you can review—not proof that the conversations do not exist.

3. Review the retrieved context, not every historical detail

Before asking for prose, check the points that could change the document’s meaning or next action:

  • Source and attribution: Does the conversation support the detail, and is it attributed to the right person or group?
  • Status and timing: Is a past plan still current? Does a later record actually update it, or merely mention it again?
  • Decision and conditions: Was a suggestion accepted? Is an agreement conditional? Is a deadline stated, or still unknown?
  • Missing current information: Have priorities, results, ownership, or constraints changed since the recorded discussions?

Correct the agent where needed. Add current facts yourself, and leave unresolved details marked as unknown or turn them into a question for the right person. A transcript or summary can help recover what was discussed, but it doesn’t by itself prove current progress or approval.

If a necessary conversation was never captured or is outside the connected agent’s accessible scope, provide another available source or ask a focused clarification. Hemory can’t retrieve an exchange that was never recorded or made accessible.

4. Request the draft after review

Once the retrieved context is useful, ask the agent to draft for the stated audience and purpose. Tell it to use the reviewed context and your updates, preserve unresolved points, and avoid turning proposals into decisions or past plans into confirmed current status.

For example:

Now draft [document type] for [audience] using the context I reviewed and the current information below.

Current updates or instructions:
- [Add only information that is new or not available in the retrieved conversations.]

Keep confirmed decisions distinct from proposals, conditions, and open questions. Do not invent owners, dates, approvals, or progress. Mark any material gap that still needs confirmation. Use [format, length, or tone requirements].

Read the draft as work you are responsible for reviewing, not as an automatic record of the project. Check the details that affect decisions, commitments, or what readers will do next. Then edit and share it through your normal process; connecting an agent to Hemory does not by itself approve or send a document.

FAQ

Do I need to summarize every past conversation first?

No. If relevant conversations were captured in Hemory and the connected agent can access them, ask it to retrieve context for the current task. You still need to supply the goal and any important current updates, then review what it found.

Should I ask the agent to show its sources?

Yes. Ask which conversations or records it relied on and request identifying details or supporting passages where available. Source visibility depends on the connected agent, so don’t assume every client can provide the same information.

What if the agent finds conflicting or outdated information?

Ask it to surface the conflict rather than choosing silently. Compare the scope, timing, and whether a later statement actually changed an earlier decision. Supply current information or leave the point open if you cannot resolve it.

Next step

Try the two-stage prompt with one document you already need to write. Let the connected agent retrieve relevant captured context before you assemble a manual recap; review the details that matter, add current information, and request the draft only when the context is ready.

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