Update AGENTS.md

This commit is contained in:
George Hotz
2025-05-19 17:59:59 -07:00
committed by GitHub
parent 9389edf7ac
commit ceb9d94eab

View File

@@ -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.