HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
sigoden
aichat
Rust2023–2026
sigoden / aichat

aichat

All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.

34Distinct people
41Mentions
0Explicit recommenders
10.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 7:27:27 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year41 dated mentions

Observed mentions: 2023-03-20 02:42:06 UTC to 2026-11-01 15:23:50 UTC.

0510152023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 9 mentions; 2 submissions, 7 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 15 mentions; 3 submissions, 12 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 14 mentions; 2 submissions, 12 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC927
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC15312
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC14212
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC303

From the project README

An excerpt from the repository, fetched Nov 12, 2026.

Read the project’s introduction
AIChat: All-in-one LLM CLI Tool AIChat is an all-in-one LLM CLI tool featuring Shell Assistant, CMD & REPL Mode, RAG, AI Tools & Agents, and More. Install Package Managers Rust Developers: cargo install aichat Homebrew/Linuxbrew Users: brew install aichat Pacman Users: pacman -S aichat Windows Scoop Users: scoop install aichat Android Termux Users: pkg install aichat Pre-built Binaries Download pre-built binaries for macOS, Linux, and Windows from GitHub Releases, extract them, and add the aichat binary to your $PATH. Features Multi-Providers Integrate seamlessly with over 20 leading LLM providers through a unified interface. Supported providers include OpenAI, Claude, Gemini (Google AI Studio), Ollama, Groq, Azure-OpenAI, VertexAI, Bedrock, Github Models, Mistral, Deepseek, AI21, XAI Grok, Cohere, Perplexity, Cloudflare, OpenRouter, Ernie, Qianwen, Moonshot, ZhipuAI, MiniMax, Deepinfra, VoyageAI, any OpenAI-Compatible API provider. CMD Mode Explore powerful command-line functionalities with AIChat's CMD mode. REPL Mode Experience an interactive Chat-REPL with features like tab autocompletion, multi-line input support, history search, configurable keybindings, and custom REPL prompts. Shell Assistant Elevate your command-line efficiency. Describe your tasks in natural language, and let AIChat transform them into precise shell commands. AIChat intelligently adjusts to your OS and shell environment. Multi-Form Input Accept diverse input forms such as stdin, local files and directories, and remote URLs, allowing flexibility in data handling. Input CMD REPL CMD aichat hello STDIN cat data.txt | aichat Last Reply .file %% Local files aichat -f image.png -f data.txt .file image.png data.txt Local directories aichat -f dir/ .file dir/ Remote URLs aichat -f https://example.com .file https://example.com External commands aichat -f '`git diff`' .file `git diff` Combine Inputs aichat -f dir/ -f data.txt explain .file dir/ data.txt -- explain Role Customize roles to tailor LLM behavior, enhancing interaction efficiency and boosting productivity. The role consists of a prompt and model configuration. Session Maintain context-aware conversations through sessions, ensuring continuity in interactions. The left side uses a session, while the right side does not use a session. Macro Streamline repetitive tasks by combining a series of REPL commands into a custom macro. RAG Integrate external documents into your LLM conversations for more accurate and contextually relevant responses. Function Calling Function calling supercharges LLMs by connecting them to external tools and data sources. This unlocks a world of possibilities, enabling LLMs to go beyond their core capabilities and tackle a wider range of tasks. We have created a new repository https://github.com/sigoden/llm-functions to help you make the most of this feature. AI Tools & MCP Integrate external tools to automate tasks, retrieve information, and perform actions directly within your workflow. AI Agents (CLI version of OpenAI GPTs) AI Agent = Instructions (Prompt) + Tools (Function Callings) + Documents (RAG). Local Server Capabilities AIChat includes a lightweight built-in HTTP server for easy deployment. $ aichat --serve Chat Completions API: http://127.0.0.1:8000/v1/chat/completions Embeddings API: http://127.0.0.1:8000/v1/embeddings Rerank API: http://127.0.0.1:8000/v1/rerank LLM Playground: http://127.0.0.1:8000/playground LLM Arena: http://127.0.0.1:8000/arena?num=2 Proxy LLM APIs The LLM Arena is a web-based platform where you can compare different LLMs side-by-side. Test with curl: curl -X POST -H "Content-Type: application/json" -d '{ "model":"claude:claude-3-5-sonnet-20240620", "messages":[{"role":"user","content":"hello"}], "stream":true }' http://127.0.0.1:8000/v1/chat/completions LLM Playground A web application to interact with supported LLMs directly from your browser. LLM Arena A web platform to compare different LLMs side-by-side. Custom Themes AIChat supports custom dark and light themes, which highlight response text and code blocks. Documentation Chat-REPL Guide Command-Line Guide Role Guide Macro Guide RAG Guide Environment Variables Configuration Guide Custom Theme Custom REPL Prompt FAQ License Copyright (c) 2023-2025 aichat-developers. AIChat is made available under the terms of either the MIT License or the Apache License 2.0, at your option. See the LICENSE-APACHE and LICENSE-MIT files for license details.
Read the full README on GitHub

What Hacker News says

15 sources
AIChat (https://github.com/sigoden/aichat) nearly fulfills all your requirements. The only difference is that you provide subcommands, while aichat requires users to create various roles. t2x 'Write a ...' => aichat 'Write a ...' t2x ask file.md 'What is...' => aichat -f file.md 'What is...' t2x summary /path/to/file => aichat -r summary -f /path/to/file t2x summary "This is a..." => aichat -r summary "This is a..." t2x orc /path/to/image.png => aichat -r orc -f /path/to/image.png > Note, In AIChat, `-r/--role` specifies the role to use, `-f/--file` indicates the file or URL input.
In T2x – a CLI tool for AI-first text operations
You need ollama[1][2] and hardware to run 20-70B models with quantization of Q4 at least to have similar experience to commercially hosted models. I use codestral:22b, gemma2:27b, gemma2:27b-instruct, aya:35b. Smaller models are useless for me, because my native language is Ukrainian (it's easier to spot mistakes made by model in a language with more complex grammar rules). As GUI, I use Page Assist[3] plugin for Firefox, or aichat[4] commandline and WebUI tool. [1]: https://github.com/ollama/ollama/releases [2]: https://ollama.com/ [3]: https://github.com/n4ze3m/page-assist [4]: https://github.com/sigoden/aichat
In Hacker plants false memories in ChatGPT to steal user data in perpetuity

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.