# AGENTS.md

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

## Setup

```
# TODO: the install command. No lockfile was found, so this could not be inferred.
```

## Commands

```
ruff check .   # lint
```

## Layout

- `python/`  3253 source files
- `rllib/`   930 source files
- `src/`     895 source files
- `release/` 475 source files
- `java/`    370 source files
- `doc/`     317 source files

## Conventions

- Tests live alongside the code they cover, following `.buildkite/always.rules.test.txt`.
- CI defines what passing means. See `.github/workflows/dependabot_recompile_deps.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `python/ray/serve/tests/unit/test_deployment_state.py` is 403KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

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.
