> For the complete documentation index, see [llms.txt](https://docs.contextual.io/documentation-and-resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.contextual.io/documentation-and-resources/components-and-data/flows/node-red-flow-editor/restart-agents-to-make-changes-active.md).

# Restart Agents to Make Changes Active

With every change to a Flow (by clicking Save), you'll have a new Flow version. In order for those changes to take effect within your Agent (which puts Flows live by applying compute resources), you need to restart the agent and ensure you are selecting the latest Flow version.

If you have a new version of a Flow available, it will show 'Update Available' in your Flow Version column for your Agent.

<figure><img src="https://2803907488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJF7AoTYz7NHacejws5p9%2Fuploads%2Fgit-blob-0a1bf3f61fb2f07d89f24b5d392f5b91535936c7%2FScreen%20Shot%202024-07-31%20at%2010.49.53%20AM.png?alt=media" alt=""><figcaption><p>Agent List - New Flow Version Indicator</p></figcaption></figure>

On Agent restart, if there is a new Flow available you will also be prompted to select it.

<figure><img src="https://2803907488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJF7AoTYz7NHacejws5p9%2Fuploads%2Fgit-blob-ccbf87896e91d7c4d87c205fe6a848bc7d1c41f9%2FScreen%20Shot%202024-07-31%20at%2010.51.34%20AM.png?alt=media" alt="" width="329"><figcaption><p>Agent Restart - New Flow Version Prompt</p></figcaption></figure>

If you need to revert to a previous Flow version simply use the Version Control feature, restore the Flow version you want to use (which will create a new / updated version number), and run that with your Agent.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.contextual.io/documentation-and-resources/components-and-data/flows/node-red-flow-editor/restart-agents-to-make-changes-active.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
