GPT powered terminal for Python developers.
Project description
BrixTerm
About
BrixTerm is a simple terminal app that integrates GPT to assist with everyday development tasks.
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 result is automatically copied to your clipboard.
4. CODE GEN + CLIPBOARD
Use ccc <your request> to generate Python code.
The content of your clipboard is passed to the AI as context.
The result is copied back to your clipboard.
5. ANSWER
Use a <your request> to chat with GPT.
6. EXIT
Use q to exit the application.
Powered by LLMBrix library: https://github.com/matejkvassay/LLMBrix
Usage guide
Install
pip install brix-term
Configure
# Configure OpenAI API access
export OPENAI_API_KEY='<TOKEN>'
# (optional) GPT model to be used, default is `gpt-4o-mini`
export BRIXTERM_MODEL='gpt-4o'
# (optional) Optimize colors for light mode (dark is default, light support is limited, not recommended)
export BRIXTERM_COLOR_MODE='light'
# (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>'
Run
brixterm
Run options
Note: env vars have priority over run arguments
Note:
--light_modeis 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]
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brix_term-0.1.2.tar.gz.
File metadata
- Download URL: brix_term-0.1.2.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc2d4210e2e813e61229f3b76d5e586c8ebd0e2f1814027eb6e8bbcf572a140e
|
|
| MD5 |
04128ff47dbfbc6f56b7e9593ae3d792
|
|
| BLAKE2b-256 |
2579b16029cf8189e03463379968733443001fc67b33a6f16580c3df1b02baea
|
File details
Details for the file brix_term-0.1.2-py3-none-any.whl.
File metadata
- Download URL: brix_term-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e20a6a20ecfba322c0f105cf8cc71e02892bc85cc18a6d7febeb7043ea5b885a
|
|
| MD5 |
fb0ed5189b16c7571424d5433db44c53
|
|
| BLAKE2b-256 |
71435c0b700813c2d030ee9e10f86dcf0652eb4cbb0e70e135c706a7f1027352
|