agent active

agent-sh

Maker: guanyilun License: MIT Stars: 66 First released: 2026-04-08 Language: TypeScript

About

Most terminal AI tools weld one frontend to one backend, so switching providers means switching tools; agent-sh instead separates the shell from the agent entirely. Its kernel is a typed event bus with a handler registry and extension loader that knows nothing about terminals, LLMs, or rendering, and the default frontend is a working bash/zsh/fish shell where a > prompt prefix hands the conversation to an agent that sees your current directory, last command, and its output. Built-in bridges let the same setup drive pi, claude-code, or opencode backends, and extensions add tools, slash commands, and themes over the event bus. It is MIT-licensed, installable via npm, and aimed at terminal-first developers who want their agent choice decoupled from their shell.