Codaph recognizes several environment variables for configuration. These can be overridden by CLI flags or saved settings.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mubit-ai/codaph/llms.txt
Use this file to discover all available pages before exploring further.
Mubit Configuration
Primary Mubit API key variableEnables Mubit cloud sync and shared memory features. Get your key from console.mubit.ai.Alternative:
MUBIT_APIKEY (deprecated but supported)Can be overridden by:--mubit-api-keyflag~/.codaph/settings.jsonglobal config
Override project ID for MubitAlternative:
MUBIT_PROJECT_IDAuto-detected from git remote (owner/repo) if not set.Actor/user identifier for Mubit eventsAuto-detected from:
- GitHub CLI (
gh api user) - Git config (
user.name) - Shell user (
$USERor$USERNAME)
Mubit run scope:
project or sessionproject(default when project ID available) - Shared run across contributorssession- Separate run per captured session
OpenAI Configuration
OpenAI API key for agent-assisted queries in TUI chatAlternative:
OPENAI_APIKEY (deprecated but supported)Can be overridden by:--openai-api-keyflag~/.codaph/settings.jsonglobal config
OpenAI model for agent queriesCan be overridden by
--openai-model flagAdvanced Mubit Options
Custom Mubit API endpoint (for enterprise deployments)
Force HTTP transport endpoint
Force gRPC transport endpoint
Transport mode:
auto, http, or grpcDefault: auto (selects based on availability)Write timeout in milliseconds for Mubit operations
Agent identifier for Mubit events
Shell Variables
Fallback for actor ID if not otherwise configured (Unix/Linux)
Fallback for actor ID if not otherwise configured (Windows)
Version Detection
Used to detect CLI version when run via npm/bun scripts
Configuration Priority
For most settings, Codaph resolves values in this order (highest priority first):- CLI flags (e.g.,
--mubit-api-key) - Environment variables (e.g.,
MUBIT_API_KEY) - Saved settings (
~/.codaph/settings.jsonor.codaph/project.json) - Auto-detection (e.g., from git/GitHub)
- Built-in defaults
Example Setup
~/.bashrc or ~/.zshrc
Check effective configuration