// devtools · sigoden/aichat

aichat

aichat est un projet de développement open source, créé par sigoden (sigoden/aichat sur GitHub). Il compte 10 490 étoiles sur GitHub et 748 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 23 février 2026.

One Rust CLI for every LLM: shell assistant, chat REPL, RAG, tools and agents across 20+ providers.

★ 10,5 k étoiles⑂ 748 forksApache-2.0mis à jour févr. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
10 490
Forks
748
Licence
Apache-2.0
Dernière mise à jour sur GitHub
23 février 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
// fonctionnement

Comment ça marche

  1. Install the binary

    Use your platform's package manager or download a pre-built binary from GitHub Releases and put it on your PATH.

  2. Configure a provider

    On first run AIChat walks you through adding a provider - an API key for a hosted service, or a local Ollama endpoint if you want no key at all.

  3. Try the three core modes

    Ask a one-off question in CMD mode, open the interactive REPL for a longer session, and use shell-assistant mode to turn a task description into a command you can review and run.

  4. Add your own material

    Point it at files, folders or URLs with -f, build a RAG over your documents, and save roles, sessions and macros for work you repeat.

// fonctionnalités

Pourquoi on l'adore

20+ providers, one interface

OpenAI, Claude, Gemini, Ollama, Groq, Azure OpenAI, Vertex AI, Bedrock, GitHub Models, Mistral, DeepSeek, xAI Grok, Cohere, Perplexity, OpenRouter and any OpenAI-compatible API, all through one config.

Shell assistant

Describe a task in natural language and AIChat writes the shell command for your OS and shell, ready to review and execute.

Interactive chat REPL

Tab autocompletion, multi-line input, history search, configurable keybindings and custom prompts for long working sessions.

Multi-form input

Feed it prompts, stdin, local files and directories, remote URLs or the output of external commands, and combine several inputs in one request.

Roles, sessions and macros

Roles pair a prompt with model settings; sessions keep conversations context-aware; macros record REPL command sequences you replay on demand.

RAG, tools, agents and a local server

Chat over your own document sets, connect function-calling tools and MCP, build agents from instructions plus tools plus documents, or run aichat --serve for OpenAI-compatible chat, embeddings and rerank endpoints with a web playground and model arena.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Most users install the pre-built binary instead; clone if you want to build or inspect the Rust source.

    git clone https://github.com/sigoden/aichat.git
    cd aichat
  2. Install AIChat

    Install from crates.io (or use brew install aichat, pacman -S aichat or scoop install aichat).

    cargo install aichat
  3. Start chatting

    Launch the REPL, or start the built-in local server with playground and arena.

    aichat
    aichat --serve
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains AIChat?

It is maintained by sigoden (the aichat-developers) as an open-source project.

Is AIChat free to use?

Yes. It is offered under the MIT or Apache-2.0 license at your option, free for personal and commercial use.

Does it need a paid API key?

Only if you choose a hosted provider - you bring that provider's key. Connect a local Ollama and it works with no API key and no per-token cost.

How does AIChat compare with Simon Willison's llm or mods?

Those are excellent focused tools; AIChat bundles more into one binary - REPL, shell assistant, RAG, function-calling agents and a local API server - across 20+ providers.

How do I get started?

Run cargo install aichat (or your package manager's equivalent), launch aichat once to configure a provider, then ask your first question.

// continuez l'exploration

Outils similaires

Développement

rtk

CLI proxy that cuts LLM token consumption 60-90% on common dev commands — one Rust binary

★ 82,7 k étoilesApache-2.0
Voir le guide →
Développement

openagent

⚡️next-generation personal AI assistant powered by LLM, RAG and agent loops, supporting computer-use, browser-use and coding agent, demo: https://demo.openag…

★ 5,7 k étoilesApache-2.0
Voir le guide →
Développement

agents-cli

The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.

★ 6,0 k étoilesApache-2.0
Voir le guide →
Développement

destructive_command_guard

A guard that blocks dangerous git and shell commands before AI agents can execute them.

★ 6,1 k étoilesMIT
Voir le guide →
Développement

zvec-grep

zvec-grep (zg): one local CLI unifying ripgrep-style exact search, BM25, and semantic vector search

★ 4,0 k étoilesApache-2.0
Voir le guide →
Développement

mirage

A virtual terminal and filesystem that lets AI agents work across S3, Drive, Slack, Gmail and more.

★ 3,7 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si aichat ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de aichat — continuez à explorer de part et d'autre.

Obtenir aichat

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.