mtfly

mtfly / trae-switch

Public

Trae Switch 是一个专为 Trae IDE 设计的工具,通过 DNS 劫持 + 本地反向代理,让 Trae IDE 支持第三方大模型服务商 API(如阿里百炼 Coding Plan、kimi coding plan等)。

32
9
69% credibility
Found Apr 10, 2026 at 32 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

Trae Switch is a Windows desktop app that helps Trae IDE users connect to third-party AI providers by rerouting standard AI requests through a local bridge.

How It Works

1
📰 Discover Trae Switch

You hear about this helpful tool that lets you use extra AI helpers inside your Trae coding app.

2
📥 Get and open the app

Download the simple program and launch its friendly window on your computer.

3
🔧 Prepare your setup

Flip two easy switches to guide AI chats safely through your own machine.

4
Add AI services

Tap plus to name your chosen AI providers and list their clever thinking models.

5
🚀 Start the bridge

Press the big button to connect everything, and see the happy running sign light up.

6
💻 Use in Trae app

Open your coding helper, pick the usual AI spot, enter your service password, choose a model.

🎉 Enjoy new AIs

Now chat effortlessly with all your favorite AI brains right in Trae, feeling super powered.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 32 to 32 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is trae-switch?

Trae Switch is a Windows desktop app in Go with Svelte UI that hijacks api.openai.com traffic for Trae IDE (github trae ide from trae github bytedance), forwarding it via local reverse proxy to third-party OpenAI-compatible APIs like Ali Baichain coding plan or Kimi. Users add providers by name, base URL, and models; the app handles hosts edits, CA cert install, and serves a fake /v1/models endpoint so Trae sees custom models. Enter keys directly in Trae IDE—no storage here.

Why is it gaining traction?

Simple GUI beats manual proxy setups or github trae cli/agent hacks, with quick-add/edit/delete for providers and real-time status on proxy/hosts/cert. One-click quick start proxies to any OpenAI-protocol service, unlocking cheaper models without Trae IDE limitations. Multi-provider switching and no-key policy make it dead simple for daily AI coding swaps.

Who should use this?

Trae IDE coders wanting github copilot trade-ins via Kimi or Qwen models for cost savings. Backend/front-end devs in github trae ai workflows needing seamless third-party LLM integration without native support.

Verdict

Grab it if Trae IDE is your stack—niche but effective for proxying LLMs, though 31 stars and 0.7% credibility score mean it's early; test thoroughly and watch for Windows-only quirks. Docs are solid via WeChat tutorial.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.