Skip to content

Agent Panel: Agent is missing tools #30324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vudx00 opened this issue May 9, 2025 · 3 comments
Open

Agent Panel: Agent is missing tools #30324

vudx00 opened this issue May 9, 2025 · 3 comments
Labels
agent Refers to new agent panel or inline agent ai Improvement related to Assistant, Copilot, or other AI features

Comments

@vudx00
Copy link

vudx00 commented May 9, 2025

Summary

Zed Agent is missing several documented tools, including file/directory manipulation and terminal access.

Description

Zed Version: 0.185.13
OS: macOS 15.4.1
LLM Provider: Anthropic, Zed Hosted
LLM Model: claude-3.7-sonnet
Agent Profile Used: Write profile used

Steps to trigger the problem:

  1. Open the Zed editor.
  2. Open the Agent Panel (e.g., using the ✨ icon or command palette agent: new thread).
  3. Ensure an LLM provider and model that supports tool use is configured and selected.
  4. Ensure a profile that should grant access to all or most tools (e.g., "Write" profile) is active.
  5. Attempt to use or observe the available tools, or ask the agent to perform an action that would require one of the missing tools (e.g., "create a directory named 'test_dir'").
  6. Compare the tools the agent can use (or indicates it has) against the official Zed AI tools documentation (https://zed.dev/docs/ai/tools).

Actual Behavior:
The Zed agent indicates or demonstrates that it does not have access to several tools listed in the official documentation. Specifically, the following tools appear to be unavailable based on my interaction and the agent's feedback (see attached screenshot for an example of the agent's own analysis):

  • copy_path
  • create_directory
  • create_file
  • delete_path
  • edit_file
  • move_path
  • terminal
  • web_search

Image

The agent is unable to perform actions that rely on these tools, such as creating directories or executing shell commands.

Expected Behavior:
The Zed agent, when using an appropriate profile (like "Write") and a compatible LLM, should have access to all tools listed in the official documentation at https://zed.dev/docs/ai/tools, including those for file system manipulation (copy_path, create_directory, create_file, delete_path, edit_file, move_path), terminal execution (terminal), and web searching (web_search). The agent should be able to utilize these tools to fulfill relevant user requests.

Zed Version and System Specs

Zed: v0.185.13 (Zed)
OS: macOS 15.4.1
Memory: 48 GiB
Architecture: aarch64

@vudx00 vudx00 added ai Improvement related to Assistant, Copilot, or other AI features agent Refers to new agent panel or inline agent labels May 9, 2025
@poetinger
Copy link

poetinger commented May 9, 2025

Two versions ago mine was working as expected, but now it fails the same way yours does. Same machine but 16GB RAM instead (not that that should matter here). I'm wondering if the profile says I have write selected but is actually using ask, because I cannot switch them (clicking does nothing).

Correction: In some projects I cannot use any tool. For example, after just getting the above output that was mostly the same as yours, in a different project (again, profile indicates write is selected) I get the output:

I apologize for the inconvenience, but as an AI, I am unable to fetch external URLs directly. You can provide the content of the URL here, and I will help you compare it with what I can currently use.
If you have any questions or need assistance, please let me know!

@poetinger
Copy link

Update: My issues have been solved. Removing the Model Context Server fixed my issues.

@JPBarringer
Copy link

How did you remove it?

I'm running into an issue where the read files tool is returning stale information to the LLM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Refers to new agent panel or inline agent ai Improvement related to Assistant, Copilot, or other AI features
Projects
None yet
Development

No branches or pull requests

3 participants