# AGENTS.md

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.

## Setup

```
uv sync
```

## Commands

```
ruff check .   # lint
```

## Layout

- `openpilot/` 666 source files
- `tools/`     64 source files
- `scripts/`   18 source files
- `docs/`      1 source file

## Conventions

- Tests live alongside the code they cover, following `openpilot/cereal/messaging/tests/__init__.py`.
- CI defines what passing means. See `.github/workflows/auto_pr_review.yaml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

---

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.
