[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5506":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":16,"starSnapshotCount":16,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},5506,"aichat","sigoden\u002Faichat","sigoden","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.","",null,"Rust",10120,704,95,41,0,4,33,150,19,43.54,"Apache License 2.0",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40],"ai","ai-agents","chatbot","claude","cli","function-calling","gemini","llm","ollama","openai","rag","rust","shell","webui","2026-06-12 02:01:11","# AIChat: All-in-one LLM CLI Tool\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Factions\u002Fworkflows\u002Fci.yaml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Factions\u002Fworkflows\u002Fci.yaml)\n[![Crates](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Faichat.svg)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Faichat)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1226737085453701222?label=Discord)](https:\u002F\u002Fdiscord.gg\u002Fmr3ZZUB9hG)\n\nAIChat is an all-in-one LLM CLI tool featuring Shell Assistant, CMD & REPL Mode, RAG, AI Tools & Agents, and More. \n\n## Install\n\n### Package Managers\n\n- **Rust Developers:** `cargo install aichat`\n- **Homebrew\u002FLinuxbrew Users:** `brew install aichat`\n- **Pacman Users**: `pacman -S aichat`\n- **Windows Scoop Users:** `scoop install aichat`\n- **Android Termux Users:** `pkg install aichat`\n\n### Pre-built Binaries\n\nDownload pre-built binaries for macOS, Linux, and Windows from [GitHub Releases](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Freleases), extract them, and add the `aichat` binary to your `$PATH`.\n\n## Features\n\n### Multi-Providers\n\nIntegrate 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.\n\n### CMD Mode\n\nExplore powerful command-line functionalities with AIChat's CMD mode.\n\n![aichat-cmd](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F6c58c549-1564-43cf-b772-e1c9fe91d19c)\n\n### REPL Mode\n\nExperience an interactive Chat-REPL with features like tab autocompletion, multi-line input support, history search, configurable keybindings, and custom REPL prompts.\n\n![aichat-repl](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F218fab08-cdae-4c3b-bcf8-39b6651f1362)\n\n### Shell Assistant\n\nElevate 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.\n\n![aichat-execute](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F0c77e901-0da2-4151-aefc-a2af96bbb004)\n\n### Multi-Form Input\n\nAccept diverse input forms such as stdin, local files and directories, and remote URLs, allowing flexibility in data handling.\n\n| Input             | CMD                                  | REPL                             |\n| ----------------- | ------------------------------------ | -------------------------------- |\n| CMD               | `aichat hello`                       |                                  |\n| STDIN             | `cat data.txt \\| aichat`             |                                  |\n| Last Reply        |                                      | `.file %%`                       |\n| Local files       | `aichat -f image.png -f data.txt`    | `.file image.png data.txt`       |\n| Local directories | `aichat -f dir\u002F`                     | `.file dir\u002F`                     |\n| Remote URLs       | `aichat -f https:\u002F\u002Fexample.com`      | `.file https:\u002F\u002Fexample.com`      |\n| External commands | ```aichat -f '`git diff`'```         | ```.file `git diff` ```          |\n| Combine Inputs    | `aichat -f dir\u002F -f data.txt explain` | `.file dir\u002F data.txt -- explain` |\n\n### Role\n\nCustomize roles to tailor LLM behavior, enhancing interaction efficiency and boosting productivity.\n\n![aichat-role](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F023df6d2-409c-40bd-ac93-4174fd72f030)\n\n> The role consists of a prompt and model configuration.\n\n### Session\n\nMaintain context-aware conversations through sessions, ensuring continuity in interactions.\n\n![aichat-session](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F56583566-0f43-435f-95b3-730ae55df031)\n\n> The left side uses a session, while the right side does not use a session.\n\n### Macro\n\nStreamline repetitive tasks by combining a series of REPL commands into a custom macro.\n\n![aichat-macro](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F23c2a08f-5bd7-4bf3-817c-c484aa74a651)\n\n### RAG\n\nIntegrate external documents into your LLM conversations for more accurate and contextually relevant responses.\n\n![aichat-rag](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F359f0cb8-ee37-432f-a89f-96a2ebab01f6)\n\n### Function Calling\n\nFunction 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.\n\nWe have created a new repository [https:\u002F\u002Fgithub.com\u002Fsigoden\u002Fllm-functions](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Fllm-functions) to help you make the most of this feature.\n\n#### AI Tools & MCP\n\nIntegrate external tools to automate tasks, retrieve information, and perform actions directly within your workflow.\n\n![aichat-tool](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F7459a111-7258-4ef0-a2dd-624d0f1b4f92)\n\n#### AI Agents (CLI version of OpenAI GPTs)\n\nAI Agent = Instructions (Prompt) + Tools (Function Callings) + Documents (RAG).\n\n![aichat-agent](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F0b7e687d-e642-4e8a-b1c1-d2d9b2da2b6b)\n\n### Local Server Capabilities\n\nAIChat includes a lightweight built-in HTTP server for easy deployment.\n\n```\n$ aichat --serve\nChat Completions API: http:\u002F\u002F127.0.0.1:8000\u002Fv1\u002Fchat\u002Fcompletions\nEmbeddings API:       http:\u002F\u002F127.0.0.1:8000\u002Fv1\u002Fembeddings\nRerank API:           http:\u002F\u002F127.0.0.1:8000\u002Fv1\u002Frerank\nLLM Playground:       http:\u002F\u002F127.0.0.1:8000\u002Fplayground\nLLM Arena:            http:\u002F\u002F127.0.0.1:8000\u002Farena?num=2\n```\n\n#### Proxy LLM APIs\n\nThe LLM Arena is a web-based platform where you can compare different LLMs side-by-side. \n\nTest with curl:\n\n```sh\ncurl -X POST -H \"Content-Type: application\u002Fjson\" -d '{\n  \"model\":\"claude:claude-3-5-sonnet-20240620\",\n  \"messages\":[{\"role\":\"user\",\"content\":\"hello\"}], \n  \"stream\":true\n}' http:\u002F\u002F127.0.0.1:8000\u002Fv1\u002Fchat\u002Fcompletions\n```\n\n#### LLM Playground\n\nA web application to interact with supported LLMs directly from your browser.\n\n![aichat-llm-playground](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Faab1e124-1274-4452-b703-ef15cda55439)\n\n#### LLM Arena\n\nA web platform to compare different LLMs side-by-side.\n\n![aichat-llm-arena](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fedabba53-a1ef-4817-9153-38542ffbfec6)\n\n## Custom Themes\n\nAIChat supports custom dark and light themes, which highlight response text and code blocks.\n\n![aichat-themes](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fassets\u002F4012553\u002F29fa8b79-031e-405d-9caa-70d24fa0acf8)\n\n## Documentation\n\n- [Chat-REPL Guide](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FChat-REPL-Guide)\n- [Command-Line Guide](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FCommand-Line-Guide)\n- [Role Guide](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FRole-Guide)\n- [Macro Guide](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FMacro-Guide)\n- [RAG Guide](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FRAG-Guide)\n- [Environment Variables](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FEnvironment-Variables)\n- [Configuration Guide](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FConfiguration-Guide)\n- [Custom Theme](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FCustom-Theme)\n- [Custom REPL Prompt](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FCustom-REPL-Prompt)\n- [FAQ](https:\u002F\u002Fgithub.com\u002Fsigoden\u002Faichat\u002Fwiki\u002FFAQ)\n\n## License\n\nCopyright (c) 2023-2025 aichat-developers.\n\nAIChat is made available under the terms of either the MIT License or the Apache License 2.0, at your option.\n\nSee the LICENSE-APACHE and LICENSE-MIT files for license details.","AIChat 是一个集成了多种功能的LLM命令行工具，支持Shell助手、聊天REPL、RAG、AI工具和代理等功能。它使用Rust编写，通过统一接口无缝集成超过20个主流LLM提供商，包括OpenAI、Claude、Gemini等。核心功能包括CMD模式下的强大命令行功能、REPL模式下的交互式聊天体验（支持自动补全、多行输入、历史搜索等）、以及能够将自然语言描述的任务转换为精确shell命令的Shell助手。此外，AIChat还支持多种输入形式，如标准输入、本地文件及目录、远程URL等，提供灵活的数据处理方式。该工具适用于需要高效利用AI能力进行命令行操作、数据处理或开发工作的场景。",2,"2026-06-11 03:03:42","top_language"]