{"repo":"sublang-ai/cligent","free":true,"listed":false,"github":"https://github.com/sublang-ai/cligent","clone":"git clone https://github.com/sublang-ai/cligent.git","description":"Unified TypeScript SDK for AI agents - Claude Code, Codex, Gemini CLI, OpenCode, and more","language":"TypeScript","stars":53,"topics":["ai-agents","claude-code","cli","codex-cli","developer-tools","gemini-cli","opencode","sdk","typescript","coding-agents"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"cligent Unified TypeScript SDK for AI coding agent CLIs (Claude Code, Codex CLI, Gemini CLI, Kimi Code, OpenCode, and more). Register an adapter, send a prompt, and consume a single async event stream — regardless of which agent runs underneath. Install The agent SDKs are optional peer dependencies — add the one(s) for the adapters you use: Gemini and default managed-mode OpenCode also need their CLI on PATH . External-mode OpenCode connects to a caller-owned server and needs only the SDK. Kimi has its own pinned CLI setup below. cligent owns which versions of those runtimes work. It refuses one it does not support, naming the version it found, the version it needs, and the command that repairs it — before an agent call rather than in the middle of one. @sublang/cligent/runtime-targets publishes the supported and tested version of every runtime, so a tool built on cligent inherits the policy by upgrading cligent and carries no agent-SDK version knowledge of its own. Note pnpm rewrites = back into a caret on pnpm update ; there, move the pin deliberately and let the lockfile hold it. The Kimi adapter targets the maintained Kimi Code CLI through ACP. Install the exact conformance target. The external Kimi CLI itself requires Node.js 22.19 or newer to install and run, then authenticate once: Adapters reuse each vendor's own authentication from your environment — a signed-in CLI (e.g. claude , codex ) or its API-key variable (e.g. ANTHROPIC API KEY , OPENAI API KEY ). Kimi Code 0","default_branch":null,"files":null,"tree":[],"storefront":"/r/sublang-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sublang-ai/cligent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}