Skip to main content

A CLI tool for ChatGPT.

Project description

ChatGPT CLI Client


Manual Installation

git clone
cd rubberduck-ai
python install

Installation (pip)

pip install rubberduck-ai


Authentication Token

The CLI tool requires Open AI authentication token. Token can be obtained by going to

Authentication Methods

Choose one of these options to authenticate the CLI tool:

  • Set the environment variable: OPENAI_API_KEY=<AUTHENTICATION_TOKEN>.
  • Use a command argument: rda --openai-api-key=<AUTHENTICATION_TOKEN>.
  • Enter the API key when prompted while running the CLI tool.


Evaluation Loop

Run the application:


Supported Commands

  • .n .new: Create new session
  • .p .print: Print current session
  • .s .sessions: Change chat session
  • cd clear ls: Session supported bash commands
  • cd cls dir: Session supported cmd commands

Single Prompt

Process a single prompt with:


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

rubberduck-ai-0.5.8.tar.gz (23.1 kB view hashes)

Uploaded source

Built Distribution

rubberduck_ai-0.5.8-py3-none-any.whl (26.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page