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.3.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.3-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_ai_chat-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 964e36606eea8a1a1c081741e69f53c0eb9db34a716e73745773adea3ee95846
MD5 5d53b9a7845468ab5eb5a2a056452ea7
BLAKE2b-256 8e17842ee69655d405e82ff89b6cd8726e39d66ceed5ef03a2ecdcc021cfc4d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_ai_chat-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3fdb50614850d854c100d214c7642061c41d3365e97cb6b3860c8c5d7b308e6a
MD5 77537883bcd3f1ea3fb7f1c56a7abb47
BLAKE2b-256 793e174044d1ffdb344ce1d6ea27cc29b5d7e6bb7d6de8719928cc012b74fb18

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