Skip to content

Releases: maxrodrigo/clai

Release list

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 11:05
v0.2.0

[0.2.0] - 2026-07-15

🚀 Features

  • (commands) Add colored output to list commands and help

🐛 Bug Fixes

  • (commands) Handle errors from color Fprintf/Fprintln calls

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 05:25
v0.1.0
eb8add2

v0.1.0 — Initial release

clai is a UNIX text filter that pipes content through language models. stdin → LLM → stdout.

Install

brew install maxrodrigo/tap/clai

or

go install github.com/maxrodrigo/clai/cmd/clai@latest

Quick start

export OPENAI_API_KEY="sk-..."
echo "Explain monads in one paragraph" | clai -e "answer"
git diff --cached | clai commit
cat report.txt | clai summarize

Highlights

  • Pipeline native — composes with grep, jq, awk, and everything else
  • Multi-provider — OpenAI, Anthropic, Bedrock, Ollama, any OpenAI-compatible endpoint
  • Built-in prompts — summarize, code-review, commit, translate, explain, and more
  • Reasoning strategies — Chain-of-Thought, Tree-of-Thought, Chain-of-Draft, Self-Refine
  • Structured output — JSON Schema validation with a dedicated exit code