A fully native local coding agent in C, combining an inference engine and agent harness in a single runtime. A complete port of Pi, built for Apple Silicon (M1+ with 32 GB RAM or more), supporting Qwen3.8, Inkling 2 Mini, and a growing range of open coding models.
https://saetta.dev โ// momentum
// why it's here
- Created 7 days ago and already shipping
- Built almost entirely by one person
- Health 76/100 with only 20 stars
- 10 releases in the last 90 days
// how to help
// readme
Saetta Code is the agent inside the saetta binary, a 2.3 MB program. It has piโs tools, sessions, skills, MCP servers and terminal UI, and the model runs in the same process, so nothing goes over HTTP between the two. The engine is written in C and hand-written Metal for agent work: long prompts that share a prefix (20K to 200K tokens), short answers and tool calls. It runs on any Apple Silicon Mac with 32 GB of memory or more and picks the model that fits.
Start
curl -fsSL https://saetta.dev/install.sh | sh # into ~/.local/bin
cd ~/src/my-project
saetta start code
On the first run saetta start code shows the model that fits this Mac, downloads it after you confirm (resumable, hash-checked, into ~/Models) and opens the agent on it. By memory it picks coder (Qwen3.8-Flash-Next, 76 GB) with 96 GB or more, 27b-turbo (a Qwen3.8-27B fine-tune, 20 GB, converted from its GGUF: about 40 GB free disk while it runs) with 36 GB, and 27b-4bit (16 GB) with 32 GB.
To run another model, download its pack and name it: