Show HN: SHAI – a (yet another) open-source, terminal-native AI coding assistant (github.com)

🤖 AI Summary
SHAI is an open-source, terminal-native AI coding assistant written in Rust that acts as a pair-programming buddy directly in your shell. You can install a release with curl ... | sh to get a binary in $HOME/.local/bin or build from source with git clone …; cargo build --release. By default SHAI uses OVHcloud anonymously (expect rate limits) but you can run shai auth to sign in or choose another provider. It supports an interactive TUI and a headless mode for piping prompts (echo "…" | shai), streaming events to stderr, and a --trace flag to return full conversation traces—useful for chaining calls (echo … | shai --trace | shai "now run it!"). Technically it provides project-scoped context via a SHAI.md at the repo root, multiple custom agent configs (~/.config/shai/agents/example.config), and agent management (shai agent list / shai agent <name>). A notable feature is shell hooking: shai on monitors your last command, output and exit code, sends that to the LLM provider and proposes fixes (shai off to stop). Use OVHCloud AI Endpoints with an API key for compatible LLM tooling. Significance: SHAI is a lightweight, composable CLI-first alternative to GUI assistants that emphasizes reproducible traces, pipeline integration, multi-agent configs, and developer ergonomics—while raising operational considerations around rate limits, provider selection, and terminal-output privacy.
Loading comments...
loading comments...