Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
848 changes: 424 additions & 424 deletions .agents/scripts/eeat-score-helper.sh

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .agents/scripts/model-availability-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ get_tier_models() {
# Check if OpenCode is available (CLI installed and models cache exists)
if _is_opencode_available; then
case "$tier" in
haiku) echo "opencode/claude-3-5-haiku|opencode/gemini-3-flash" ;;
haiku) echo "opencode/claude-haiku-4-5|opencode/gemini-3-flash" ;;
flash) echo "google/gemini-2.5-flash|opencode/gemini-3-flash" ;;
sonnet) echo "opencode/claude-sonnet-4|anthropic/claude-sonnet-4-6" ;;
pro) echo "google/gemini-2.5-pro|opencode/gemini-3-pro" ;;
Expand All @@ -128,6 +128,7 @@ get_tier_models() {
else
case "$tier" in
haiku) echo "anthropic/claude-haiku-4-5|google/gemini-2.5-flash" ;;

flash) echo "google/gemini-2.5-flash|openai/gpt-4.1-mini" ;;
sonnet) echo "anthropic/claude-sonnet-4-6|openai/gpt-4.1" ;;
pro) echo "google/gemini-2.5-pro|anthropic/claude-sonnet-4-6" ;;
Expand Down
6 changes: 3 additions & 3 deletions .agents/scripts/model-label-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,19 @@ normalize_model() {
# Normalize concrete model names to tiers
# Specific patterns first, then wildcards
case "$model" in
claude-3-haiku* | claude-3-5-haiku*)
claude-haiku-4* | claude-3-haiku* | claude-3-5-haiku*)
echo "haiku"
;;
gemini-*-flash*)
echo "flash"
;;
claude-3-sonnet* | claude-3-5-sonnet* | claude-sonnet-4*)
claude-sonnet-4* | claude-3-sonnet* | claude-3-5-sonnet*)
echo "sonnet"
;;
gemini-*-pro*)
echo "pro"
;;
claude-3-opus* | claude-opus-4* | o3 | o1*)
claude-opus-4* | claude-3-opus* | o3 | o1*)
echo "opus"
;;
*haiku*)
Expand Down
4 changes: 2 additions & 2 deletions .agents/scripts/model-registry-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ init_db() {
# Model Name Normalization
# =============================================================================
# Normalizes model names for fuzzy matching across different naming conventions.
# e.g., "claude-3-5-haiku" and "claude-haiku-3.5" both normalize to "claude-haiku"
# e.g., "claude-haiku-4-5" and "claude-3-5-haiku" both normalize to "claude-haiku"

normalize_model_name() {
local name="$1"
Expand Down Expand Up @@ -1245,7 +1245,7 @@ cmd_route() {
# Defaults if registry is empty
case "$tier" in
haiku)
primary_model="${primary_model:-claude-3-5-haiku}"
primary_model="${primary_model:-claude-haiku-4-5}"
fallback_model="${fallback_model:-gemini-2.5-flash}"
;;
flash)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ AI Gateway works with 15+ providers via unified API or provider-specific endpoin
| Provider | Unified API | Provider Endpoint | Notes |
|----------|-------------|-------------------|-------|
| OpenAI | ✅ `openai/gpt-4o` | `/openai/*` | Full support |
| Anthropic | ✅ `anthropic/claude-3-5-sonnet` | `/anthropic/*` | Full support |
| Anthropic | ✅ `anthropic/claude-sonnet-4-6` | `/anthropic/*` | Full support |
| Google AI Studio | ✅ `google-ai-studio/gemini-2.0-flash` | `/google-ai-studio/*` | Full support |
| Workers AI | ✅ `workersai/@cf/meta/llama-3` | `/workers-ai/*` | Native integration |
| Azure OpenAI | ✅ `azure-openai/*` | `/azure-openai/*` | Deployment names |
Expand Down
4 changes: 2 additions & 2 deletions .agents/subagent-index.toon
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Video,video.md,AI video generation and prompt engineering,opus
-->

<!--TOON:model_tiers[6]{tier,model_id,use_case}:
haiku,claude-3-5-haiku-20241022,Triage routing and simple tasks
haiku,claude-haiku-4-5,Triage routing and simple tasks
sonnet,claude-sonnet-4-6,Code review and implementation
opus,claude-opus-4-20250514,Architecture and complex reasoning
opus,claude-opus-4-6,Architecture and complex reasoning
flash,gemini-2.5-flash,Fast cheap large context
pro,gemini-2.5-pro,Capable large context
grok,grok-3,Research and real-time web knowledge
Expand Down
2 changes: 1 addition & 1 deletion .agents/tools/ai-assistants/models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Model-specific subagents enable cross-provider model routing. Instead of passing

| Tier | Subagent | Primary Model | Fallback |
|------|----------|---------------|----------|
| `haiku` | `models/haiku.md` | claude-3-5-haiku | gemini-2.5-flash |
| `haiku` | `models/haiku.md` | claude-haiku-4-5 | gemini-2.5-flash |
| `flash` | `models/flash.md` | gemini-2.5-flash | gpt-4.1-mini |
| `sonnet` | `models/sonnet.md` | claude-sonnet-4 | gpt-4.1 |
| `pro` | `models/pro.md` | gemini-2.5-pro | claude-sonnet-4 |
Expand Down
2 changes: 1 addition & 1 deletion .agents/tools/api/vercel-ai-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const openaiResult = streamText({
});

const claudeResult = streamText({
model: anthropic("claude-3-5-sonnet-20241022"),
model: anthropic("claude-sonnet-4-6"),
messages,
});
```
Expand Down
2 changes: 1 addition & 1 deletion .agents/tools/browser/stagehand.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const stagehand = new Stagehand({
"--disable-features=VizDisplayCompositor"
]
},
modelName: "gpt-4o", // or "claude-3-5-sonnet-20241022"
modelName: "gpt-4o", // or "claude-sonnet-4-6"
modelClientOptions: {
apiKey: process.env.OPENAI_API_KEY
}
Expand Down
2 changes: 1 addition & 1 deletion .agents/tools/code-review/skill-scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ echo 'export VIRUSTOTAL_API_KEY="your_key"' >> ~/.config/aidevops/credentials.sh
```bash
# LLM analyzer (optional)
export SKILL_SCANNER_LLM_API_KEY="your_api_key"
export SKILL_SCANNER_LLM_MODEL="claude-3-5-sonnet-20241022"
export SKILL_SCANNER_LLM_MODEL="claude-sonnet-4-6"

# VirusTotal (optional - prefer gopass: aidevops secret set VIRUSTOTAL_MARCUSQUINN)
export VIRUSTOTAL_API_KEY="your_key"
Expand Down
2 changes: 1 addition & 1 deletion .agents/tools/context/dspy.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ result = compiled_qa(question="Explain neural networks")
"anthropic": {
"api_key": "YOUR_ANTHROPIC_API_KEY",
"models": {
"claude-3-sonnet": "claude-3-sonnet-20240229"
"claude-sonnet": "claude-sonnet-4-6"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions .agents/tools/context/model-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ model: haiku

| Tier | Model | Cost | Best For |
|------|-------|------|----------|
| `haiku` | claude-3-5-haiku | Lowest | Triage, classification, simple transforms, formatting |
| `haiku` | claude-haiku-4-5 | Lowest | Triage, classification, simple transforms, formatting |
| `flash` | gemini-2.5-flash | Low | Large context reads, summarization, bulk processing |
| `sonnet` | claude-sonnet-4 | Medium | Code implementation, review, most development tasks |
| `pro` | gemini-2.5-pro | Medium-High | Large codebase analysis, complex reasoning with big context |
Expand Down Expand Up @@ -108,7 +108,7 @@ Concrete model subagents are defined in `tools/ai-assistants/models/`:

| Tier | Subagent | Primary Model | Fallback |
|------|----------|---------------|----------|
| `haiku` | `models/haiku.md` | claude-3-5-haiku | gemini-2.5-flash |
| `haiku` | `models/haiku.md` | claude-haiku-4-5 | gemini-2.5-flash |
| `flash` | `models/flash.md` | gemini-2.5-flash | gpt-4.1-mini |
| `sonnet` | `models/sonnet.md` | claude-sonnet-4 | gpt-4.1 |
| `pro` | `models/pro.md` | gemini-2.5-pro | claude-sonnet-4 |
Expand Down Expand Up @@ -148,7 +148,7 @@ Each tier defines a primary model and a fallback from a different provider. When

| Tier | Primary | Fallback | When to Fallback |
|------|---------|----------|------------------|
| `haiku` | claude-3-5-haiku | gemini-2.5-flash | No Anthropic key |
| `haiku` | claude-haiku-4-5 | gemini-2.5-flash | No Anthropic key |
| `flash` | gemini-2.5-flash | gpt-4.1-mini | No Google key |
| `sonnet` | claude-sonnet-4 | gpt-4.1 | No Anthropic key |
| `pro` | gemini-2.5-pro | claude-sonnet-4 | No Google key |
Expand Down
Loading