Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

Reverting back to claude as default

Ahmed Allam5207cdc90c20
diff --git a/README.md b/README.md
index 72ed229a..cefd1e99 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Strix are autonomous AI agents that act just like real hackers - they run your c
pipx install strix-agent
# Configure AI provider
-export STRIX_LLM="openai/gpt-5"
+export STRIX_LLM="anthropic/claude-opus-4-1-20250805"
export LLM_API_KEY="your-api-key"
# Run security assessment
@@ -93,7 +93,7 @@ strix --target api.your-app.com --instruction "Prioritize authentication and aut
```bash
# Required
-export STRIX_LLM="openai/gpt-5"
+export STRIX_LLM="anthropic/claude-opus-4-1-20250805"
export LLM_API_KEY="your-api-key"
# Recommended
diff --git a/strix/cli/main.py b/strix/cli/main.py
index a44c5271..3798bea8 100644
--- a/strix/cli/main.py
+++ b/strix/cli/main.py
@@ -74,7 +74,7 @@ def validate_environment() -> None:
error_text.append("• ", style="white")
error_text.append("STRIX_LLM", style="bold cyan")
error_text.append(
- " - Model name to use with litellm (e.g., 'openai/gpt-5')\n",
+ " - Model name to use with litellm (e.g., 'anthropic/claude-opus-4-1-20250805')\n",
style="white",
)
error_text.append("• ", style="white")
@@ -92,7 +92,7 @@ def validate_environment() -> None:
error_text.append("\nExample setup:\n", style="white")
error_text.append(
- "export STRIX_LLM='openai/gpt-5'\n", style="dim white"
+ "export STRIX_LLM='anthropic/claude-opus-4-1-20250805'\n", style="dim white"
)
error_text.append("export LLM_API_KEY='your-api-key-here'\n", style="dim white")
if missing_optional_vars:
@@ -144,7 +144,7 @@ async def warm_up_llm() -> None:
console = Console()
try:
- model_name = os.getenv("STRIX_LLM", "openai/gpt-5")
+ model_name = os.getenv("STRIX_LLM", "anthropic/claude-opus-4-1-20250805")
api_key = os.getenv("LLM_API_KEY")
if api_key:
diff --git a/strix/llm/config.py b/strix/llm/config.py
index 9428e12d..6e8b8146 100644
--- a/strix/llm/config.py
+++ b/strix/llm/config.py
@@ -9,7 +9,7 @@ class LLMConfig:
enable_prompt_caching: bool = True,
prompt_modules: list[str] | None = None,
):
- self.model_name = model_name or os.getenv("STRIX_LLM", "openai/gpt-5")
+ self.model_name = model_name or os.getenv("STRIX_LLM", "anthropic/claude-opus-4-1-20250805")
if not self.model_name:
raise ValueError("STRIX_LLM environment variable must be set and not empty")
diff --git a/strix/llm/memory_compressor.py b/strix/llm/memory_compressor.py
index be0c785b..28d19eba 100644
--- a/strix/llm/memory_compressor.py
+++ b/strix/llm/memory_compressor.py
@@ -145,7 +145,7 @@ class MemoryCompressor:
model_name: str | None = None,
):
self.max_images = max_images
- self.model_name = model_name or os.getenv("STRIX_LLM", "openai/gpt-5")
+ self.model_name = model_name or os.getenv("STRIX_LLM", "anthropic/claude-opus-4-1-20250805")
if not self.model_name:
raise ValueError("STRIX_LLM environment variable must be set and not empty")