Delete the AI agent/assistant layer entirely (to be replaced by our own loop):
- Removed crates: agent, agent_ui, agent_servers, acp_thread, acp_tools,
skill_creator, eval_cli, eval_utils, sidebar (sidebar existed only to host
the agent thread UI). ~200k LOC / ~190 files gone.
- Cut all agent init + panel lifecycle + zed:// URL handlers from main.rs/zed.rs/
open_listener.rs; removed settings_ui tool-permissions page; dropped agent
dev-deps and agent_sharing tests from collab/remote_server.
Kept (structurally needed by retained crates, defer to later cleanup):
- agent_skills (prompt_store ProjectContext + rules_to_skills_migration; also
auto_update_ui, settings_ui skills page)
- ai_onboarding (edit_prediction onboarding modal/upsell; language_models cloud)
cargo check --workspace is GREEN (0 errors, 13 warnings). Residual: a few
test-only / visual-test-gated files still ref the deleted agent crate
(visual_test_runner.rs, remote_server remote_editing_tests.rs) — not in the
default build; cleanup tracked for follow-up.
Co-Authored-By: Claude Opus 4.8 <[email protected]>