samuelfaj/distill

Get FAR MORE done with FAR FEWER tokens 🔥

What it solves

Distill is a coding agent harness designed to maximize productivity while significantly reducing token usage and costs. It addresses the inefficiency of standard AI coding tools by providing specialized execution modes that optimize how models plan, delegate, and execute tasks.

How it works

Distill operates as a terminal-based interface (TUI) that manages a hierarchy of AI models. You designate a "Main" model to handle high-level planning and review, and an optional "Worker" model to execute specific coding assignments. The system uses built-in rules—"Caveman" for concise communication and "Ponytail" for efficient, minimalist coding—to ensure the agent acts like a disciplined senior developer. It supports models via OpenAI-compatible protocols, including subscriptions to Grok, Claude, and Codex.

Who it’s for

It is for developers who want to use powerful AI coding agents but need to control costs, optimize token consumption, or speed up complex development tasks through intelligent model delegation.

Highlights

  • Five distinct execution modes (e.g., UltraSave, UltraFast, UltraCode) to balance speed, cost, and quality.
  • Intelligent model tiering, allowing you to pair a high-capability "Main" model with a cost-effective "Worker" model.
  • Built-in "Ponytail" logic that prioritizes code reuse and standard libraries over unnecessary new code.
  • "Caveman" mode that enforces terse, precise communication to save tokens.
  • Compatible with any model supporting the OpenAI protocol, plus direct integration with major subscriptions.

Related

  • Project
  • Project
  • Project
  • Project