# AGENTS.md

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

## Setup

```
cargo build
```

## Commands

```
cargo test   # run the test suite
```

## Layout

- `crates/`     1860 source files
- `tooling/`    63 source files
- `script/`     22 source files
- `extensions/` 9 source files
- `docs/`       5 source files
- `nix/`        3 source files

## Conventions

- Tests live alongside the code they cover, following `crates/agent/src/tests/mod.rs`.
- CI defines what passing means. See `.github/workflows/add_commented_closed_issue_to_project.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `crates/editor/src/editor_tests.rs` is 1362KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
