Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

AIChat

$ aichat Community Med Risk
sigoden (OSS) · AI & Media · MIT / Apache-2.0 · macos / linux / windows

aichat (by sigoden) is a fast single-binary Rust LLM CLI supporting OpenAI, Claude, Gemini, Ollama, and Bedrock, alongside -S (--no-stream), -c (--code) clean code/JSON extraction, -f file attachments, RAG, and an OpenAI-compatible --serve endpoint.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install aichat
CLI vs MCP Decision CLI Only

Fast single-binary Rust LLM pipe tool (aichat -S -c); pass prompt arguments or stdin to avoid launching its interactive chat REPL.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Supports -S (--no-stream), -c (--code), -f files, and --list-models, though bare aichat opens an interactive REPL and outputs rely on prompt/code extraction rather than native schema enforcement.

  • Supports -S (--no-stream), -c (--code), -r roles, and --list-models
Trust & Safety 20 / 25

Remote API billing risk, plaintext keys in config.yaml, and -e (--execute) can run shell commands if explicitly invoked.

  • Contains shell-execution flag -e and stores optional keys in config.yaml
Setup & Portability 14 / 15

Single static Rust binary via brew, cargo, and GitHub Releases.

  • Zero-dependency Rust binary across macOS, Linux, Windows
Utility & Efficiency 13 / 15

Broad 20+ provider support, built-in RAG, and sub-10ms Rust startup.

  • Multi-provider LLM client with roles, RAG, and --serve
Maintenance & Lineage 8 / 10

Well-maintained community Rust project (sigoden/aichat) under MIT/Apache-2.0.

  • Active sigoden/aichat repository
Docs & Verifiability 8 / 10

Detailed README, wiki, and --help reference.

  • Comprehensive README and wiki at github.com/sigoden/aichat

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Reads provider env vars (OPENAI_API_KEY, GEMINI_API_KEY, etc.) or stores keys in config.yaml inside ~/.config/aichat/ (OS config dir).

Side Effects
Read-Only Local Write Billing Impact
Cost & Quotas

MIT/Apache-2.0 open-source Rust binary; remote LLM API calls bill to your provider account.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# AIChat Agent Rules
- Always pass a prompt argument or piped stdin plus `-S` (`--no-stream`) so `aichat` does not open its interactive REPL.
- Never pass `-e` (`--execute`) inside automated agents—it executes LLM-generated shell commands.

Agent-Ready Command Recipes

Safe Read-Only Queries

List configured LLM models offline
aichat --list-models

Prints available providers and models configured in aichat.

Controlled Writes & Previews

Convert piped TOML to clean JSON without markdown fences
cat Cargo.toml | aichat -S -c 'Convert this TOML to valid JSON'

Disables streaming (-S) and outputs raw code/JSON only (-c) without prose.

Strengths for Agents

  • + Fast single Rust binary supporting 20+ cloud and local LLM backends.
  • + -S -c cleanly extracts raw code/JSON blocks in shell pipelines.

Caveats & Pitfalls

  • ! Bare aichat without prompt/stdin enters an interactive chat REPL.
  • ! -e (--execute) executes generated shell commands—avoid in automated agent calls.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI