tbckr/sgpt
SGPT is a command-line tool that provides a convenient way to interact with OpenAI models, enabling users to run queries, generate shell commands and produce code directly from the terminal.
- Stars
- 460
- Forks
- 33
- Open issues
- 1
- Last push
- 8d ago
About sgpt
sgpt is a free, open-source AI coding tool by tbckr, written mainly in Go. SGPT is a command-line tool that provides a convenient way to interact with OpenAI models, enabling users to run queries, generate shell commands and produce code directly from the terminal. It has 460 GitHub stars and 33 forks, and was last updated 8d ago. It's released under the MIT license, a standard open-source license. According to the project, it works on macOS.
- License
- MIT
- Language
- Go
- Stars
- 460
- Last update
- 8d ago
- Runs on Mac
- Yes (as stated by the project)
- GPU
- Not stated
- Paid API key
- Required
- Self-hostable
- Yes
Similar free tools
aider50k stars · aider is AI pair programming in your terminal
claude-mem102k stars · Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Cla
opcode22k stars · A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.
OmniRoute80k stars · Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline
CLIProxyAPI56k stars · Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Serie
opencodex18k stars · Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code
sgpt FAQ
Is sgpt free?
sgpt is open source, but it needs a paid third-party API key to work. It's released under the MIT license, a standard open-source license.
Does sgpt run on a Mac?
Yes. According to the project, sgpt works on macOS.
Does sgpt need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is sgpt still maintained?
Yes. It was last updated 8d ago and has 1 open issues on GitHub.
What are alternatives to sgpt?
Similar free, open-source tools include aider, claude-mem, opcode, OmniRoute.