Skip to main content

ForgeGrit CLI

Chat with every ForgeGrit model from your terminal. Free: no credit card, no trial credits.

pip install forgegrit-cli

Sign in — pick one

forgegrit login              # use your ForgeGrit email + password (2FA supported)
forgegrit register           # create a new ForgeGrit account
forgegrit api fgk_yourkey    # use an API key you already have

Your key is saved to ~/.forgegrit/config.json, readable only by you.

Use it

forgegrit chat                       # interactive chat, replies stream in
forgegrit chat -m gpt-6-astra        # pick a model
forgegrit chat -r                    # resume your latest conversation
forgegrit sessions                   # list saved conversations
forgegrit ask "explain recursion"    # one-shot question
cat notes.txt | forgegrit ask        # pipe text in
forgegrit models                     # list models
forgegrit model claude-sonnet-5-5    # set your default model
forgegrit usage                      # requests used today
forgegrit whoami                     # show the saved login
forgegrit logout                     # forget the saved key

Inside chat: /model ID, /system TEXT, /clear, /resume [N], /forget [N], /commands on|off, /help, /exit.

The model can run commands

In chat, the model can run shell commands on your machine, as you, in the folder you started it from. You approve every command first: y runs it, n skips it, a approves the rest of the session. sudo, su and doas are always refused. Turn it off with forgegrit chat --no-commands or /commands off.

Saved conversations

Every chat is saved to ~/.forgegrit/sessions/, readable only by you. Use /resume (or forgegrit chat -r) to pick one up, and /forget (or forgegrit sessions --forget N) to delete one.

Project Frominsidge

Gated agentic models for coding, with extra guardrails. Membership is approved by hand.

forgegrit frominsidge                       # check your status
forgegrit frominsidge enroll "why you want in"
forgegrit frominsidge models                # once you're active

Until you're approved, the CLI tells you so instead of sending the request.

Settings

Variable Does
FORGEGRIT_API_KEY Use this key instead of the saved one
FORGEGRIT_URL Point at a different ForgeGrit server
NO_COLOR Turn off colours

Note

Chats sent through ForgeGrit are logged by the server with your account, the time, your IP address, the model, your messages and the reply.

Get an account and read more at https://trey16885.github.io/forgegrit

Metadata

Release files for forgegrit-cli 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for forgegrit-cli 1.1.0
File Size Uploaded
forgegrit_cli-1.1.0.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for forgegrit-cli 1.1.0
File Interpreter ABI Platform
forgegrit_cli-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.9 kB

Release files / forgegrit_cli-1.1.0.tar.gz

Download URL forgegrit_cli-1.1.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
662969effd27441cb601388f1ec5f07774a99e4c5e6c755728f0096439708de0
BLAKE2b-256 checksum
How to use checksums
9433c5a44e79bc790b817ccc91edce6a8de4df5e874828d9f522fe5ff219c45e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / forgegrit_cli-1.1.0-py3-none-any.whl

Download URL forgegrit_cli-1.1.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a17abaf3c32cb7fee25ff07517926b8c4b0ae9c7eb29f68c7000a5575a5c381
BLAKE2b-256 checksum
How to use checksums
da766553556388f079a5f97c7f5c6c0499687646d6a473740558b9ce973056cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page