diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000000..df80b4e543c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,305 @@ +# AGENTS.md + +This file provides guidance to coding agents, such as Claude Code (claude.ai/code) when working with code in this repository. + +## Overview + +ExecuTorch is PyTorch's unified solution for deploying AI models on-device (smartphones to microcontrollers). It uses ahead-of-time (AOT) compilation to prepare PyTorch models for edge deployment via export → compile → execute workflow, producing `.pte` (PyTorch ExecuTorch) files for on-device execution. + +**Production Status**: Powers billions of users at Meta across Instagram, WhatsApp, Quest 3, Ray-Ban Meta Smart Glasses. + +## Build System + +### Initial Setup + +See `docs/source/using-executorch-building-from-source.md` for environment setup and installation. + +### Common CMake Build Options + +Configure with `-D