AIChat

A terminal workspace for multi-provider LLM chat, shell assistance, document context, and local APIs.

Source repo
sigoden/aichat
Stars
★ 11k
Last updated
8mo ago
License
Apache-2.0
Primary language
Rust

At a glance

How it runs
CLISelf-hosted service
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer asking about code, text, or piped command output from a terminal can use CMD mode with stdin.
Not a fit if
  • Users who need a GUI and avoid the terminal
  • Teams wanting a vendor-hosted cloud service instead of self-hosting
Maintenance
No commits for 6+ monthslast commit 2026-02-23latest release v0.30.0 (2025-07-06)+3.3 ★/day over 7 days
Source review
62/100 · Some gaps

What does this agent do, and when should you use it?

AIChat is a command-line LLM application with CMD mode, an interactive Chat-REPL, and a Shell Assistant. It presents a unified interface for more than 20 providers, including OpenAI, Claude, Gemini, Ollama, and Groq, plus OpenAI-compatible APIs. Prompts can include stdin, local files and directories, remote URLs, or output from external commands. The product includes roles, sessions, macros, RAG, function calling, AI Tools, MCP, and AI Agents composed of instructions, tools, and RAG documents. With aichat --serve, it runs a lightweight local HTTP server exposing chat, embeddings, rerank, Playground, and Arena endpoints. The README states that AIChat is available under either the MIT License or Apache License 2.0, at the user's option.

In CMD mode, aichat hello sends a prompt to the configured model, while cat data.txt | aichat reads piped standard input. The -f option accepts inputs such as image.png, data.txt, a directory, https://example.com, or external-command output such as git diff, and combines them with the prompt; the REPL counterpart is .file. Shell Assistant turns natural-language tasks into shell commands adjusted to the current OS and shell environment. Sessions retain conversational context, roles combine a prompt with model configuration, macros chain REPL commands, and RAG brings external documents into conversations; AI Tools and MCP connect external tools. aichat --serve listens locally at 127.0.0.1:8000 and exposes /v1/chat/completions, /v1/embeddings, /v1/rerank, /playground, and /arena?num=2.

  1. A developer asking about code, text, or piped command output from a terminal can use CMD mode with stdin.
  2. A terminal user who describes an operation in plain language can use Shell Assistant to generate a command suited to the current OS and shell.
  3. Someone conducting an extended investigation in a terminal can use Chat-REPL for multiline input, history search, and session context.
  4. An engineer who needs answers grounded in local documents, a directory, a remote URL, or command output can attach that context with -f or .file.
  5. A team evaluating supported models side by side can use the locally served LLM Arena.
  6. A workflow builder combining instructions with external tools, function calling, MCP, and RAG documents can use AI Tools or AI Agents.

How do you install or deploy this agent?

Install with cargo install aichat, brew install aichat, pacman -S aichat, scoop install aichat, or pkg install aichat. Alternatively, download a pre-built macOS, Linux, or Windows binary and add aichat to PATH. A first invocation is: aichat hello. The supplied material confirms multi-provider support but does not document the steps for configuring provider credentials or API keys; that provider configuration is required before making a real model request.

How do you use this agent?

Run aichat hello for a CMD request. Pipe input with cat data.txt | aichat, or combine context with aichat -f dir/ -f data.txt explain. Start the local server with aichat --serve. You can then POST a payload containing model, messages, and stream to http://127.0.0.1:8000/v1/chat/completions; use http://127.0.0.1:8000/playground for the browser UI and http://127.0.0.1:8000/arena?num=2 for side-by-side model comparison.

What are this agent's strengths and limitations?

Pros
  • One CLI brings together CMD mode, Chat-REPL, Shell Assistant, RAG, tool calling, and a local HTTP server.
  • It accepts concrete, varied context sources: stdin, local files and directories, remote URLs, and external-command output.
  • Support for more than 20 providers and OpenAI-compatible APIs reduces dependence on a single model provider.
  • The built-in localhost service includes Chat Completions, Embeddings, and Rerank APIs alongside Playground and Arena interfaces.
Limitations
  • The supplied material does not provide the actual provider credential, API-key, or provider-configuration procedure, leaving first-time setup incomplete.
  • The primary interface is a shell CLI; users who do not work in a terminal must rely on the locally served web UI or API.
  • Remote URL inputs, cloud-model requests, and external-tool connections can introduce network, data-handling, and access-control considerations.
  • Detailed setup, permission scope, and failure behavior for AI Tools, MCP, RAG, and AI Agents are not established in the supplied material.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
AIChat This agent 62 · Some gaps CLIFree + model costs ★ 11k 8mo ago Rust OpenAI API · Claude API
Sidekick 40 · Major gaps Desktop appFree + model costs ★ 3.3k 1mo ago Swift OpenAI API
PyGPT Desktop Assistant 56 · Major gaps Desktop appFree + model costs ★ 2k 1mo ago Python OpenAI API · Claude API
Skales 55 · Major gaps Desktop appFreemium ★ 2.2k 7d ago — ChatGPT · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
62/ 100 5-point scale 3.1 / 5
Trust 11/29
Reliability 8/14
Adaptability 15/18
Convention 13/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

The code shows multiple input types, remote LLMs, external tools, and shell execution, while permission and data-flow controls are only lightly documented. The interactive shell path offers execute/revise/describe/copy/quit choices in a terminal and supports dry-run, supporting user confirmation, but the excerpt does not establish confirmation for every side-effecting operation. Dependencies and licensing are listed, but there is no dependency audit evidence; rollback and maintenance attribution are also thin.

