Skip to content

muslu/cem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ CEM — Compose · Execute · Multiplex

   ██████╗███████╗███╗   ███╗
  ██╔════╝██╔════╝████╗ ████║
  ██║     █████╗  ██╔████╔██║
  ██║     ██╔══╝  ██║╚██╔╝██║
  ╚██████╗███████╗██║  ╚═╝ ██║
   ╚═════╝╚══════╝╚═╝      ╚═╝

One command, many AIs. Drive Claude · Antigravity · Codex · Cursor from a single CLI.


1. Install

macOS / Linux / WSL:

curl -fsSL cem.pw/install | sh

Windows (PowerShell — not CMD, not Git Bash):

irm cem.pw/install | iex

That's it. You now have three commands on your PATH: cem, cemi, cemir.


2. First run

cem "what is fibonacci?"

A short wizard opens the first time. Pick one AI to think and one to write. Pick a model for each (or hit Enter for the AI's default). Done.

If a tool isn't installed yet, cem offers to install it for you. If Node.js or another prerequisite is missing, cem offers to install that too — via winget (Windows), brew (macOS), or nvm (Linux).


3. Three commands you'll actually use

cem "explain this codebase"         # ask the THINKER (one AI)
cem -w "write a quicksort in Go"    # ask the WRITER (one AI)
cem -p "build me a CLI tool"        # PAIR: thinker plans, writer codes

That's the whole product. The pair mode is the interesting one — the thinker analyses the task and hands its plan to the writer, so the code you get is informed by reasoning from a different model.


4. Login

After installing an AI tool, cem asks how you want to authenticate:

  Claude için auth:
    [1] API key kaydet  (multiple keys + auto-rotation on rate limit)
    [2] Subscription / OAuth login  (run 'claude' to start the browser flow)
    [3] Skip

Pick 1 if you have an API key (Anthropic Console / OpenAI Platform). Pick 2 if you have a subscription (Claude Pro, ChatGPT Plus, Antigravity, Cursor).

Add or check keys any time:

cem keys add anthropic     # paste your sk-ant-... key
cem keys list              # masked view
cem keys remove openai 2   # delete the 2nd OpenAI key

Multiple keys are tried in order; when one hits a rate limit cem rotates to the next automatically. That's how a 3-hour project doesn't get interrupted.


5. Update / Uninstall

cem update         # fetch the latest release
cem uninstall      # remove cem
cemir all          # remove the installed AI tools

cem checks for new versions in the background and shows a one-line notice if there's an update — never blocks you.

Version format: cem uses calendar versioning YYYYMMDD.MINOR since 2026-05-25 (example: 20260525.05). Older v0.1.x semver tags keep working — cem update understands both formats and only suggests an update when the remote tag is genuinely newer.


IDE integrations

Run cem from inside your editor instead of the terminal. Each editor has a dedicated guide:

Editor Quick install Setup guide
PyCharm / IntelliJ IDEA / GoLand / WebStorm / RubyMine / PhpStorm / Rider / DataGrip / CLion / RustRover Install plugin zip from disk docs/INTELLIJ.md
VS Code code --install-extension cem-vscode.vsix docs/VSCODE.md
Cursor Same vsix as VS Code, plus optional MCP docs/CURSOR.md
Claude Desktop cem-mcp MCP server docs/CLAUDE-DESKTOP.md
Continue.dev cem-mcp MCP server docs/CONTINUE.md
Antigravity IDE Built-in terminal (full plugin pending) docs/ANTIGRAVITY.md
Vim / Neovim No plugin — shell function recipes docs/VIM.md
Emacs No plugin — elisp recipes docs/EMACS.md

Latest downloads

Always-current URLs (redirect to the latest release):

Asset URL
IntelliJ plugin (all JetBrains IDEs) https://github.com/muslu/cem/releases/latest/download/cem-intellij.zip
VS Code extension (also Cursor) https://github.com/muslu/cem/releases/latest/download/cem-vscode.vsix
MCP server — Linux x86_64 https://github.com/muslu/cem/releases/latest/download/cem-mcp-linux-amd64
MCP server — Linux arm64 https://github.com/muslu/cem/releases/latest/download/cem-mcp-linux-arm64
MCP server — macOS Intel https://github.com/muslu/cem/releases/latest/download/cem-mcp-darwin-amd64
MCP server — macOS Apple Silicon https://github.com/muslu/cem/releases/latest/download/cem-mcp-darwin-arm64
MCP server — Windows https://github.com/muslu/cem/releases/latest/download/cem-mcp-windows-amd64.exe
cem core binary — Windows https://github.com/muslu/cem/releases/latest/download/cem-windows-amd64.exe
cem core binary — Linux x86_64 https://github.com/muslu/cem/releases/latest/download/cem-linux-amd64
cem core binary — macOS Apple Silicon https://github.com/muslu/cem/releases/latest/download/cem-darwin-arm64

Full Releases page (versioned filenames + changelog): https://github.com/muslu/cem/releases


Want more?

That covers maybe 80% of daily use. For everything else — project-specific configs, OAuth code helpers, custom models, deeper pair-mode rules, build-from-source — see ADVANCED.md.


License

MIT — see LICENSE.