Skip to main content

GPT powered terminal for Python developers.

Project description

Brixterm Logo

About

BrixTerm is a simple terminal app that integrates GPT to assist with everyday development tasks.

Powered by LLMBrix framework: https://github.com/matejkvassay/LLMBrix


Features

  • Automatically suggests fixes for failed Unix commands
  • Generates Python code and copies it directly to your clipboard
  • Built-in chatbot accessible inside the terminal

Note: This tool is not fully agentic — developers maintain control by using pre-defined commands.


Available Commands

1. TERMINAL (default)

Type any terminal command. If it fails, the AI will suggest a corrected version.


2. INTERACTIVE SHELL

Use !<command> to run an interactive shell command. Without the !, interactive commands timeout after 10 seconds. Example: !htop


3. CODE GEN

Use c <your request> to generate Python code. The generated code is automatically copied to your clipboard.


4. CODE GEN + CLIPBOARD

Use ccc <your request> to generate Python code. The content of your clipboard is automatically passed to the code generator prompt. The generated code is copied back to your clipboard.


5. CHAT ANSWER

Use a <your request> to chat with GPT.


6. CHAT ANSWER + CLIPBOARD

Use aaa <your request> to chat with GPT. The content of your clipboard is automatically passed to the AI chatbot prompt.


7. EXIT

Use q to exit the application.


Note: All GPT powered commands also maintain chat history and remember your previous requests.


Usage guide

Install

pip install brix-term

Configure

Public OpenAI API configuration

# Configure OpenAI API access
export OPENAI_API_KEY='<TOKEN>'

(alternative) Azure OpenAI API configuration

# (ALTERNATIVELY) API access for Azure AI is also supported
export AZURE_OPENAI_API_KEY='<TOKEN>'
export AZURE_OPENAI_API_VERSION='<VERSION>'
export AZURE_OPENAI_ENDPOINT='<ENDPOINT>'
export AZURE_DEPLOYMENT='<DEPLOYMENT>'

BrixTerm settings

# (optional) GPT model to be used, default is `gpt-5-mini`
export BRIXTERM_MODEL='gpt-5-mini'

# (optional) Optimize colors for light mode (dark is default, light support is limited, not recommended)
export BRIXTERM_COLOR_MODE='light'

Run

brixterm

Run options

Note: env vars have priority over run arguments

Note: --light_mode is enabled in minimal way however dark terminal and dark mode is recommended for better visibility.

brixterm --help
usage: brixterm [-h] [--dev] [--light_mode] [--model MODEL] [--azure]

BrixTerm AI Terminal

options:
  -h, --help     show this help message and exit
  --dev          (optional) Run in development mode with Arize Phoenix tracing enabled.
  --light_mode   (optional) Optimize looks for light mode terminal (dark is default).
  --model MODEL  (optional) Specify GPT model. (default='gpt-4o-mini')
  --azure        (optional) Default to Azure. Use to enforce Azure OpenAI API in case both public and Azure OpenAI env vars are set.

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

brix_term-0.1.3.tar.gz (132.4 kB view details)

Uploaded Source

Built Distribution

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

brix_term-0.1.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brix_term-0.1.3.tar.gz
  • Upload date:
  • Size: 132.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for brix_term-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e87098e33baa8c9098ed2ba9a25a2af9ef5ad0d9605dd31ab178bf35e86a1575
MD5 23dcdab0f8cae41e60c8a473ac881d57
BLAKE2b-256 331c2b25631e11bf4c7bec233ffb7048a23964ba0014e3c15673609501c4737a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brix_term-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for brix_term-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c12a0d36b9a12aeca8944ce601ac928748363f9bcd902ce99f705c8d42b1853
MD5 1cd995c70acd081b4d4b9f2a3806bc1d
BLAKE2b-256 f4790e3aec5495ddac228d4a345ebcfb8d03ccf91d709f8da2cef86ef362cd9e

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