Reliability8 / 14 · 2.9/5

The entry point connects configuration, modes, and tool calls coherently, and errors pass through render_error before a nonzero exit, supporting self-consistency and failure feedback. Many providers and dependencies increase reliance on external availability; the packet does not describe fallback or retry behavior, so dependency availability scores lower.

Adaptability15 / 18 · 4.2/5

The README identifies CMD, REPL, shell assistance, RAG, tools/agents, a server, and varied inputs with concrete scenarios. CLI branches show configuration through dry-run, shell/code roles, sessions, and RAG. Cross-platform installation and shell environment adjustment support strong environment fit, though the packet does not show every capability boundary.

Convention13 / 18 · 3.6/5

The README has clear feature, installation, documentation, and licensing sections, with multi-platform installation methods, guides, and an FAQ; Cargo metadata and README state a version and dual license. Known limitations are barely covered, no changelog appears in the supplied material, and maintenance responsibility is represented only by a developer attribution without a clear process.

Effectiveness10 / 13 · 3.8/5

The CLI, interactive REPL, sessions, RAG, function calling, and built-in API server provide concrete outputs, while one interface for many model providers offers substantial marginal value. Installation options are clear, but setup costs for configuration, credentials, and multiple providers, as well as actual output quality, are not established by this static packet, so cost-benefit is moderate.

Verifiability5 / 8 · 3.1/5

Some README claims are corroborated by entry-point branches for modes, agent calls, dry-run, and serving; Cargo metadata and the README support version and license claims. The CI file shows configured test, Clippy, and formatting jobs, but does not establish that they passed for this revision. Some advertised capabilities lack corresponding source samples, so full marks are not justified.

Risks and how to mitigate them
  • The shell assistant can execute generated commands; inspect them before execution and use dry-run where appropriate. The visible code shows an interactive confirmation path but does not establish confirmation for every execution path.
  • Inputs can come from local files, directories, remote URLs, and external commands, and the product calls remote models or tools; the packet does not fully describe sensitive-data handling or egress boundaries.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 82976d349ad9
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/aichat.svg)](https://followagents.com/en/agents/aichat)
<a href="https://followagents.com/en/agents/aichat"><img src="https://followagents.com/badge/aichat.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.30.0
    Release notes excerpt
    New Features - add support for OSC52 clipboard codes ([#1280](https://github.com/sigoden/aichat/pull/1280)) - abandon support for lingyiwanwu client ([#1327](https://github.com/sigoden/aichat/pull/1327)) - support autodetecting dark/light theme ([#1335](https://github.com/sigoden/aichat/pull/1335)) - enhence .regenerate ([#1340](https://github.com/sigoden/aichat/pull/1340)) - ctrl+j for newline ([#1342](https://github.com/sigoden/aichat/pull/1342)) Bug Fixes - use_tools in agent mode ([#1252](https://github.com/sigoden/aichat/pull/1252)) …
    View on GitHub ↗
  2. v0.29.0
    Release notes excerpt
    New Features - add cmd_prelude and remove prelude ([#1197](https://github.com/sigoden/aichat/pull/1197)) - support claude-3-7-sonnet ([#1201](https://github.com/sigoden/aichat/pull/1201)) - bumping Azure OpenAI API Version to 2024-12-01-preview ([#1205](https://github.com/sigoden/aichat/pull/1205)) - --code (tty) strips <think> tag ([#1227](https://github.com/sigoden/aichat/pull/1227)) - enhence glob for --file and rag docs ([#1230](https://github.com/sigoden/aichat/pull/1230)) …
    View on GitHub ↗
  3. v0.28.0
    Release notes excerpt
    New Features - display reasoning tokens ([#1139](https://github.com/sigoden/aichat/pull/1139)) - webui support think tag ([#1140](https://github.com/sigoden/aichat/pull/1140)) - strip reasoning contents ([#1141](https://github.com/sigoden/aichat/pull/1141)) - support model alias ([#1150](https://github.com/sigoden/aichat/pull/1150)) - enhance .file for loading resources from diverse sources ([#1155](https://github.com/sigoden/aichat/pull/1155)) - supports selecting LLM during configuration initialization ([#1158](https://github.com/sigoden/aichat/pull/1158)) …
    View on GitHub ↗

FAQ

Is AIChat limited to OpenAI models?
No. The supplied material lists OpenAI, Claude, Gemini, Ollama, Groq, and more than 20 providers, as well as OpenAI-compatible APIs.
What local content can it read?
You can explicitly provide local files, directories, and external-command output with -f or the REPL .file command. The supplied material does not describe any other automatic reading behavior.
Can it serve an API locally?
Yes. aichat --serve exposes Chat Completions, Embeddings, and Rerank endpoints on 127.0.0.1:8000.
How can I compare models?
After starting the local server, open the LLM Arena at /arena?num=2 to compare models side by side.
Is AIChat free?
The software is free, but AIChat calls an AI model, and you pay that model provider for usage (or run a local model).
Is AIChat open source?
Yes. The source code is on GitHub (sigoden/aichat) under the Apache-2.0 licence.
Is AIChat safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored AIChat 11/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is AIChat still maintained?
The GitHub repository has had no commits since 2026-02-23, more than six months ago. That can mean the project is finished or abandoned; check its issues before relying on it. The latest release is v0.30.0 (2025-07-06).
Who makes AIChat?
AIChat is published on GitHub by the account sigoden. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts