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 that uses the graph to the new version when it is created, including agents that are not on the Flow's board. In a governed deployment this covers every agent in the deployment that uses the graph, because everyone there shares the deployment. 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; Lens shows the new version and how many agents adopted it) 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").
While the version builds
- The step starts the build and then checks back until the new version is Ready, for as long as Graph publish wait allows, 60 minutes by default. A large graph, such as a weekly rewrite, therefore publishes reliably: the step no longer gives up while the version is still building. The request that starts the build has its own limit, Graph publish request limit, 120 seconds by default; the version itself builds in the background. Its line follows the build in the words of the graph's build page: "Version 7 · Waiting to start · 1st in line" while the version waits for a free build slot, then the running stage with its time left and the whole build's, such as "Version 7 · Linking related passages · 412 of 1,210 · about 25 min left · about 1 h 10 min left for the whole build". The whole build's time appears once the graph has an earlier version that was built.
- If the version waited for a build slot, the step says so, such as "It waited 60 min to start: Studio builds 2 graphs at a time and both were in use." Your administrator sets how many graphs build at once (Limits and quotas).
- In Append mode the version builds only the new document of learnings; the base version's documents are copied unchanged and its build page lists them as Carried over.
- On the graph's page, the version's row names the run that created it, such as "Created by the Broker consensus refresh run of 19 Nov, 06:00."
- If the version is still building when Graph publish wait ends (60 minutes by default), the step completes with a warning and the run reads Completed · 1 warning. The step's row reads, for example, "Version 7 of Broker Consensus is still building, so it was not adopted. It goes live on its own when the build finishes. Adopt it from the graph's page then, or turn on Update all agents for the next run." and "Waited 60 minutes for the build, the most this step waits." (the number is your deployment's Graph publish wait) Click Open Broker Consensus on the row (the button names your graph) to open the graph's page and follow the build there.
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.
- Across the deployment, Studio builds 5 graphs at once by default (1 to 20, set by your administrator on the deployment's Runtime limits tab in the Organisations console); a version beyond that waits its turn and starts on its own.
- 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.