# Agent mode files not autocompleting, or not found

**URL:** <https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446>\
**Category:** Bug Reports\
**Tags:** chat, context\
**Created:** [April 11, 2026, 10:40pm UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446 "2026-04-11T22:40:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdelrahman\_Eid](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Abdelrahman\_Eid](https://forum.cursor.com/u/Abdelrahman_Eid)\
**Post date:** [April 11, 2026, 10:40pm UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446/1 "2026-04-11T22:40:32Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

agent mode as an issue when i select project i can’t select specific file using @, it is working perfectly in the ide mode (which i prefer better since each chat can list it’s own changes)

### Steps to Reproduce

agent mode as an issue when i select project i can’t select specific file using @, it is working perfectly in the ide mode (which i prefer better since each chat can list it’s own changes)

### Expected Behavior

it should be able to autocomplete or show a list of files am searching for

### Screenshots / Screen Recordings

 ![SCR-20260412-bnri.png](https://us1.discourse-cdn.com/cursor1/original/3X/4/4/446757a9cec3421dfc703a80ab5d0c2715c39f92.png)

### Operating System

MacOS

### Version Information

Version: 3.0.16  
VSCode Version: 1.105.1  
Commit: 475871d112608994deb2e3065dfb7c6b0baa0c50  
Date: 2026-04-09T05:33:51.767Z  
Layout: glass  
Build Type: Stable  
Release Track: Default  
Electron: 39.8.1  
Chromium: 142.0.7444.265  
Node.js: 22.22.1  
V8: 14.2.231.22-electron.0  
OS: Darwin arm64 25.4.0

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<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:** [April 13, 2026, 10:34am UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446/6 "2026-04-13T10:34:40Z")

</div>

Thanks for reporting this. This is a known area we’re actively working on improving in the Agent window.

To help narrow this down, could you confirm a couple of things?

1. Are you running a local agent or a cloud agent when you see this? (The “Run in Cloud” button at the bottom of your screenshot suggests local, but I want to confirm.)

2. Does this happen consistently every time you type `@` in the Agent window, or is it intermittent?

3. Does typing just a filename (without the path separators `/`) make a difference? For example, does `@admin` show results?

In the meantime, as you mentioned, the IDE mode sidebar chat (`Cmd+I`) does handle `@` file mentions correctly. You can continue using that as a workaround.

---

<div class="post-metadata">

**Author:** ![Abdelrahman\_Eid](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Abdelrahman\_Eid](https://forum.cursor.com/u/Abdelrahman_Eid)\
**Post date:** [April 13, 2026, 8:42pm UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446/7 "2026-04-13T20:42:05Z")

</div>

> [@mohitjain](#):
>
> 1. Are you running a local agent or a cloud agent when you see this? (The “Run in Cloud” button at the bottom of your screenshot suggests local, but I want to confirm.)
> 2. Does this happen consistently every time you type `@` in the Agent window, or is it intermittent?
> 3. Does typing just a filename (without the path separators `/`) make a difference? For example, does `@admin` show results?

1. yes working locale

2. yes happens every time specially with nested files and folders

3. after the last update (13-04-2026) typing / make the folders / files appear but as you know as developers we need to quickly reach to the file with just typing the abbreviation

---

<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:** [April 14, 2026, 7:03am UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446/8 "2026-04-14T07:03:05Z")

</div>

Thanks for confirming those details.

Since you’re running a local agent, this is a known limitation in how the Agent window’s `@` mention picker handles search queries compared to the IDE mode sidebar. The Agent window currently requires your search text to appear as an exact substring in the filename or path, which means abbreviation-style queries (like `@admin` to find a deeply nested file) won’t surface results the way the IDE mode does with its fuzzy matching.

The `/` improvement you noticed in the latest update is a step in the right direction. The team is actively working on improving the mention picker’s search quality in the Agent window to bring it closer to the IDE mode experience, including better fuzzy matching for abbreviations.

In the meantime, the workarounds are:

- Use `/` to browse the file tree and navigate to nested files

- Use the IDE mode sidebar chat (`Cmd+I`) for workflows where quick `@` file references are critical

- Drag and drop files from the sidebar into the Agent window prompt

---

<div class="post-metadata">

**Author:** ![Abdelrahman\_Eid](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Abdelrahman\_Eid](https://forum.cursor.com/u/Abdelrahman_Eid)\
**Post date:** [April 14, 2026, 11:26am UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446/9 "2026-04-14T11:26:14Z")

</div>

hope you will not disable the IDE mode, since as a daily developer it is much more useful than the new agent mode, checking code, editing code, having all the changes in the chat separately instead of all changes in the project

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 6, 2026, 11:26am UTC](https://forum.cursor.com/t/agent-mode-files-not-autocompleting-or-not-found/157446/10 "2026-05-06T11:26:23Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
