Alternatives to tgpt

A cross-platform command-line tool for chatting with AI models in the terminal without API keys. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as tgpt.

  • ShellGPT

    A command-line AI assistant that generates shell commands, code snippets and documentation from prompts.

    ShellGPT is an MIT-licensed Python tool that generates shell commands and code from prompts, but it needs an API key or a configured model backend.

  • AIChat

    A command-line tool for chatting with language models, with a shell assistant, RAG and agents.

    AIChat is a command-line tool for many providers and local Ollama models with a shell assistant, RAG and agents, though hosted providers need API keys.

  • LLM

    A command-line tool and Python library for prompting remote and locally installed language models.

    FreeProprietaryCommand line

    LLM is a command-line tool and Python library for remote and local models with SQLite logging and plugins, requiring provider setup rather than working keyless.

  • oterm

    A terminal chat client for Ollama, OpenAI, Anthropic and other language model providers.

    oterm is an MIT terminal chat client for local Ollama models and hosted providers, installed with uvx, where hosted providers need API keys.

  • Elia

    A keyboard-driven terminal app for chatting with cloud and local large language models.

    Elia is a keyboard-driven terminal chat app for cloud and local models on macOS and Linux, with cloud models needing API keys from each provider.

Similar software

Related functionality, not a direct replacement.