Cover image
Try Now
2025-04-14

Es el programa CLI que utiliza el paquete CleverChatty para actuar como una herramienta de chat de IA

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
  • google
  • 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

相关推荐

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • Byaidu
  • Traducción de papel científico en PDF con formatos preservados - 基于 Ai 完整保留排版的 PDF 文档全文双语翻译 , 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 等服务 等服务 等服务 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 cli/mcp/docker/zotero

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Trapo conversacional local con contenedores configurables

  • modelscope
  • Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.

    Reviews

    2.8 (13)
    Avatar
    user_0PzI2yYI
    2025-04-23

    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!

    Avatar
    user_eIPcoSa5
    2025-04-23

    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!

    Avatar
    user_bswEs7Jm
    2025-04-23

    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!

    Avatar
    user_emNXefzv
    2025-04-23

    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!

    Avatar
    user_HnUGv49k
    2025-04-23

    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!

    Avatar
    user_PrhD8aNc
    2025-04-23

    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!

    Avatar
    user_6Z1NBbxm
    2025-04-23

    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!

    Avatar
    user_e7D2gazp
    2025-04-23

    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!

    Avatar
    user_n01FIIIB
    2025-04-23

    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!

    Avatar
    user_vblTMzDC
    2025-04-23

    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!

    Avatar
    user_EHs8jPmu
    2025-04-23

    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!

    Avatar
    user_i5iparn9
    2025-04-23

    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.

    Avatar
    user_ZWSAqPxJ
    2025-04-23

    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!