tbckr/sgpt
A Go-based CLI tool for querying and interacting with OpenAI, Anthropic, Gemini, and OpenRouter models from the terminal.

Not currently ranked — collecting fresh signals.
star history
SGPT (shell-gpt) is a command-line interface for interacting with major LLM providers including OpenAI, Anthropic, Gemini, and OpenRouter. It allows users to run queries, generate shell commands, produce code, and create images directly from the terminal. The tool streams responses and provides a convenient way to leverage AI models without leaving the command line environment.
Frequently asked
- What is tbckr/sgpt?
- A Go-based CLI tool for querying and interacting with OpenAI, Anthropic, Gemini, and OpenRouter models from the terminal.
- Is sgpt open source?
- Yes — tbckr/sgpt is open source, released under the MIT license.
- What language is sgpt written in?
- tbckr/sgpt is primarily written in Go.
- How popular is sgpt?
- tbckr/sgpt has 449 stars on GitHub.
- Where can I find sgpt?
- tbckr/sgpt is on GitHub at https://github.com/tbckr/sgpt.