Skip to main content

AI terminal assistant — Turn natural language into shell commands. Error diagnosis, shell history analysis, command explanation.

Project description

AI 终端助手 (ai-terminal)

把你的终端变聪明 — 自然语言转 Shell 命令 + 智能错误诊断

PyPI version Python 3.10+ License MIT

安装

pip install ai-terminal
ai setup

使用

# 自然语言 → Shell 命令并执行
ai 查看磁盘使用情况
ai 找到所有大于100MB的文件
ai 杀掉占用8080端口的进程

# 解释命令
ai -e "docker-compose up -d"
ai -e "git rebase -i HEAD~3"

# 诊断错误
ai -f "docker: command not found"
ai -f "npm install 报 EACCES 错误"

# 分析 Shell 历史
ai -H

# 搜索解决方案(Pro 版)
ai -S "nginx 502 bad gateway"

# 优化命令
ai -O "find . -name *.py | xargs wc -l"

功能

功能 免费版 Pro (¥30/月)
自然语言→命令 ✅ 10次/天 ✅ 无限
命令安全分类
错误诊断
AI 解释命令
Shell 历史分析
Web 搜索诊断
命令优化

配置 LLM

ai -c

支持 OpenAI / Anthropic / Ollama(本地)

许可证

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ai_shell_hub-0.1.2-py3-none-any.whl (804.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_shell_hub-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ai_shell_hub-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 804.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ai_shell_hub-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d9bb8a88f8e1a7231bb1b1234b51ff7420aa1a5f562128a7858a6315f8304a98
MD5 07600bde5d1a8375da89ef7c338e8997
BLAKE2b-256 ad955b2683810f8e4ca9aaccfe823195524747a03d2bdeec47905814e42af655

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