// devtools · sigoden/aichat

aichat

aichat é um projeto de ferramentas de desenvolvimento de código aberto de sigoden (sigoden/aichat no GitHub). Tem 10.490 estrelas no GitHub e 748 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 23 de fevereiro de 2026.

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

★ 10,5 mil estrelas⑂ 748 forksApache-2.0atualizado fev 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
sigoden/aichat
Estrelas no GitHub
10.490
Forks
748
Licença
Apache-2.0
Última atualização no GitHub
23 de fevereiro de 2026
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Ferramentas de desenvolvimento

rtk

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

★ 82,7 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

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 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

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 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

destructive_command_guard

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

★ 6,1 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

zvec-grep

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

★ 4,0 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

mirage

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

★ 3,7 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Ferramentas de desenvolvimento

Os outros projetos de Ferramentas de desenvolvimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se aichat não for o ideal para você.

// mais em devtools

Mais em Ferramentas de desenvolvimento

Projetos de Ferramentas de desenvolvimento próximos no catálogo, os mais próximos em estrelas de aichat: continue explorando dos dois lados dele.

Baixe o aichat

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.