Conflux Docs
Getting started

Quickstart

Start with the web workspace, connect CLI tools, or send API requests through Conflux.

Quickstart diagramClick to enlarge

Choose an entry point

Web workspaceBest for reviewing runs, selecting models, using Flux, reading memory, and watching analytics.
Claude CLIBest for long-running agent work with Anthropic-compatible `/v1/messages` support.
Codex CLIBest for coding workflows routed through the OpenAI-compatible API path.
Direct APIBest for applications that already call `/v1/chat/completions`, `/v1/responses`, or `/v1/messages`.

Start from the web

  1. Sign in and open Conflux.
  2. Create or select a workspace.
  3. Choose Direct, Flux, or Auto mode.
  4. Choose source models and a Flux model when needed.
  5. Send a prompt and review the run, route, model responses, and analytics.

Connect a CLI

Claude CLI can point at Conflux using an Anthropic-compatible base URL.

Windows PowerShell:

$env:ANTHROPIC_BASE_URL="https://api.yoiyoi.xyz"
$env:ANTHROPIC_API_KEY="<CONFLUX_API_KEY>"
Remove-Item Env:ANTHROPIC_AUTH_TOKEN -ErrorAction SilentlyContinue
claude --dangerously-skip-permissions

macOS/Linux:

export ANTHROPIC_BASE_URL="https://api.yoiyoi.xyz"
export ANTHROPIC_API_KEY="<CONFLUX_API_KEY>"
unset ANTHROPIC_AUTH_TOKEN
claude --dangerously-skip-permissions

Codex CLI also needs a provider entry in `config.toml`.

model_provider = "yoiyoi"
model_reasoning_effort = "high"

[model_providers.yoiyoi]
name = "yoiyoi"
base_url = "https://api.yoiyoi.xyz/v1"
env_key = "CONFLUX_API_KEY"

Then set the API key for your shell.

Windows PowerShell:

$env:CONFLUX_API_KEY="<CONFLUX_API_KEY>"
codex

macOS/Linux:

export CONFLUX_API_KEY="<CONFLUX_API_KEY>"
codex