# AGENTS.md

DeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability — leave it running.

## Setup

```
go mod download
```

## Commands

```
make build          # produce a build
make vet
make fmt
make lint           # lint
make lint-go
make lint-install
```

## Layout

- `internal/`   2227 source files
- `desktop/`    1185 source files
- `benchmarks/` 524 source files
- `workers/`    101 source files
- `cmd/`        71 source files
- `scripts/`    62 source files

## Conventions

- Tests live alongside the code they cover, following `benchmarks/compaction/main_test.go`.
- CI defines what passing means. See `.github/workflows/cache-impact.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `desktop/app.go` is 376KB. It will not fit comfortably in context, so read it in parts.
- Copy `.env.example` before running anything that needs configuration.

---

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.
