# "Agent encountered an error" when trying to setup new cloud agent env

**URL:** <https://forum.cursor.com/t/agent-encountered-an-error-when-trying-to-setup-new-cloud-agent-env/167902>\
**Category:** Bug Reports\
**Tags:** cloud-agents\
**Created:** [August 10, 2026, 12:05pm UTC](https://forum.cursor.com/t/agent-encountered-an-error-when-trying-to-setup-new-cloud-agent-env/167902 "2026-08-10T12:05:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [August 10, 2026, 12:28pm UTC](https://forum.cursor.com/t/agent-encountered-an-error-when-trying-to-setup-new-cloud-agent-env/167902/7 "2026-08-10T12:28:25Z")

</div>

Split this topic on August 10, 2026, 12:28pm UTC

A post was merged into an existing topic: [Cloud Agents: Agent encountered an error after AttachPty — “No environment build used” (repro on Cursor default image)](https://forum.cursor.com/t/cloud-agents-agent-encountered-an-error-after-attachpty-no-environment-build-used-repro-on-cursor-default-image/167834)

---

_[View the full topic](https://forum.cursor.com/t/agent-encountered-an-error-when-trying-to-setup-new-cloud-agent-env/167902)._
