Quickly connect WeCoding
Configure your coding agents with WeCoding in one guided flow. coding-helper detects supported tools, validates your API key, backs up existing configuration, and writes the correct endpoint and model settings.
Install and launch
Run coding-helper directly with npx, or install it globally if you plan to use it more than once.
# Run once without installing
npx @wecoding/coding-helper
# Or install globally
npm install -g @wecoding/coding-helper
wchelperBefore you start, install Node.js 18 or later and create a WeCoding API key in the console.
What the setup wizard does
- 1Choose the coding-helper interface language.
- 2Enter your WeCoding API key and validate it against the live model list.
- 3Choose a model while comparing context, output, image support, and token pricing.
- 4Select one or more coding tools to configure.
- 5Detect or install each tool, back up its current configuration, and apply WeCoding settings.
Your API key and helper configuration stay on your machine. Existing tool configuration is backed up before it is changed.
Supported tools
File-based tools are configured automatically. GUI tools receive a ready-to-paste configuration snippet through the clipboard.
| Tool | Protocol | Configuration target |
|---|---|---|
| Claude Code | Anthropic | ~/.claude/settings.json |
| Codex CLI | OpenAI compatible | ~/.codex/config.toml + shell env |
| Cursor | OpenAI compatible | Snippet + clipboard |
| OpenCode | OpenAI compatible | ~/.config/opencode/opencode.json |
| OpenClaw | OpenAI compatible | ~/.openclaw/openclaw.json |
| Pi | OpenAI compatible | ~/.pi/agent/models.json + settings.json |
| Hermes | OpenAI compatible | ~/.hermes/config.yaml + .env |
| Cline | OpenAI compatible | Snippet + clipboard |
| Crush | OpenAI compatible | ~/.config/crush/crush.json |
| Roo Code | OpenAI compatible | Snippet + clipboard |
| Kilo Code | OpenAI compatible | Snippet + clipboard |
| Goose | Anthropic | Snippet + clipboard |
| Factory Droid | OpenAI / Anthropic | ~/.factory/settings.json |
| Claude Desktop | Anthropic | claude_desktop_config.json |
| WorkBuddy | OpenAI compatible | ~/.codebuddy/models.json |
Common commands
wchelper # interactive wizard
wchelper init # start the wizard
wchelper auth # interactive API key setup
wchelper auth <token> # non-interactive API key setup
wchelper auth revoke # remove the saved API key
wchelper auth reload <tool> # reload config into one tool
wchelper restore # restore a previous config backup
wchelper lang show # show the current CLI language
wchelper lang set zh_CN # switch the CLI to Chinese
wchelper doctor # run environment diagnostics
wchelper -h # show help
wchelper -v # show versionConfiguration and recovery
coding-helper stores its own configuration in ~/.wecoding/config.yaml. Use wchelper restore if you need to roll a tool back to its previous configuration.
API endpoints
The helper configures the protocol required by each coding tool using these WeCoding endpoints:
OpenAI-compatible https://open.wecoding.ai/v1/chat/completions
Anthropic-compatible https://open.wecoding.ai/v1/messages
Default model glm-5.2For Claude Code, coding-helper removes the trailing /v1 from ANTHROPIC_BASE_URL because Claude Code appends /v1/messages itself.