AI-powered terminal error fixer with cross-platform shell hooks
Project description
AITERMITE
AITERMITE is an AI-powered terminal error fixer for Windows, macOS, and Linux. It gives command-fix suggestions manually, before Enter where the shell supports it, and automatically after a command fails through shell hooks.
Current packaged release
Latest local build prepared in this chat: v0.4.1 Clink Bootstrap.
Main features:
- Manual command fixing with
aitermite. - Inline fixing with
aitermite <command>. - Automatic post-failure suggestion hooks.
- Pre-enter typo detection where supported.
- Ollama local provider support.
- OpenAI fallback support.
- Heuristic offline fallback.
- Windows PowerShell / Windows Terminal support.
- macOS/Linux zsh, bash, and fish support.
- cmd.exe helper macros.
- Clink bootstrap integration for true cmd.exe auto-hooks.
- Secret redaction before provider calls.
- Dangerous command blocking and safety checks.
Install from wheel
python -m pip install aitermite-0.4.1-py3-none-any.whl
aitermite --doctor
Install from source
git clone https://github.com/sathkruthdamera/AITERMITE.git
cd AITERMITE
python -m pip install -e .
aitermite --doctor
Shell integration
aitermite --install-shell auto
Supported shell targets:
aitermite --install-shell zsh
aitermite --install-shell bash
aitermite --install-shell fish
aitermite --install-shell powershell
aitermite --install-shell cmd
aitermite --install-shell clink
aitermite --install-shell universal
Automatic post-failure behavior
Target behavior:
Wrong command entered -> command fails -> AITERMITE automatically prints suggestion
Example:
gti status
Output:
command not found: gti
AITERMITE suggestion after failed command
Typed: gti status
Fix: git status
Why: Known command typo detected.
Confidence: high (0.94)
Run manually: git status
Provider settings
export AITERMITE_PROVIDER=auto
export AITERMITE_POSTFAIL_PROVIDER=auto
export AITERMITE_POSTFAIL_TIMEOUT_MS=900
For Ollama:
ollama pull gemma3:latest
export AITERMITE_PROVIDER=ollama
export AITERMITE_OLLAMA_MODEL=gemma3:latest
For OpenAI:
export OPENAI_API_KEY="your_api_key"
export AITERMITE_PROVIDER=openai
Common commands
aitermite --doctor
aitermite git push
aitermite --json git push
aitermite --precheck gti status
aitermite --postfail 127 gti status
aitermite --install-shell auto
Safety
AITERMITE blocks or avoids risky commands such as destructive delete patterns, curl | sh, fork bombs, device writes, shutdown/reboot patterns, and unsupported shell control operators in auto-apply flows.
Validation from local build
CLI tests: 9/9 passed
History tests: 5/5 passed
Precheck tests: 7/7 passed
Redaction tests: 2/2 passed
Safety tests: 7/7 passed
Shell integration tests: 9/9 passed
Total targeted tests: 39/39 passed
Pentest checks: 11/11 passed
Wheel build: passed
Clean virtualenv install: passed
CLI smoke test: passed
Clink hook generation: passed
Version: 0.4.1
Repository import status
This repository has been initialized from ChatGPT. The full v0.4.1 source ZIP and wheel were generated in the workspace. Source import should include:
src/aitermite/
tests/
security/
examples/
assets/
README.md
pyproject.toml
LICENSE
FULL_DOCUMENTATION.md
CROSS_PLATFORM_SHELL_INTEGRATION.md
POSTFAIL_AUTOMATION.md
SHELL_AND_ANIMATION.md
VALIDATION_REPORT.md
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 aitermite-0.4.1.tar.gz.
File metadata
- Download URL: aitermite-0.4.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc381a68325e146bbbd7116ef68f07e869cfa5b9b313bccdcdbae6f9c789243d
|
|
| MD5 |
65feee16822ea91ea05f77dc90be25cf
|
|
| BLAKE2b-256 |
e997aabacb12b6b42ada1420db4f480d20bb34aa186a5ccceafe8915799c6aa0
|
Provenance
The following attestation bundles were made for aitermite-0.4.1.tar.gz:
Publisher:
pypi-publish-python-package.yml on sathkruthdamera/AITERMITE
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aitermite-0.4.1.tar.gz -
Subject digest:
cc381a68325e146bbbd7116ef68f07e869cfa5b9b313bccdcdbae6f9c789243d - Sigstore transparency entry: 1619816350
- Sigstore integration time:
-
Permalink:
sathkruthdamera/AITERMITE@cf0703c06640d79dc00ba6ab94d7d24a3102d218 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sathkruthdamera
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-python-package.yml@cf0703c06640d79dc00ba6ab94d7d24a3102d218 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file aitermite-0.4.1-py3-none-any.whl.
File metadata
- Download URL: aitermite-0.4.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75cb3fca983ae1b400bfd88fc7abe346e3ba5a46fc69d99c802b3fda40d13a90
|
|
| MD5 |
005916288e674df594adf98516dc5e41
|
|
| BLAKE2b-256 |
cfd67617065cae91eec3204f21be022dc9de9bb83db26c0031c16eb778cf7eca
|
Provenance
The following attestation bundles were made for aitermite-0.4.1-py3-none-any.whl:
Publisher:
pypi-publish-python-package.yml on sathkruthdamera/AITERMITE
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aitermite-0.4.1-py3-none-any.whl -
Subject digest:
75cb3fca983ae1b400bfd88fc7abe346e3ba5a46fc69d99c802b3fda40d13a90 - Sigstore transparency entry: 1619816588
- Sigstore integration time:
-
Permalink:
sathkruthdamera/AITERMITE@cf0703c06640d79dc00ba6ab94d7d24a3102d218 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sathkruthdamera
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-python-package.yml@cf0703c06640d79dc00ba6ab94d7d24a3102d218 -
Trigger Event:
workflow_dispatch
-
Statement type: