# AGENTS.md

LLM inference in C/C++

## Setup

```
pip install -r requirements.txt
```

## Commands

```
make https
```

## Layout

- `tools/`      922 source files
- `ggml/`       576 source files
- `src/`        214 source files
- `examples/`   99 source files
- `conversion/` 89 source files
- `common/`     70 source files

## Conventions

- Tests live alongside the code they cover, following `examples/llama.android/lib/src/test/java/android/llama/cpp/ExampleUnitTest.kt`.
- CI defines what passing means. See `.github/workflows/ai-issues.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `vendor/miniaudio/miniaudio.h` is 4012KB. 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.
