AIChat是一款多合一的LLM CLI工具,具有Shell助手、CMD和REPL模式、RAG、AI工具和代理等功能。

Linux安装:

wget https://github.com/sigoden/aichat/releases/download/v0.30.0/aichat-v0.30.0-x86_64-unknown-linux-musl.tar.gz
tar -xzvf aichat-v0.30.0-x86_64-unknown-linux-musl.tar.gz
mv aichat /usr/local/bin


初次运行:

aichat


按照提示配置AI厂商和KEY:

> No config file, create a new one? Yes
> Platform: openai
> API Key: ***
✨ Saved config file to '/home/imlala/.config/aichat/aichat.yaml'


查看配置文件和其他信息:

aichat --info


aichat的-e模式,效果:





更多玩法见:https://github.com/sigoden/aichat/wiki