Trending Model:#1Qwythos-9B-Claude-Mythos-5-1M-GGUFempero-ai⬇1464kTrending Model:#2GLM-5.2zai-org⬇209kTrending Model:#3Unlimited-OCRbaidu⬇988kTrending Model:#4Ornith-1.0-35B-GGUFdeepreinforce-ai⬇360kTrending Model:#5Qwen3.6-27B-NVFP4nvidia⬇185kTrending Model:#6gemma-4-12B-agentic-fable5-composer2.5-v2-3.5x-tau2-GGUFyuxinlu1⬇343kTrending Model:#7Agents-A1InternScience⬇5kTrending Model:#8DeepSeek-V4-Pro-DSparkdeepseek-ai⬇10kTrending Model:#9tabfm-1.0.0-pytorchgoogle⬇1kTrending Model:#10Ornith-1.0-9Bdeepreinforce-ai⬇70kTrending Model:#1Qwythos-9B-Claude-Mythos-5-1M-GGUFempero-ai⬇1464kTrending Model:#2GLM-5.2zai-org⬇209kTrending Model:#3Unlimited-OCRbaidu⬇988kTrending Model:#4Ornith-1.0-35B-GGUFdeepreinforce-ai⬇360kTrending Model:#5Qwen3.6-27B-NVFP4nvidia⬇185kTrending Model:#6gemma-4-12B-agentic-fable5-composer2.5-v2-3.5x-tau2-GGUFyuxinlu1⬇343kTrending Model:#7Agents-A1InternScience⬇5kTrending Model:#8DeepSeek-V4-Pro-DSparkdeepseek-ai⬇10kTrending Model:#9tabfm-1.0.0-pytorchgoogle⬇1kTrending Model:#10Ornith-1.0-9Bdeepreinforce-ai⬇70k

Agent-Sh Sneaks a Mini AI Sidekick Into Your Shell Prompt

Close-up object of a futuristic terminal prompt character.

A new open-source release called agent-sh introduces a composable agent runtime that embeds a lightweight coding assistant directly into your terminal. You can pair any frontend with any agent backend over a shared extension layer, swapping models or entire agent implementations without changing your workflow. Type > at the start of a line and the agent immediately sees your current directory, shell history, and the output of your last command.

Developer guanyilun built agent-sh to solve the problem of launching heavy coding tools for quick terminal questions. The default agent, ash, works with any OpenAI-compatible API, including local models served by Ollama or llama.cpp. If you already rely on another coding agent like pi, claude-code, or opencode, agent-sh can host those as a backend while keeping the same shell integration.

A lightweight agent embedded in your terminal

Key features
  • Summon the agent by typing > in your shell.
  • Agent reads your working directory and commands.
  • Built-in ash agent supports local models.
  • Swap backends to pi, claude-code, or opencode.
  • Alternative frontends: ashi TUI, asHub GUI.
  • Global install with a single npm command.

Developers who spend a lot of time in the terminal can get immediate help with error messages, rsync flags, or commit messages without copying context into a separate tool. Privacy-conscious users can point agent-sh at a local model server and keep all data on their own machine. Hobbyists and small teams can mix and match agents across different frontends, from terminal shells to graphical desktop apps, all sharing one extension system for new tools and themes.

How it is built and what to know

Agent-sh separates its pure event-bus kernel from everything else, so the agent backend, tools, and frontend are simply pluggable components. Bridges for third‑party agents let you keep that agent's own tool set, but agent-sh extensions like custom slash commands will only work with the built-in ash agent. Windows users should run the tool inside WSL, as the native interactive shell layer supports only bash, zsh, and fish.

"These problems are often too light that launching a full coding agent is an overkill." — Source: Reddit