AI

AIChat

All-in-one LLM CLI tool with chat-REPL and API server

Self-Hosted AI ★ 10.5k stars Easy setup MIT

AIChat is a command-line tool for interacting with large language models that includes a shell assistant, chat REPL, and a built-in API server. It works with many providers and can serve locally hosted models.

Key features

  • Shell assistant mode
  • Chat REPL interface
  • Built-in API server
  • RAG and function calling

Strengths

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • Mature project with 10.5k GitHub stars
  • Written in Rust

Is AIChat secure?

OSV.dev has no published security advisories for AIChat's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

AIChat replaces

Health badge

Maintain AIChat? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 62 · good

Markdown
[![SelfHostIndex health score for AIChat](https://selfhostindex.com/badge/aichat-cli.svg)](https://selfhostindex.com/app/aichat-cli/)
HTML
<a href="https://selfhostindex.com/app/aichat-cli/"><img src="https://selfhostindex.com/badge/aichat-cli.svg" alt="SelfHostIndex health score for AIChat"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/aichat-cli.svg
   :alt: SelfHostIndex health score for AIChat
   :target: https://selfhostindex.com/app/aichat-cli/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare AIChat

13 head-to-head comparisons.

Similar self-hosted ai apps