mix ragex.chat (Ragex v0.12.0)

View Source

Interactive chat session for codebase Q&A using RAG.

Usage

# Chat about the current directory
mix ragex.chat

# Chat about a specific project
mix ragex.chat --path /path/to/project

# Specify AI provider and model
mix ragex.chat --provider deepseek_r1 --model deepseek-chat

# Skip initial analysis (use existing graph data)
mix ragex.chat --skip-analysis

# Use specific retrieval strategy
mix ragex.chat --strategy semantic_first

Options

  • --path, -p - Project path (default: current directory)
  • --provider - AI provider: deepseek_r1, openai, anthropic, ollama
  • --model, -m - Model name override
  • --strategy, -s - Accepted for compatibility; has no effect (queries always go through the agent ReAct loop rather than the retrieval pipeline directly)
  • --dead-code - Enable dead code analysis (disabled by default, slow on large codebases)
  • --skip-analysis - Skip initial codebase analysis
  • --debug - Show AI conversation details (messages, tool calls, responses) on stderr
  • --help, -h - Show this help

Interactive Commands

Once inside the chat, type /help to see available commands.