# Can sensu 5 agents connect to sensu 6 backends?

**URL:** https://discourse.sensu.io/t/can-sensu-5-agents-connect-to-sensu-6-backends/2668
**Category:** Sensu Go
**Tags:** sensu-go
**Created:** [August 11, 2021, 7:02am UTC](https://discourse.sensu.io/t/can-sensu-5-agents-connect-to-sensu-6-backends/2668 "2021-08-11T07:02:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Neon](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@Neon](https://discourse.sensu.io/u/Neon)
#### Post date: [August 11, 2021, 7:02am UTC](https://discourse.sensu.io/t/can-sensu-5-agents-connect-to-sensu-6-backends/2668/1 "2021-08-11T07:02:29Z")

</div>

This is just a quick question in the title.

Planning a upgrade from sensu 5 to 6 and I want to know if I need to upgrade my agents immediately or not.

Thanks for your time!

---

<div class="post-metadata">

### Author: ![DavidS](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/davids/32/431_2.png) [@DavidS](https://discourse.sensu.io/u/DavidS)
#### Post date: [August 11, 2021, 4:01pm UTC](https://discourse.sensu.io/t/can-sensu-5-agents-connect-to-sensu-6-backends/2668/2 "2021-08-11T16:01:38Z")

</div>

Yes, sensu-agent 5.x can connect to and work with a 6.x backend. A quick scan through entities in one of my production clusters, running the 6.3.0 backend, shows a couple dozen still running the 5.20.1 agent.

That said, if you wanted to use [agent-managed entities](https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-entities/entities/#manage-agent-entities-via-the-agent) (which was the default behavior in 5.x), you _will_ need to upgrade them to 6.2.3 or higher before changes to the agent.yml file are reflected in the backend.
