I'm still waiting for someone to create a SLM (small language model) specifically focused on just being an interactive man-page.
"I want to find all mp4 files, convert them to AV1 and move them to this directory" -> SLM generates script and maybe even runs it automatically Claude Code -style. All locally with no internet needed.
This exists, just use https://github.com/sigoden/aichat with local ollama and a model like qwen2.5-coder:7b or better (e.g. gemma3:12b).
Add this to ~/.bashrc :
# bind Alt-e on the command line to replace text with command
_aichat_bash() {
if [[ -n "$READLINE_LINE" ]]; then
READLINE_LINE=$(aichat -e "$READLINE_LINE")
READLINE_POINT=${#READLINE_LINE}
fi
}
bind -x '"\ee": _aichat_bash'
But if you don't like that you can press Ctrl-Shift-_ (bash has emacs keybindings) to undo and try something else. You can also put a # mark in front and hit enter, then up arrow then Alt-e so you know what created the command.
"I want to find all mp4 files, convert them to AV1 and move them to this directory" -> SLM generates script and maybe even runs it automatically Claude Code -style. All locally with no internet needed.