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

14 sources
menisadi·Aug 10, 2025Submission

What's your favorite CLI tool for integrating LLMs into your terminal workflow?

For those of you using an LLM CLI tool as part of your terminal workflow. Whether for assisting with shell commands, processing files, or anything else-which one do you use and why? I’ve noticed there are quite a few out there, such as: 1. [sigoden/aichat](https://github.com/sigoden/aichat) 2. [simonw/llm](https://github.com/simonw/llm) 3. [charmbracelet/mods](https://github.com/charmbracelet/mods) 4. [dh1011/llm-term](https://github.com/dh1011/llm-term) 5. [gorilla-llm/gorilla-cli](https://github.com/gorilla-llm/gorilla-cli) Which one’s your favorite? Any good one I missed?
11 points · Open discussion
Great article! I have similar observations and techniques and Claude Code is exceptionally good - most of the days I'm working on multiple things at once (thanks to git worktrees) and each going faster than ever - that's really crazy. For the "sub agents"thing, I must admit, that Claude Code calling o3 via sigoden/aichat saved me countless of times! There are just issues that o3 excells at (race conditions, bug hunting - anything that requires lot of context and really high reasoning abilities). But I'm using it less since Opus 4 came out. And of course its none of the sub-agent thing at all. I use this prompt @included in the main CLAUDE.md: https://github.com/pgflow-dev/pgflow/blob/main/.claude/advan... sigoden/aichat: https://github.com/sigoden/aichat
In Snorting the AGI with Claude Code
With the huge usage that LLM APIs are getting in all sorts of industries, they cannot be going away, and they're cheap. If consumer AI chatbots get enshittified, you can just grab some open source bring-your-api-keys front-end, and chat away for peanuts without ads or anything anti-user. I use https://github.com/sigoden/aichat , but there are GUIs too. Plus, anyone enterprising can just write a web front-end and sell it as "the ad-free AI chatbot, only $10/mo, usage limits apply".
In Chatbots are replacing Google's search, devastating traffic for some publishers
The system prompt can be found here: https://github.com/herol3oy/austen/blob/main/src/server/rout... It would be more interesting if the graph could be generated by sourcing an arbitrary epub file into a RAG and have it figure out character relations without reading the whole book. I wouldn't be surprised if it all could be done with a script using aichat[1] and rendering the diagram using graphviz. [1] https://github.com/sigoden/aichat
In Show HN: I built an app to generate story relationships using Mermaidjs
This exists, just use https://github.com/sigoden/aichat with local ollama and a model like qwen2.5-coder:7b or better (e.g. gemma3:12b). Add this to ~/.bashrc : # bind Alt-e on the command line to replace text with command _aichat_bash() { if [[ -n "$READLINE_LINE" ]]; then READLINE_LINE=$(aichat -e "$READLINE_LINE") READLINE_POINT=${#READLINE_LINE} fi } bind -x '"\ee": _aichat_bash' In the example you gave i get: find . -type f -name "*.mp4" -exec ffmpeg -i {} -c:v libaom-av1 -crf 30 -b:v 0 -c:a copy ~/Videos/{}.mkv \; But if you don't like that you can press Ctrl-Shift-_ (bash has emacs keybindings) to undo and try something else. You can also put a # mark in front and hit enter, then up arrow then Alt-e so you know what created the command.
In Why I'm Boycotting AI
Nice tool. To add a workflow to the 'lots of these', I usually use an aichat[^1] role. The prompt is stored in `~/.config/aichat/roles/gitcommit.md` and then I do this: ``` git diff --cached | aichat -m deepseek:deepseek-chat -r gitcommit | git commit --edit --file - ``` I like that your tool includes some previous commit messages... I'm not sure if that can be done with `aichat` but it seems like a great idea. I'd be tempted to wrap individual commit messages in pseudo-xml <commit> tags, as Claude really likes those[^2] and the `%B` format doesn't really show the breaks between commit messages. 1: https://github.com/sigoden/aichat 2: https://docs.anthropic.com/en/docs/build-with-claude/prompt-...
In A tiny Go tool for generating conventional commits using Claude
Nice start. There's definitely room for a good native macOS chat client, I have tried a few now and none feel perfect. I found two that feel usable: HuggingChat (https://github.com/huggingface/chat-macOS) It has a launcher interface in the current release, and code, latex, etc are pretty printed. You can switch from HF hosted models to local mlx ones (though those are hardcoded rn i think). I like it for quick queries to qwen2.5-coder and I think it would be great if they develop it more. Enchanted (https://github.com/gluonfield/enchanted) This one feels a bit buggy and it might be abandoned, but it has basic functionality for working with ollama models. Also worth a mention is aichat (https://github.com/sigoden/aichat). It's not a native gui app, but it's an impressive cli client.
In Show HN: Onit – Source-available ChatGPT Desktop with local mode, Claude, Gemini

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.