Sengptv0.2.0Python 3.11+

ChatGPT, from
your terminal.

Use your ChatGPT web account from the command line—no API key required.

A maintained fork of Sengpt. This version replaces the archived client's legacy private-endpoint integration with Chromium, adds browser-based sign-in and updated CLI workflows, and works with the current ChatGPT site and the default model available to your account.

Independent and unofficial. Not affiliated with OpenAI.

bash

~ $ sengpt --login

Opening ChatGPT in Chromium…Complete sign-in in the browser window.✓ Login saved

~ $ sengpt --query "Explain the actor model"

ChatGPT

The actor model treats each actor as an independent unit of computation…

Same account.New context.
01

Browser-based sign-in

Use the normal ChatGPT login flow. Credentials stay inside a dedicated Chromium profile.

02

Built for the shell

Start an interactive chat, ask one question, or pipe a file directly into a prompt.

03

Keep what matters

Save the conversations you choose and return to the most recent one from the terminal.

Fits the way you already work.

Sengpt composes input from your shell, configured prompts, and clipboard—then drives ChatGPT through a local browser session.

One-off query
sengpt --query "Summarize the CAP theorem"
Pipe a file
cat README.md | sengpt --query "Point out anything unclear"
Return to a conversation
sengpt --recent_conversation

Your login stays in Chromium.

  1. 01

    Sign in normally

    Complete SSO or two-factor authentication in a real browser.

  2. 02

    Prompt from the shell

    Sengpt enters your prompt through the rendered ChatGPT interface.

  3. 03

    Read the response

    Completed Markdown returns to the terminal, ready for your workflow.

From clone to first prompt.

Install Sengpt, add Chromium, and authenticate your account.

Installation guide View source