Flows: the Intelligence Graph update step
For users who maintain an Intelligence Graph and want its next version trained from what a Flow learned, for example folding each week's research notes into a sector graph. The Intelligence Graph update step builds a training PDF from the connected steps' results and the base version's documents, then creates the next version from it. It does not take a PDF you supply; for that, build a version from the graph's page (Intelligence Graphs: build a version). Before you start: the graph needs a version with training documents.
Steps
- In the Flow editor, add an Intelligence Graph update step and connect each Task whose results should feed the graph into it. Each connected step is ticked under Sources automatically.
- Open the step and pick the graph under Intelligence Graph ("Currently vN; this step creates vN+1.").
- Read Base: "Starts from vN · k documents" and the document names. When the step runs, the base is always the graph's newest Ready version, never the first version or a merge, so a weekly run builds on last week's version.
- Under Sources ("Upstream results to learn from, plus any files in your workspace matching a pattern."), untick any step you do not want, or add a workspace pattern such as
projects/conversations/**/memo*.pdf. - Choose the Update mode:
- Rewrite (default): "The learnings from the connected steps and version N's documents are rewritten by model into one new training document. Version N+1 is trained on that document." The line names your deployment's Coordinator model.
- Append: "Version N's documents are kept as they are; a new document with only the learnings is added."
- Leave Hold the new PDF for my review before creating the version on (the default) to read the PDF first: "An Inbox card shows the built PDF with Approve · Send back · Stop before the Intelligence Graph version is created."
- Switch on Update all agents using this Intelligence Graph (off by default) to move every agent listed under it to the new version when it is created. Off: "The version is created; you publish and adopt it from the Inbox card."
- Note Destination: the graph's training folder,
users/<you>/ampg/<graph>/training/, where the PDF is written as<date>_v<N+1>.pdf, for example20261026_v4.pdf. - Save the version, activate it and run the Flow (Flows: run, schedule, approve).
What you should see
With the hold on, the run reads Needs you and the step waits with the built PDF for Accept or Send back, in the run's Lens or in the Inbox. When the version is created, the run's Intelligence Graphs view reads "Intelligence Graph version created · graph vN" (with "· adopted k agents" when agents moved) and Open the PDF. The Lens Timeline has an Intelligence Graph vN entry with Open file, View versions and, when adoption is left to you, Publish & adopt. The run's summary records the change as "Created name vN from vM + learnings · Rewrite" (or "· Append").
Notes
- Rewrite trains vN+1 on one consolidated document; Append trains it on the base documents plus one new document of learnings.
- Agents keep the version they pin until you move them: switch on Update all agents using this Intelligence Graph, click Publish & adopt on the run afterwards, or move them from the graph's page (Intelligence Graphs: use, move agents, delete).
- One version builds at a time per graph: the step cannot create its version while another version of the same graph is still building. A graph holds at most 50 versions.
- When adoption is left to you, the Inbox also shows "AMPG name vN is ready" with Publish & adopt (Inbox).
- If the step failed, the run's Run failed entry names it and the graph's versions table shows the failed attempt; fix the cause and click Run again. If you sent the PDF back, the step rebuilds it with your note and holds again.
- "Choose the Intelligence Graph to update.": pick a graph. "Pick at least one source: the learnings come from the connected steps.": connect or tick a step.
- "No training documents found for vN — the step will fail rather than rewrite nothing.": build a version with documents first.
- "The saved target graph id is not in this deployment. Pick a local graph.": the Flow was pulled from another deployment; pick one of your graphs.