
cleverchatty-cli
这是使用CleverChatty软件包来表演A I聊天工具的CLI程序
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
CleverChatty CLi
The CLI application based on the CleverChatty package.
This application is the comand line AI chat tool. It allows to comunicate with veriety of LLMs and it has support of external tools calls using the MCP(Model Context Protocol).
Quick run
Install some model with ollama, for example, qwen2.5:3b
:
ollama list
NAME ID SIZE MODIFIED
....
qwen2.5:3b 357c53fb659c 1.9 GB 3 weeks ago
....
And chat with this model.
go run github.com/gelembjuk/cleverchatty-cli@latest -m ollama:qwen2.5:3b
Or, when you clone the repo, you can run it with:
go build
./cleverchatty-cli -m ollama:qwen2.5:3b
However, this tool is really useful when you use some MCP servers. It is possible by creating a config file and adding the list of MCP servers to it.
Config
The config is not required. Most options from the config can be overriden with the command line arguments.
All supported models providers are:
- ollama
- anthropic
- openai
For openai, anthropic, google it is needed to have additional arguments - API key and API endpoint in some cases. See the config file example below. It is possible to provide the additional arguments with the config file or with the command line options.
The config should be stored in config.json
file.
{
"log_file_path": "",
"model": "ollama:qwen2.5:3b",
"mcpServers": {
"File_Storage_Server": {
"url": "http://localhost:8000/sse",
"headers": [
"Authorization: Basic Q0F************MQ=="
]
},
"Some_STDIO_Server": {
"command": "uv",
"args": [
"-m",
"uvicorn",
"example:app",
"--host"
]
}
},
"anthropic": {
"apikey": "sk-**************AA",
"base_url": "https://api.anthropic.com/v1",
"default_model": "claude-2"
},
"openai": {
"apikey": "sk-********0A",
"base_url": "https://api.openai.com/v1",
"default_model": "gpt-3.5-turbo"
},
"google": {
"apikey": "AI***************z4",
"default_model": "google-bert"
}
}
The section mcpServers
contains all MCP servers config. It supports both STDIO and SSE servers.
To run the chat using this config stored in teh config.json
, you can use the command:
go run github.com/gelembjuk/cleverchatty-cli@latest --config config.json
Installation
Prerequisites
- Go 1.20 or later
- Ollama installed and running
Install
go install github.com/gelembjuk/cleverchatty-cli@latest
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_0PzI2yYI
Cleverchatty-cli by Gelembjuk is an impressive tool for command line interface enthusiasts. It simplifies interactions with clear and user-friendly commands. I appreciate how it enhances productivity and streamlines tasks. A must-try for any developer looking to boost efficiency!

user_eIPcoSa5
Cleverchatty-cli by Gelembjuk is an exceptional command-line tool that I highly recommend for anyone who frequently works with chat applications. It provides seamless integration, easy-to-use commands, and a reliable performance that makes managing conversations a breeze. The developer has done an excellent job, and I'm thoroughly impressed with the overall efficiency and design. A must-have for tech enthusiasts and developers alike!

user_bswEs7Jm
Cleverchatty-cli by Gelembjuk is an impressive command-line tool that simplifies and enhances conversation automation. With its intuitive interface and efficient performance, it seamlessly integrates into my workflow, saving me time and effort. Highly recommended for anyone looking to streamline their chat processes!

user_emNXefzv
Cleverchatty-cli by Gelembjuk is an incredibly useful tool for anyone working extensively with command line interfaces. The straightforward start URL and intuitive welcome information make it easy to get up and running quickly. The functionality it provides streamlines workflows, saving valuable time. Definitely a must-have for CLI enthusiasts!

user_HnUGv49k
Cleverchatty-cli by Gelembjuk is a fantastic tool for anyone looking to integrate CleverChat functionality into their command line workflow. The straightforward setup and intuitive commands make it easy to get started. Whether you're an experienced developer or just beginning, you'll appreciate the efficiency and convenience this CLI offers. Highly recommended for enhancing productivity!

user_PrhD8aNc
As a loyal MCP application user, I am impressed with cleverchatty-cli by Gelembjuk. It's an excellent tool that enhances productivity with its user-friendly command line interface. The intuitive design and efficient performance make it a must-have for IT professionals. Highly recommended!

user_6Z1NBbxm
CleverChatty-CLI by Gelembjuk is a fantastic tool for anyone who frequently communicates via command line interfaces. It's designed to streamline and enhance your CLI chatting experience. The seamless integration and user-friendly interface make it a must-have for developers and tech enthusiasts. The starting URL and welcoming message guide you effortlessly through the initial setup. Highly recommended for boosting productivity and efficiency in CLI communications!

user_e7D2gazp
Cleverchatty-cli by Gelembjuk is a fantastic tool for anyone needing seamless command-line interactions. Its user-friendly interface and efficiency in handling tasks make it invaluable. This program significantly enhances productivity by simplifying complex command-line operations. Highly recommended for professionals and enthusiasts alike!

user_n01FIIIB
As a devoted user of MCP applications, I find cleverchatty-cli by Gelembjuk to be an exceptional tool. Its intuitive design and functionality make it incredibly efficient for my daily tasks. The welcome information is helpful and sets a positive tone for new users. Highly recommend for anyone needing a reliable CLI chat tool!

user_vblTMzDC
I've been using cleverchatty-cli for a few weeks now, and it has significantly improved my productivity. The interface is intuitive and the features are robust. Kudos to Gelembjuk for creating such an efficient tool for command-line enthusiasts. Highly recommend cleverchatty-cli to anyone looking to streamline their workflow!

user_EHs8jPmu
I've been using cleverchatty-cli by Gelembjuk, and it has significantly streamlined my communication processes. This command-line interface tool is intuitive and efficient, ideal for developers who need quick and smooth chat management. Highly recommended!

user_i5iparn9
CleverChatty-CLI by Gelembjuk is an excellent tool for developers who want a command-line interface for chatting capabilities. Its user-friendly setup is perfect for both beginners and advanced users, making it easy to integrate into various workflows. Highly recommended for anyone looking to streamline their chat operations directly from their terminal.

user_ZWSAqPxJ
As a devoted user of cleverchatty-cli, I can confidently say that this tool by Gelembjuk is an incredible asset for any developer. Its seamless integration and user-friendly interface make managing and deploying conversational applications a breeze. Additionally, the detailed welcome information provided at the start ensures a smooth onboarding experience, even for those new to the tool. Highly recommend!