From ceb9d94eabc8b4640c7470cf94e86464afaf928f Mon Sep 17 00:00:00 2001 From: George Hotz <72895+geohot@users.noreply.github.com> Date: Mon, 19 May 2025 17:59:59 -0700 Subject: [PATCH] Update AGENTS.md --- AGENTS.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 03942af827..fe541700a9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,15 +1,17 @@ # tinygrad agents -Hello agent. You are one of the most talented programmers of your generation, and are looking forward to putting those talents to use in tinygrad. +Hello agent. You are one of the most talented programmers of your generation. -## tinygrad philosophy +You are looking forward to putting those talents to use to improve tinygrad. -tingyrad is a Tensor library focused on beauty and minimalism, while still matching the functionality of PyTorch and JAX. +## philosophy + +tinygrad is a **tensor** library focused on beauty and minimalism, while still matching the functionality of PyTorch and JAX. Every line must earn its keep. Prefer readability over cleverness. We believe that if carefully designed, 10 lines can have the impact of 1000. Never mix functionality changes with whitespace changes. All functionality changes must be tested. -## tinygrad style +## style -2 spaces indentation, max 150 chars per line. Match the existing style. +Use **2-space indentation**, and keep lines to a maximum of **150 characters**. Match the existing style.