Skip to main content

A simple CLI tool to talk to an LLM in the terminal.

Project description

terminal-ai

This is a simple CLI tool for chatting to an LLM in the terminal.

Currently, only Gemini is supported, but I'll add Ollama support later. Nothing else is planned for now.


Command overview

Consider this a simple overview of some of the commands. The commands have more functions, which can be viewed by typing chat -h or just typing chat. There are also some additional commands not mentioned here

  • chat start - Begin a chat
  • chat once <message>- Send a single message to the LLM
  • chat list - List all existing chats
  • chat delete <chat name> - Delete a chat
  • chat systemprompt <...> - System prompt configuration
  • chat model <...> - Model configuration (Add models and API keys here)

When in a chat using chat start, there are some in-chat commands. These are:

  • quit/bye/exit to quit (saves your chat)
  • clear to clear the chat history (asks for confirmation)
  • retry to regenerate a new AI response to the previous message
  • save to save the chat so far
  • systemprompt/system to display and/or change the system prompt
  • help to display a help message

Enjoy :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminal_ai_chat-0.1.5.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminal_ai_chat-0.1.5-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file terminal_ai_chat-0.1.5.tar.gz.

File metadata

  • Download URL: terminal_ai_chat-0.1.5.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for terminal_ai_chat-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7d2210ca2e4c7419b612517de5472acadbed705fe6282cbf7400d9e410eea920
MD5 5820a4d98877f881198589fd8912815d
BLAKE2b-256 e04f2c14901afdb670ea35b3f5f0006b1840c6e135269fd9cc93c10100b06ecd

See more details on using hashes here.

File details

Details for the file terminal_ai_chat-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_ai_chat-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ff2bd37e56386b2d5bfc6eb147cc73ee8535af0b4dda9da41e0977c16e9980
MD5 cbd98db8b871c30d502754c506c1f20a
BLAKE2b-256 3676dfbc7dcc9efeffef8ebbb9202fdd800671117af7587e11e92e5127f972f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page