# AGENTS.md

Self-hosted AI coding assistant

## Setup

```
pnpm install
```

## Commands

```
pnpm build        # produce a build
pnpm test         # run the test suite, must pass before any commit
pnpm lint         # lint
pnpm vscode:dev
pnpm lint:fix
```

## Layout

- `ee/`           681 source files
- `clients/`      379 source files
- `crates/`       132 source files
- `experimental/` 40 source files
- `python/`       34 source files
- `website/`      13 source files

## Conventions

- Tests live alongside the code they cover, following `MODEL_SPEC.md`.
- CI defines what passing means. See `.github/workflows/ast-grep-lint.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `ee/tabby-webserver/ui/_next/static/chunks/7051-7a80262a5dbfe971.js` is 1724KB. 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.
