csai is the Terminal CLI for cs.AI (chopsticksAI) — a full-screen agent in your shell, plus one-shot commands for scripts. You do not paste an OpenRouter or OpenAI key; live chat uses chopstickshq.com with the same free allowance as the Mac app and web agent.
Requires Python 3.9+ (macOS and most Linux distros):
curl -fsSL https://chopstickshq.com/chopsticks-ai/install-csai-cli.sh | bash
Then run:
csai
csai ask "explain Swift actors in one paragraph" csai ask "summarize this log line" --json csai ask "hello" -q # reply text only csai usage csai update
/keys add <key> — unlock higher tiers (same as macOS/web)/search on|off — toggle auto web search in chat/login — chopstickshq.com account for synced allowance/tier chopcode — set effort tierDevelopers who want agent-style chat from SSH, a lightweight alternative to heavy IDE agents, or JSON output for shell scripts and CI notes. Not a local LLM — answers come from chopstickshq.com.