clai

    clai

    No reviews
    Category:Coding & Development
    Pricing:Freemium
    Added:
    Updated:
    Website:
    VISIT NOW

    Share

    clai is a command-line AI client written in Go: query any model (OpenAI, Anthropic, Gemini, Ollama and more) with your own keys, through Unix pipes or as an agent.

    What is clai?

    clai is an open-source command-line AI tool for querying OpenAI, Anthropic, Google, Mistral, DeepSeek, xAI, Ollama and OpenRouter models from your terminal. It ships as a single Go binary of about 16 MB that starts in milliseconds, works as a Unix filter for any model and, given a profile, becomes a full agent. It runs on your own API keys, with tools switched off by default.

    What can you do with clai in the terminal?

    The quickest win is Unix pipes: feed it a server log and ask for an incident summary, or chain two calls to rewrite the output. With tools enabled it can run commands, apply patches and run Go tests. It supports saved profiles (say, one that explains diffs), JSON response formats another program can parse, Agent Skills, MCP servers, image input and image generation rendered right in the terminal.

    How does clai store and sync conversations?

    Every conversation is saved as plain JSON, and clai can import sessions from Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Qwen, Antigravity or pi. clai cloud syncs config and conversations across machines git-style, pulling and committing only when you choose, and the web view shows what filled the context, each step, tool errors and the tokens and spend recorded. A public Hub lets people share and rate profiles, skills and themes.

    Who is clai for?

    • Developers and sysadmins who live in the terminal and want AI inside their scripts.
    • Anyone juggling several LLM providers or local models through Ollama.
    • Teams that want to audit context and token usage per agent session.

    clai pros and cons

    • Pros: MIT license, a lightweight binary, nothing sent to clai.chat unless you sync or publish, and broad provider support.
    • Cons: you need your own key for each provider, it targets terminal users, and synced conversations are not end-to-end encrypted.

    It is built by Lorentz in Tampere, Finland, and the site embeds a real in-browser terminal compiled to WASIX so you can try it before installing.

    clai features and use cases

    •Queries to OpenAI, Anthropic, Google, Mistral, DeepSeek, xAI, Ollama and OpenRouter.
    •A single Go binary of about 16 MB that starts in milliseconds.
    •Works as a Unix filter in chained pipes.
    •Agent mode with tools: shell commands, patches and Go tests.
    •Saved profiles for repeated tasks.
    •Responses in a JSON format you define.
    •Agent Skills and MCP servers.
    •Image input and image generation in the terminal.
    •Conversations stored as JSON, plus imports from Claude Code, Codex, Cursor and others.
    •Git-style sync and a public Hub to share configs.
    •Use case: an SRE pipes an API log into clai and gets a three-line incident note.
    •Use case: a developer saves a profile that explains every diff before code review.

    How to use clai

    1Install clai with go install or the official install script.
    2Set the API key for the provider you want, or point it at Ollama.
    3Ask a question with clai q, or pipe text into it.
    4Enable tools, skills or MCP servers only when you need them.
    5Save profiles and response formats for your usual tasks.
    6Optionally run clai cloud login and sync with pull and commit.
    7Review context, steps and usage for each conversation on the web.

    clai FAQ

    What is clai?

    clai is an open-source terminal AI client written in Go that queries models from several providers and can work as an agent.

    Is clai free?

    The command-line tool is free and open source; only conversation sync costs money, as shown in the pricing section.

    Which models can I use with clai?

    It works with OpenAI, Anthropic, Google, Mistral, DeepSeek, xAI, OpenRouter and local models through Ollama, always with your own keys.

    Do I need an account?

    Not to use the CLI. An account is only needed to publish or rate on the Hub and to sync between machines.

    Does clai send my prompts to its servers?

    Not when used locally: prompts go straight to the provider you configure, and clai.chat only receives what you sync or publish.

    Does clai support MCP?

    Yes. It supports MCP servers and Agent Skills, which you enable explicitly because tools are off by default.

    Can I import sessions from other coding agents?

    Yes. It imports transcripts from Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Qwen, Antigravity and pi so you can review them in one place.

    Are synced conversations encrypted?

    They sit in Cloudflare R2, encrypted at rest but not end to end, so keep secrets out of anything you sync.

    Which systems does it run on?

    It installs with go install or a shell script, covering Unix-like systems, and the website also runs it in the browser through WASIX.

    What are some clai alternatives?

    This directory lists Aider, Claude Code and Codex as terminal coding assistants, which focus more on writing code than on filtering text.

    clai pricing and plans

    Reference price: 1 USD · usage based. Source · Verified: November 30, 2026

    Local CLI: free forever, open source (MIT), with your own keys or Ollama and no account.

    Hub and config sync: free, no card, up to 1 GB of config.

    Conversation sync: USD 1 per started GB per month, billed on the monthly peak (minimum USD 1 when storing anything; 10 GB = USD 10).

    • Model usage is paid separately to each provider with your own key.

    Checked on: 30/11/2026.

    clai Screenshots

    clai screenshot 1
    clai screenshot 2

    clai user reviews

    Write a review

    Checking your session...

    clai Reviews

    Loading reviews...

    clai alternatives

    Modelflare
    Paid

    Modelflare

    Modelflare is an AI API gateway by Havenbyte LLC: one OpenAI-compatible key gives third-party access to models it lists as GPT, Claude and Gemini.

    –
    33
    Coding & Development
    VibeVigil
    Freemium

    VibeVigil

    VibeVigil is a passive scanner for apps built with AI tools: it finds exposed secret keys and security gaps and gives you a note your coding agent can act on.

    –
    24
    Coding & Development
    TalkTo
    Freemium

    TalkTo

    TalkTo is a messaging platform for AI agents: channels and direct chats where Claude Code, Codex, Cursor and others coordinate, on their own or across your team.

    –
    30
    Coding & Development
    Trieste
    Freemium

    Trieste

    Trieste is a desktop project manager and IDE for working with several coding agents at once without losing track of what each one is doing or what changed.

    –
    30
    Coding & Development
    AgentMall
    Paid

    AgentMall

    AgentMall is a commerce API for personal AI agents: search, basket and checkout at stores like Target or Best Buy, with approvals and protected credentials.

    –
    30
    Chatbots & Virtual CompanionsCoding & Development
    kosem
    Freemium

    kosem

    kosem is a coding agent platform that gives each agent an isolated microVM, its own identity and only the short-lived access you grant it.

    –
    27
    Coding & Development

    clai Analytics

    Views
    Real data
    Website Clicks
    Real data
    CTR
    Real data

    Views Trend (30 days)

    Analytics data is updated in real-time and is 100% real