# Agents and environment management

- [How can I move existing Edge Agent deployments to a new Portainer Server instance?](https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management/how-can-i-move-existing-edge-agent-deployments-to-a-new-portainer-server-instance.md)
- [Why can't my agents communicate with Portainer on Swarm?](https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management/why-cant-my-agents-communicate-with-portainer-on-swarm.md)
- [Why has my Environment IP not updated after I changed it?](https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management/why-has-my-environment-ip-not-updated-after-i-changed-it.md)
- [Why is my Portainer Edge Agent using a large amount of memory?](https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management/why-is-my-portainer-edge-agent-using-a-large-amount-of-memory.md)
- [Troubleshooting Edge Agent Connection Issues](https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management/troubleshooting-edge-agent-connection-issues.md)
- [How do I change the way I connect to an environment without losing my existing stacks?](https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management/how-do-i-change-the-way-i-connect-to-an-environment-without-losing-my-existing-stacks.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/faqs/troubleshooting/agents-and-environment-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
