CodexMultipleAccounts.Dnx 0.0.2

dotnet tool install --global CodexMultipleAccounts.Dnx --version 0.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local CodexMultipleAccounts.Dnx --version 0.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CodexMultipleAccounts.Dnx&version=0.0.2
                    
nuke :add-package CodexMultipleAccounts.Dnx --version 0.0.2
                    

<p align="center"> <img src="docs/assets/codex-multiple-accounts-logo.png" alt="Codex Multiple Accounts logo" width="160" /> </p>

Codex Multiple Accounts

Cross-platform Avalonia manager for running isolated Codex profiles and parallel Antigravity filesystem profiles.

<p align="center"> <img src="docs/assets/app-screenshot.png" alt="Codex Multiple Accounts app showing isolated Codex and Antigravity profiles" width="1000" /> </p>

Providers

Codex

  • Isolated launch: every profile owns a separate Codex home and each child codex process receives its own CODEX_HOME. Multiple profiles can therefore run concurrently without changing the user's default Codex state.
  • Embedded PTY and external-terminal launch remain available.

Antigravity

Antigravity profiles launch the desktop application with a child-only profile environment. Windows redirects USERPROFILE, APPDATA, and LOCALAPPDATA; Linux redirects HOME plus XDG directories and passes dedicated user-data/extensions directories; macOS redirects HOME and passes dedicated user-data/extensions directories.

The app tracks Antigravity processes per profile for the current manager session and exposes Start/Stop/Restart controls.

Authentication boundary: current Antigravity versions use a fixed OS credential-store identity. Filesystem profiles can run in parallel, but they are not guaranteed to hold independent logged-in Antigravity accounts under the same OS user. The UI reports this limitation instead of claiming full auth isolation.

Full profiles are the supported isolation mode in this slice. Shared profile metadata is present for the next implementation slice; cross-platform settings/extensions sharing still requires safe symlink/junction handling.

Set ANTIGRAVITY_EXECUTABLE to override executable auto-detection. Defaults are %LOCALAPPDATA%\Programs\Antigravity\Antigravity.exe on Windows, /Applications/Antigravity.app/Contents/MacOS/Antigravity on macOS, and /usr/bin/antigravity or /opt/Antigravity/antigravity on Linux with a PATH fallback.

Platforms

Windows, Linux and macOS. Codex uses the embedded PTY or an external terminal. Antigravity launches as an external desktop process with provider-specific isolation.

Build

dotnet restore CodexMultipleAccounts.slnx
dotnet build CodexMultipleAccounts.slnx
dotnet run --project src/CodexMultipleAccounts.App

CodexMultipleAccounts.Dnx is the separate command-line client for the shared Core profile and launch services. It supports profile CRUD, isolated login, and launching Codex in a selected workspace:

dotnet run --project src/CodexMultipleAccounts.Dnx -- profile list
dotnet run --project src/CodexMultipleAccounts.Dnx -- profile create Personal
dotnet run --project src/CodexMultipleAccounts.Dnx -- login Personal
dotnet run --project src/CodexMultipleAccounts.Dnx -- launch Personal ./my-workspace

Use -- after the workspace to pass additional arguments to Codex.

Screenshot

The checked-in screenshot is captured from the real Avalonia application by the Windows App Screenshot workflow using a deterministic demo state. The workflow also uploads the PNG as an Actions artifact and refreshes docs/assets/app-screenshot.png when the app UI changes.

Security

Profile directories can contain provider-managed authentication and application state. Treat the application-data CodexMultipleAccounts/profiles directory as sensitive. The manager never inspects or logs token contents, and child launch environment changes do not mutate the parent process environment.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.0.2 80 9/12/2026
0.0.1 79 9/12/2026