Compare

How clai compares

Most terminal AI tools are built around a coding session: you open the tool in a repository and an agent edits files for you. clai is built around the terminal itself, so it fits inside a script, a cron job, an editor or another harness.

At a glance

Checked October 2026. These tools move fast.

claiClaude CodeCodex CLIGemini CLIOpenCodeAider
Built aroundUnix commands and chatCoding agentCoding agentCoding agentCoding agentPair programming
Model vendorsEight, switch per runAnthropicOpenAI firstGoogleManyMany
One-shot query from a pipeYes-iYes-pYescodex execYes-pYesopencode runYes--message
Agent Skills (SKILL.md)YesYesYesYesYesNot built in
MCP clientYesYesYesYesYesPartly
Keep other tools' sessionsYesNot built inNot built inNot built inNot built inNot built in
Resume another tool's sessionYesNot built inNot built inNot built inNot built inNot built in
Generate images, video, audioYesNot built inNot built inNot built inNot built inNot built in
Public hub for configsYesNot built inNot built inNot built inNot built inNot built in
LicenseMITProprietaryApache-2.0Apache-2.0MITApache-2.0

A dash means not built in, which is not a verdict: a plugin or a script may cover it. Check each tool's own documentation.

Where clai differs

-i · -I · -r

Built for pipes

clai q reads standard input. -i puts it where{} is in the prompt, -I names your own placeholder, and -r prints raw text for the next command.

Queries and Unix pipes
git diff | clai -i q "Review these changes: {}"
kubectl logs deploy/api --tail=200 | clai -i q "Find the first error: {}"
clai -r q "A one-liner that lists the ten largest files" | sh
  • clai chat list

    Every agent's sessions, kept and continued

    clai reads the sessions Claude Code, Codex, OpenCode, Gemini CLI, Qwen and Antigravity leave on disk, keeps them in one synced store, and continues any of them on a different model.

    Multi-vendor transcripts
  • -p reviewer

    One profile, any vendor

    A profile is one JSON file: model, prompt, tools and MCP servers. Change the model field and the same profile runs on another vendor, so your prompts survive a price change or an outage.

    Profiles and setup
  • -s '*'

    Your skills already work

    clai loads Agent Skills, the SKILL.md folders, from its config, from ~/.agents/skills and from a repo's .claude/skills, so skills written for Claude Code work as they are.

    Agent Skills
  • -asc git

    Your shell, in the prompt

    A shell context adds live values to the system prompt: the branch, the dirty files and the last commit, or whatever command output you choose.

    Shell context
  • cchub:

    A hub for the parts you reuse

    The Hub holds profiles, MCP servers, shell contexts, skills, themes and prompts. Anyone can read and download them; sign in to publish or rate.

    Browse the Hub
  • photo · video · audio

    Media from the same binary

    clai photo, clai video and clai audio use the same profiles and keys, and the Go packages put the same agent loop in your own programs.

    CLI reference

When another tool fits better

  • Claude Code, Codex CLI, Gemini CLI or OpenCode

    You want one vendor's agent to own a coding session in one repository.

  • Aider

    You want a focused pair-programming loop over git.

  • clai

    You want one tool for scripts, chats, media and agents, you switch vendors, or your prompts and skills should live as plain files you can share.

Get started

One static binary. Bring a vendor key, or point it at local Ollama.

go install github.com/baalimago/clai@latest

QuickstartBrowse the Hub

Type to search the documentation.