# Extract an agent_ui crate from agent \(\#33284\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2283ec5de26feedecf5f1f75d76c367636623263)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2283ec5de26feedecf5f1f75d76c367636623263

Requested commit: 2283ec5de26feedecf5f1f75d76c367636623263

Commit: 2283ec5de26feedecf5f1f75d76c367636623263

Tree: ef75f0549f36671247f2a4826b5e2931831fedab

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Extract an agent_ui crate from agent (#33284)

This PR moves the UI-dependent logic in the `agent` crate into its own
crate, `agent_ui`. The remaining `agent` crate no longer depends on
`editor`, `picker`, `ui`, `workspace`, etc.

This has compile time benefits, but the main motivation is to isolate
our core agentic logic, so that we can make agents more
pluggable/configurable.

Release Notes:

- N/A
```

## Parents

- [371b7355d3da9dff79283e1ac98b2455b118ee19](https://git.cafe/gitcafe/zed/commit/371b7355d3da9dff79283e1ac98b2455b118ee19?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2283ec5de26feedecf5f1f75d76c367636623263?format=markdown)
