Skip to content

Conversation

@odvcencio
Copy link
Contributor

@odvcencio odvcencio commented Nov 21, 2025

Summary

Add environment-driven registration for a custom agent server. If ZED_AGENT_SERVER_BIN is set, Zed registers a local agent server alongside built-ins. Optional envs: ZED_AGENT_SERVER_ARGS (shlex-parsed) and ZED_AGENT_SERVER_NAME (label). Tilde expansion is supported.

Motivation

  • Faster local/internal agent workflows without editing settings or packaging an extension
  • Point Zed at an existing ACP-compatible agent binary with minimal setup
  • Keep built-ins untouched; opt-in via env vars

Testing

  • cargo clippy -p project --all-targets --all-features -- -D warnings (local)
  • cargo test -p project env_agent_server_config_parses (local)

Release Notes:

  • Added environment-driven registration for a custom agent server via ZED_AGENT_SERVER_BIN/ARGS/NAME so users can point Zed at a local ACP-compatible binary without editing settings.

@cla-bot
Copy link

cla-bot bot commented Nov 21, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @odvcencio on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@maxdeviant maxdeviant changed the title agent-servers: support env-configured custom server agent-servers: Support env-configured custom server Nov 21, 2025
@odvcencio
Copy link
Contributor Author

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Nov 21, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @odvcencio on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot
Copy link

cla-bot bot commented Nov 21, 2025

The cla-bot has been summoned, and re-checked this pull request!

@odvcencio odvcencio changed the title agent-servers: Support env-configured custom server Agent servers: support env-configured custom server Nov 21, 2025
@odvcencio
Copy link
Contributor Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 21, 2025
@cla-bot
Copy link

cla-bot bot commented Nov 21, 2025

The cla-bot has been summoned, and re-checked this pull request!

@maxdeviant maxdeviant changed the title Agent servers: support env-configured custom server project: Support env-configured custom agent servers Nov 21, 2025
@odvcencio odvcencio changed the title project: Support env-configured custom agent servers Project: support env-configured custom agent servers Nov 21, 2025
@maxdeviant maxdeviant changed the title Project: support env-configured custom agent servers project: Support env-configured custom agent servers Nov 21, 2025
@SomeoneToIgnore SomeoneToIgnore added the area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement

Projects

Status: Community PRs

Development

Successfully merging this pull request may close these issues.

2 participants