đź§  How to Use ALL AI Coding Assistance at Once

Configure Claude Code + Gemini CLI + Codex on one screen!

In partnership with

4 Titans of the Creator Economy. One Stage. One Day.

You know their names. You’ve followed their success. But you’ve never seen them all in one place—until now.

On July 16th, four of the most influential minds in the creator space are coming together for a live, virtual event: The Creator Business Summit.

Shaan Puri. Codie Sanchez. Chris Koerner. Tyler Denk.

They’ve built newsletters, brands, and 7-figure companies. And they’re breaking down how they did it. For free. For you.

From audience growth to monetization to long-term brand strategy, this is your chance to learn directly from the best.

Whether it’s day 1 or you’ve been building for a while, this is the one event you can’t afford to miss.

While developers debate Claude Code vs Gemini CLI vs Codex, smart developers discovered something else: Why choose when you can run all three simultaneously?

Stack Overflow's 2024 survey revealed a hidden truth buried in the data. 76% of developers use AI tools, but only 43% trust their accuracy.

The real insight? The best developers aren't picking favorites—they're using multiple tools for different tasks.

Today, I’ll show you a system that allows you to use multiple AI coding assistants next to each other and pick the winner!

Let’s dive right in!

The Science Behind Multi-Tool AI Development

Single AI tool = single point of failure. Multiple AI tools = coverage of blind spots.

Recent benchmarks prove what many developers suspect: every AI has different strengths. Claude Sonnet 4 leads with 72.7% on SWE-bench, while OpenAI's O3 hits 71.7%—but each excels at different problem types.

The pattern emerges:

  • Complex debugging and architecture: Claude Code wins with superior reasoning

  • Speed: Gemini CLI delivers fast responses with good quality

  • Focused coding tasks: OpenAI Codex excels at specific implementation challenges

With this workflow, you'll be able to compare code produced by all of the best models. Now Claude Opus 4, Gemini 2.5 Pro, and OpenAI O3 work on your task—you pick the winner.

The 3-Terminal Setup That Changes Everything

Stop switching between browser tabs. Start running all three AI tools in parallel.

Here's the exact setup that lets you query Claude, Gemini, and Codex simultaneously:

Prerequisites

  • Node.js 18+: Required for all three CLI tools

  • macOS or Linux: Full compatibility with terminal environments

  • tmux: Install with brew install tmux (macOS) or your package manager

  • Git repository: Optional but recommended for isolated worktree testing

  • API Access:

    • Claude Code: Active billing at console.anthropic.com OR Claude Pro/Max subscription

    • Gemini CLI: Free with personal Google account (60 requests/minute)

    • OpenAI Codex: OpenAI API key with billing enabled

Why Git Worktrees Matter

This setup creates separate git worktrees for each AI model—think of them as isolated copies of your codebase.

The key benefit: each AI can modify code without interfering with the others. You can test three different implementation approaches simultaneously, then cherry-pick the best parts from each solution. No more losing good ideas because one AI overwrote another's work.

The workflow will produce a worktree for each model automatically for you!

Step 1: Install the CLIs

# Claude Code
npm install -g @anthropic-ai/claude-code

# Gemini CLI 
npm install -g @google/gemini-cli

# OpenAI Codex
npm install -g @openai/codex

Step 2: Set up tmux configuration

Add this config to your ~/.tmux.conf file:

# Enable mouse support (click to switch panes)
set -g mouse on

# Toggle sync with 's' after prefix (Ctrl+b then s)
bind s setw synchronize-panes

# Direct sync toggle with Option+s (no prefix needed)
bind -n M-s setw synchronize-panes

# Direct sync toggle with Ctrl+s (alternative)
bind -n C-s setw synchronize-panes

# Kill session with 'k' after prefix (Ctrl+b then k)
bind k kill-session

# Show sync status and worktree info in status bar
set -g status-right '#{?pane_synchronized,#[bg=red]SYNC ON,} #[fg=blue]#{pane_current_path}'

Then run this command from the terminal:

tmux source-file ~/.tmux.conf

Step 3: Create the Multi-AI Launcher

Add this function to your ~/.zshrc:


# AI CLI with git worktree support
ai() {
    # Check if tmux is available
    if ! command -v tmux > /dev/null 2>&1; then
        echo "Error: tmux is not installed. Please install tmux first: brew install tmux"
        return 1
    fi
    
    if git rev-parse --git-dir > /dev/null 2>&1; then
        CURRENT_BRANCH=$(git branch --show-current)
        
        for ai in claude gemini codex; do
            WORKTREE_NAME="${ai}-worktree"
            BRANCH_NAME="${ai}-branch"
            if [ ! -d "$WORKTREE_NAME" ]; then
                echo "Creating branch and worktree for $ai..."
                
                # Check if branch already exists
                if ! git branch --list "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
                    if ! git branch "$BRANCH_NAME" "$CURRENT_BRANCH"; then
                        echo "Error: Failed to create branch $BRANCH_NAME"
                        continue
                    fi
                fi
                
                # Try to create worktree, cleanup branch if it fails
                if ! git worktree add "$WORKTREE_NAME" "$BRANCH_NAME"; then
                    echo "Error: Failed to create worktree $WORKTREE_NAME"
                    # Cleanup the branch we just created if worktree creation failed
                    git branch -D "$BRANCH_NAME" 2>/dev/null || true
                    continue
                fi
            fi
        done
        
        # Wait for worktrees to be fully created
        sleep 1
        
        tmux kill-session -t ai_clis 2>/dev/null
        tmux new-session -d -s ai_clis \; \
            send-keys "cd claude-worktree && claude" C-m \; \
            split-window -h \; \
            send-keys "cd gemini-worktree && gemini" C-m \; \
            split-window -h \; \
            send-keys "cd codex-worktree && codex" C-m \; \
            select-layout even-horizontal \; \
            setw synchronize-panes on \; \
            attach-session -t ai_clis
    else
        echo "Not in a git repository. Running without worktrees..."
        tmux kill-session -t ai_clis 2>/dev/null
        tmux new-session -d -s ai_clis \; \
            send-keys "claude" C-m \; \
            split-window -h \; \
            send-keys "gemini" C-m \; \
            split-window -h \; \
            send-keys "codex" C-m \; \
            select-layout even-horizontal \; \
            setw synchronize-panes on \; \
            attach-session -t ai_clis
    fi
}

And run source ~/.zshrc.

Step 4: Launch and Use

  • Type ai to start all three CLIs

  • Press Ctrl+s to toggle sync on/off

  • When sync is on, every prompt goes to all three AIs simultaneously

You can chat with 3 AIs at once!

The Weekly Action Plan

This week, try the "Query All, Choose Best" approach:

  1. Set up the multi-AI terminal (10 minutes using the template above)

  2. Pick one coding problem you're stuck on

  3. Ask all three simultaneously with the same prompt

  4. Compare responses and note which AI gave the best answer for that problem type

  5. Document your findings in a simple text file

Next week: Start routing different question types to the AI that performed best.

Remember: The goal isn't to use all three for every task. It's to discover which AI handles your specific work best, then automate that routing.

See you next week,

Luke!