Skip to main content
ChatCLI is a command-line interface that integrates the leading large language models (LLMs) directly into your terminal. Built in Go, it is fast, portable, and transforms your shell into an intelligent development assistant — capable of understanding context, executing commands, editing code, and automating complex tasks.
ChatCLI Demo

Highlights


Problems ChatCLI Solves

Endless copy and paste

No more cat file.js, selecting text, Ctrl+C, opening the browser, pasting, and typing your question. Use @file directly in the terminal.

Generic commits

@git + a question = perfect commit message based on the actual diff of your code.

Intimidating log analysis

Pipe directly to the AI: cat error.log | chatcli -p "root cause?" — instant diagnosis.

Learning curve

@file ./src --mode smart and ask: “how does auth work?” — onboarding in minutes.

Who Is ChatCLI For?

Developers

Debug code, understand codebases, generate tests, refactor, and document — all without leaving the terminal.

DevOps / SREs

Analyze K8s logs, automate deploys, diagnose incidents with AI, and monitor clusters.

CLI Enthusiasts

Supercharge your terminal, create powerful aliases, and explore new ways to interact with AI.

DBAs / Data Engineers

Automate repetitive tasks, analyze queries, manage databases, and data pipelines.

Quick Start

1

Install

# Via go install
go install github.com/diillson/chatcli@latest

# Or download a prebuilt binary from:
# https://github.com/diillson/chatcli/releases
2

Configure a provider

echo 'LLM_PROVIDER=OPENAI' > .env
echo 'OPENAI_API_KEY=sk-xxx' >> .env
3

Start using it!

chatcli