Skip to content

yebax/baxcode

Repository files navigation

中文 | English

BaxCode Logo

BaxCode

Let AI Tools Work Together
让 AI 工具协同工作

License Release Issues Stars Forks

FeaturesSupported ToolsQuick StartLicenseAbout


What is BaxCode?

BaxCode is an AI programming tool compatibility and integration platform. It's not another AI programming tool, but a desktop application that lets you manage and use all mainstream AI programming tools in one place.

Core Philosophy

Let AI Tools Work Together

BaxCode acts as a "bridge" and "translator" — enabling different AI programming tools like Claude Code, Codex CLI, Gemini CLI, Qwen Code, Kimi Code to connect to various LLM providers (DeepSeek, MIMO, Alibaba Cloud, ByteDance, SiliconFlow, etc.) through a unified configuration layer.

Problems We Solve

Problem BaxCode Solution
Each AI tool requires separate API configuration Unified configuration layer, configure once, share across all tools
Different tools use different API formats Embedded proxy automatically converts OpenAI/Anthropic/Gemini/Responses formats
Local models can't be directly used by some tools Automatically adapts local vLLM/Ollama to various tool formats
Switching model providers requires multiple config changes One-click backend switching, all tools update automatically
Each tool requires a separate terminal window Unified terminal panel with multi-tab management

Features

  • Unified Configuration Layer: Centrally manage API configurations for all AI tools
  • Multi-Backend Support: One-click switching between DeepSeek, MIMO, Alibaba Cloud, ByteDance, SiliconFlow, vLLM, etc.
  • CLI Tool Aggregation: One-click launch of Claude Code, Codex CLI, Gemini CLI, Qwen Code, Kimi Code, Hermes, CodeBuddy, OpenCode
  • Embedded Proxy: Automatic OpenAI/Anthropic/Gemini/Responses API format conversion
  • Local Model Support: Deploy LLMs locally via vLLM/Ollama for use with AI programming tools
  • Role System: Pre-built expert roles (Java, Vue, Python, Backend Architect, Product Manager)
  • Project Management: Bind projects to local code directories, support multi-tool collaboration
  • Terminal Management: Multi-tab terminal based on xterm.js + node-pty
  • Config Isolation: Complete isolation between development and production configurations

Supported Tools

Tool Protocol Format Local Model Description
Claude Code Anthropic Messages Anthropic official CLI, requires Anthropic-compatible provider
Codex CLI Responses API OpenAI official CLI, supports Responses API format
Gemini CLI Gemini API Google official CLI, supports Gemini API format
Qwen Code OpenAI Compatible Alibaba Cloud CLI, compatible with OpenAI format
Kimi Code OpenAI Compatible Moonshot AI CLI, compatible with OpenAI format
OpenCode Responses API Open-source AI programming assistant
CodeBuddy OpenAI Compatible Tencent Cloud AI programming assistant
Hermes Agent OpenAI Compatible Open-source AI Agent

Supported Providers

Provider Type Example Models
DeepSeek Cloud DeepSeek-V3, DeepSeek-R1
MIMO (Xiaomi) Cloud mimo-v2.5-pro
Alibaba Cloud (DashScope) Cloud Qwen3-235B-A22B
ByteDance (Volcengine) Cloud Doubao-pro
SiliconFlow Cloud Qwen3-30B-A3B
vLLM Local Any open-source model
Ollama Local Any open-source model

Quick Start

Prerequisites

  • Node.js 18+ LTS
  • pnpm 8+ (recommended) or npm

Installation

# Clone repository
git clone https://github.com/yebax/BaxCode.git
cd BaxCode

# Install dependencies (pnpm recommended)
pnpm install

# Install CLI tools
cd cli-tools
install.bat      # Windows
# or
./install.sh     # Linux/macOS
cd ..

Development

pnpm dev

Build

# Windows
pnpm build:win

# Linux
pnpm build:linux

First Use

  1. Launch BaxCode
  2. Go to LLM Configuration page
  3. Add your API provider (e.g., DeepSeek, MIMO, etc.)
  4. Select the AI tool to use (e.g., Claude Code, Codex CLI, etc.)
  5. Click the tool button and start AI programming!

Tech Stack

Built with Electron + React + TypeScript desktop application, with embedded Express proxy for protocol conversion.


Contributing

We welcome all forms of contribution:

  1. Code Contribution — Fork → Branch → PR
  2. Strategy Templates — Share your security strategy configurations
  3. Model Adapters — Write adapters for new models
  4. Bug Reports — Submit Issues with reproduction steps
  5. Documentation — Fix errors or add content

Contributor Notes:

  • Code style follows project ESLint configuration
  • All PRs must pass CI checks
  • Security-related changes require additional Code Review
  • Commit messages use Conventional Commits format

Security

If you discover a security vulnerability, please do NOT report it in a public Issue. Send an email to yebax@foxmail.com, and we will respond within 48 hours.

BaxCode's security design follows these principles:

  • Fail-Closed: Assume defenses have been breached, make deterministic controls at runtime
  • Least Privilege: Agents only have the minimum permissions needed to complete tasks
  • Default Deny: All operations not explicitly allowed are denied by default
  • Auditability: All agent behavior is traceable

License

BaxCode is open-sourced under the Apache License 2.0.

This means you are free to:

  • ✅ Commercial use
  • ✅ Modification and distribution
  • ✅ Private deployment
  • ✅ Build closed-source commercial applications based on BaxCode

The only obligation is to retain the copyright notice and license copy.


About

BaxMan — Independent developer, OPC (One Person Company) believer

I believe that one person + AI can accomplish what used to require a team.

BaxCode is the practice of this philosophy — empowering every developer with AI programming tools to make programming simpler and more efficient.


Acknowledgments

Thanks to the following AI programming tools:

Tool Description
Claude Code Anthropic official CLI
Codex CLI OpenAI official CLI
Gemini CLI Google official CLI
Qwen Code Alibaba Cloud CLI
Kimi Code Moonshot AI CLI
OpenCode Open-source AI programming assistant
CodeBuddy Tencent Cloud AI programming assistant
Hermes Agent Open-source AI Agent
Cline VS Code AI programming assistant
MIMO Code Xiaomi AI CLI

Thanks to the following foundational frameworks:

  • Electron — Cross-platform desktop application framework
  • React — UI rendering framework
  • xterm.js — Terminal emulator
  • Express — Web framework (for embedded proxy)
  • Zustand — Lightweight state management
  • node-pty — Cross-platform pseudo-terminal

BaxCode — Let AI Tools Work Together
让 AI 工具协同工作

About

Let AI Tools Work Together. 让 AI 工具协同工作

Resources

License

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors