git404hub

what is codexswitch fr?

aidotnet/codexswitch — explained in plain English

Analysis updated 2026-05-18

63C#Audience · developerComplexity · 2/5Setup · moderate

tl;dr

A desktop app that lets OpenAI Codex talk to different AI providers like Anthropic or DeepSeek through a local proxy you control.

vibe map

mindmap
  root((CodexSwitch))
    What it does
      Routes Codex requests
      Translates API formats
      Tracks usage and cost
    Tech stack
      C sharp
      Avalonia
    Use cases
      Provider switching
      Cost tracking
    Audience
      Codex users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Switch OpenAI Codex between different AI providers without reconfiguring it.

VIBE 2

Route Codex requests to Claude, DeepSeek, or other providers based on cost.

VIBE 3

Track how many tokens and how much cost each Codex session uses locally.

VIBE 4

Manage API keys for multiple AI providers from one desktop app.

what's the stack?

C#Avalonia.NET

how it stacks up fr

aidotnet/codexswitchminerd/cmdmanagercws6206/secureboot-inspector
Stars636364
LanguageC#C#C#
Setup difficultymoderatemoderateeasy
Complexity2/53/52/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires API keys for the AI providers you want to route to.

in plain english

CodexSwitch is a desktop application for Windows, macOS, and Linux that acts as a local routing layer between OpenAI Codex (an AI coding agent) and various AI providers. The problem it solves is that Codex normally only talks to one AI service, but developers may want to use different AI providers such as OpenAI, Anthropic (Claude), DeepSeek, or others depending on cost, availability, or capability. CodexSwitch runs a small proxy server on your own computer at a local address. Codex is configured to send its requests to this local proxy instead of directly to the cloud. The proxy then selects the right AI provider based on the model requested, translates the request format if necessary (since different providers use different API formats), and forwards it. For example, if you ask for a Claude model, it converts the OpenAI-style request that Codex sends into Anthropic's format, sends it to Anthropic's servers, and converts the response back into the format Codex expects. It also records a local log of all requests, how many tokens were used, and the estimated cost. The desktop interface, built with Avalonia (a cross-platform UI framework for .NET applications written in C#), lets you switch the active provider with one click, manage API keys, view usage statistics over 24 hours, 7 days, and 30 days, and customize which model names map to which upstream providers. You would use this if you run the Codex agent and want to control costs, swap providers without reconfiguring Codex, or track your AI usage locally.

prompts (copy fr)

prompt 1
Show me how to configure Codex to send requests through CodexSwitch's local proxy.
prompt 2
Help me set up CodexSwitch to route Claude-model requests to Anthropic's API.
prompt 3
Explain how CodexSwitch translates OpenAI-style requests into Anthropic's format.
prompt 4
Walk me through viewing 7-day usage and cost statistics in CodexSwitch.

Frequently asked questions

what is codexswitch fr?

A desktop app that lets OpenAI Codex talk to different AI providers like Anthropic or DeepSeek through a local proxy you control.

What language is codexswitch written in?

Mainly C#. The stack also includes C#, Avalonia, .NET.

How hard is codexswitch to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is codexswitch for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.