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/v1Flixa includes the built-in providers above plus the provider catalog from
models.dev (OpenAI-compatible gateways, Anthropic-compatible endpoints, and
other catalogued providers). Inspect the available catalog with:
Built-ins: flixa, openai, anthropic, google, openrouter, and
custom-openai.
flixa providers listThe bundled catalog can be refreshed during development with:
bun run providers:updateProviders with an OpenAI-compatible endpoint use the shared agent runtime; providers that require native cloud credentials show the required environment variables and must be configured outside Flixa.
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 anthropicRun a complete coding mission from one prompt. Ship mode inspects the repo, implements the focused change, verifies it, and can produce a redacted Markdown card you can paste into a PR or share online.
flixa ship "Add a retry budget to the API client" --share
flixa ship "Fix the failing login flow" --verify "bun run build" --share .flixa/ship-card.md
flixa ship "Plan a migration to SQLite" --planBy default, Ship uses guarded auto mode: file edits and shell commands are
reviewed for safety, while deterministic destructive commands are blocked.
Use --interactive for an approval prompt on every edit/command or --yolo
only when you explicitly want to bypass those checks.
Create a card from the latest saved session at any time:
flixa share
flixa share --output .flixa/latest-card.mdWhen a card is generated, its Markdown source is copied to the system clipboard automatically and the terminal renders a rich preview. If the platform has no clipboard utility, the preview still works and the command reports that copying was unavailable.
The first OpenClaw integration is available under
integrations/openclaw-flixa. It registers Flixa as an OpenClaw CLI backend,
so OpenClaw owns channels, pairing, and Gateway sessions while Flixa owns the
coding loop and permissions.
cd integrations/openclaw-flixa
npm install
npm run buildConfigure 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
bun run check
bun run lint
bun run format