Documentation · Lua API · Releases · Issues
[!WARNING] smelt is in active development.
mainis mid-refactor, so code and docs are not fully in sync and some features are unfinished. Use the latest pre-release tag and update often. The last stable release is significantly behind and not recommended.
Most coding agents are bloated and hard to customize. smelt is small, fast, and scriptable in Lua like Neovim. Built from scratch, with care for the details.
- Lua plugins. Keymaps, commands, autocmds, custom tools.
- Terminal renderer. Its own grid and layout engine, not
ratatui. - Vim editor. Motions, text objects, registers, undo.
- Deterministic fuzzing. Fixed clock and stubbed I/O, so any crash can be replayed.
- No config needed. Run with flags, or
smelt authfor ChatGPT and Copilot.
Prebuilt binaries on the Releases page, or from source:
cargo install --git https://github.com/leonardcser/smelt.gitAPI key providers (any OpenAI-compatible endpoint):
# local model via Ollama
smelt --model qwen3.5:0.8b --api-base http://localhost:11434/v1
# OpenAI, Anthropic, OpenRouter, etc.
smelt --model gpt-5.5 --api-base https://api.openai.com/v1 --api-key-env OPENAI_API_KEYSubscription providers (ChatGPT Pro/Plus, GitHub Copilot):
smelt auth # one-time login
smelt --model gpt-5.4 # Codex
smelt --model claude-sonnet-4-6 # CopilotOr just run smelt with no arguments and follow the wizard.
Full documentation for configuration, Lua API, keybindings, permissions, providers, and plugin authoring lives at leonardcser.github.io/smelt.
MIT, see LICENSE. Inspired by Claude Code and Neovim.
