AI coding assistant CLI.
npm install -g @deniai/flixaor
pnpm install -g @deniai/flixaor
bun install -g @deniai/flixaflixa login
flixa chatLog in to Flixa or save a BYOK API key for another provider.
flixa login
flixa login --provider anthropic
flixa login --provider openai
flixa login --provider custom-openai --base-url http://localhost:1234/v1Supported providers:
flixaopenaianthropicgoogleopenroutercustom-openai
Notes:
flixauses browser-based device auth.- Other providers use an API key prompt.
custom-openairequires--base-urlor an entered base URL.- Logging in also sets the selected provider as the default provider.
Remove stored credentials for a provider.
flixa logout
flixa logout --provider anthropicThis removes saved credentials only. It does not undo Claude Code configuration changes.
Inspect configured providers and switch the default provider.
flixa providers list
flixa providers current
flixa providers set-default anthropicSet the default model for the current or specified provider.
flixa model
flixa model --provider anthropic
flixa model claude-sonnet-4-0 --provider anthropic
flixa model gpt-4.1 --provider openaiFor providers with configurable endpoints, you can also pass --base-url.
Start the interactive chat interface.
flixa chat
flixa chat --provider anthropicConfigure Claude Code to use Flixa or Anthropic credentials.
flixa claude-code
flixa claude-code --provider flixa
flixa claude-code --provider anthropicWhat this changes:
~/.claude.jsonhasCompletedOnboardingprimaryApiKey
~/.claude/settings.jsonenv.ANTHROPIC_API_KEYenv.ANTHROPIC_BASE_URLwhen supported by the provider
Safety features:
- Prompts before replacing existing values
--dry-runshows planned changes without writing files- Creates
*.bakbackups before writing changed Claude settings files - Stops with an error if an existing Claude JSON file is invalid instead of overwriting it
Supported providers for claude-code:
flixaanthropic
Show account usage information.
flixa usageRun the Codex-related command flow.
flixa codexFlixa stores local config in:
~/.flixa/config.json
This includes things like:
- default provider
- provider-specific base URLs
- provider-specific default models
Credentials are stored per provider using the best available backend for your OS:
- macOS: Keychain via
security - Linux:
secret-toolwhen available, otherwise plaintext fallback in~/.flixa/ - Windows: DPAPI-backed local encrypted file
Fallback credential files may include:
~/.flixa/credentials~/.flixa/credentials-<provider>
Claude Code integration writes to:
~/.claude.json~/.claude/settings.json
If secret-tool is unavailable, Flixa falls back to a file in ~/.flixa/ with best-effort restricted permissions and prints a warning.
If a provider already has saved credentials, run:
flixa logout --provider <provider>Then log in again.
flixa logout does not modify Claude Code config files. Re-run:
flixa claude-code --provider <provider>Use:
flixa login --provider custom-openai --base-url http://your-endpoint/v1bun install
bun run dev
bun run build