Smart CLI AI 是一个轻量级、零第三方依赖的 Python 终端助手,可把自然语言转换为 shell 命令、诊断终端错误并借助多种 AI 提供商生成 Git 提交信息。

Stars

13

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

Apache-2.0

最近更新

2026-07-31

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它完全基于 Python 标准库实现,无需安装任何第三方包,支持包括本地 Ollama 在内的多家 AI 提供商,并且强调隐私保护,不收集用户数据且会掩码显示 API 密钥。

适合谁使用

  • 经常在终端中工作的开发者
  • 希望更快查找命令和排查错误的 DevOps 工程师
  • 需要自动生成规范 Git 提交信息的用户
  • 重视隐私并希望自选 AI 提供商的用户

典型使用场景

  • 将自然语言描述转换为 shell 命令,例如“列出所有正在运行的 docker 容器及其端口映射”
  • 粘贴终端错误信息,获取根因分析和分步解决方案
  • 根据已暂存的 git diff 自动生成 Conventional Commit 提交信息
  • 测试 API 连通性和延迟,确认提供商配置是否可用

项目优势

  • 零第三方依赖,支持 Python 3.8+,跨平台可用
  • 支持 DeepSeek、OpenAI、Qwen、Moonshot、SiliconFlow、Ollama 及自定义 OpenAI 兼容接口
  • 用可读的错误诊断替代原始 HTTP 状态码,并给出可操作建议
  • API 密钥会掩码显示,配置存储在本地且具有明确的优先级链

使用前须知

  • 使用云端提供商时需要 API 密钥和互联网连接
  • 工具不会自动执行生成的命令,用户仍需检查输出是否准确
  • 实际效果与安全性取决于所选 AI 提供商的模型和服务条款

README 快速开始

Installation

项目描述

Lightweight AI-powered terminal assistant: Natural language to Shell, error diagnosis & auto Git commits.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

jamesob
精选
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI 与机器学习大语言模型
1,660
0xwilliamortiz
精选
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI 与机器学习大语言模型
577
mereyabdenbekuly-ctrl
精选
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI 与机器学习AI 智能体
859