Skip to main content
Open Source CLI Tool

GoZenMulti-CLI Environment Switcher

Unified management for Claude Code, Codex, and OpenCode configurations with API proxy auto-failover

Go Zenenter a zen-like flow state for programming.Goes Envseamless environment switching.

$
curl -fsSL https://raw.githubusercontent.com/dopejs/gozen/main/install.sh | sh

Features

Multi-CLI Support

Support for Claude Code, Codex, and OpenCode with per-project configuration

Config Management

Manage all API provider configs in a unified JSON file

Unified Daemon

Single zend process hosts both the proxy server and the Web UI

Proxy Failover

Built-in HTTP proxy with automatic failover when primary provider is unavailable

Scenario Routing

Intelligent routing based on request characteristics (thinking, image, etc.)

Project Bindings

Bind directories to specific profiles and CLIs for automatic project-level configuration

Environment Variables

Configure per-CLI environment variables at the provider level

Web Interface

Browser-based visual management with password-protected access

Web Security

Auto-generated password, session-based auth, RSA encryption for token transport

Config Sync

Sync providers, profiles, and settings across devices with AES-256-GCM encryption

More features coming soon, stay tuned!

Quick Start

1

Install GoZen

One-line install script

curl -fsSL https://raw.githubusercontent.com/dopejs/gozen/main/install.sh | sh
2

Configure Provider

Add your first API provider

zen config add provider
3

Launch

Start CLI with default configuration

zen

Commands

CommandDescription
zenStart CLI (uses project binding or default config)
zen -p <profile>Start with specified profile
zen -pInteractively select profile
zen --cli <cli>Use specified CLI (claude/codex/opencode)
zen -yAuto-approve CLI permissions (claude --yes, codex -a never)
zen use <provider>Use specified provider directly (no proxy)
zen pickInteractively select provider to start
zen listList all providers and profiles
zen config add providerAdd a new provider
zen config add profileAdd a new profile
zen config default-clientSet the default CLI client
zen config default-profileSet the default profile
zen config reset-passwordReset the Web UI access password
zen config syncPull config from remote sync backend
zen daemon startStart the zend daemon
zen daemon stopStop the daemon
zen daemon statusShow daemon status
zen daemon enableInstall daemon as system service
zen daemon disableUninstall daemon system service
zen bind <profile>Bind current directory to profile
zen bind --cli <cli>Bind current directory to specified CLI
zen unbindUnbind current directory
zen statusShow current directory binding status
zen webOpen Web UI in browser (auto-starts daemon)
zen upgradeUpgrade to latest version
zen versionShow version
zen completion <shell>Generate shell completion (zsh/bash/fish)