Skip to main content

AI-powered terminal error fixer with cross-platform shell hooks

Project description

AITERMITE logo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aitermite-0.4.1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

aitermite-0.4.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

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

Hashes for aitermite-0.4.1.tar.gz
Algorithm Hash digest
SHA256 cc381a68325e146bbbd7116ef68f07e869cfa5b9b313bccdcdbae6f9c789243d
MD5 65feee16822ea91ea05f77dc90be25cf
BLAKE2b-256 e997aabacb12b6b42ada1420db4f480d20bb34aa186a5ccceafe8915799c6aa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for aitermite-0.4.1.tar.gz:

Publisher: pypi-publish-python-package.yml on sathkruthdamera/AITERMITE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for aitermite-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75cb3fca983ae1b400bfd88fc7abe346e3ba5a46fc69d99c802b3fda40d13a90
MD5 005916288e674df594adf98516dc5e41
BLAKE2b-256 cfd67617065cae91eec3204f21be022dc9de9bb83db26c0031c16eb778cf7eca

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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