Skip to content
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ The shared [`env_config.py`](skills/lib/env_config.py) **auto-detects your GPU**
| **Intel** (CPU, iGPU, NPU) | OpenVINO IR `.xml` | OpenVINO | **2-3x** |
| **AMD GPU** (RX, MI) | ONNX Runtime | ROCm | **1.5-2x** |
| **Any CPU** | ONNX Runtime | CPU | **~1.5x** |
| **[Google Coral USB Accelerator](skills/detection/yolo-detection-2026-coral-tpu/)** | Edge TPU `.tflite` | ai-edge-litert + libedgetpu | **~4ms flat** |

### Aegis Skill Integration

Expand Down
44 changes: 44 additions & 0 deletions skills/analysis/cloud-provider-regression/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Cloud Provider Regression Test
description: Connectivity, chat, JSON & streaming regression tests for all enabled cloud LLM providers
version: 1.0.0
category: analysis
runtime: node
entry: scripts/run-regression.cjs
install: npm
requirements:
node: ">=18"
npm_install: false
platforms: ["linux", "macos", "windows"]
---

# Cloud Provider Regression Test

Tests every enabled cloud provider for connectivity, chat completion, JSON output, and SSE streaming.
Reads keys from `~/.aegis-ai/llm-config.json`.

## Standalone

```bash
node scripts/run-regression.cjs # all providers
node scripts/run-regression.cjs --provider glm,xai # specific
node scripts/run-regression.cjs --verbose # full responses
```

## Protocol

```jsonl
{"event":"ready","providers":8}
{"event":"test_result","suite":"GLM","test":"chat","status":"pass","timeMs":1930}
{"event":"complete","passed":14,"failed":1,"total":15,"timeMs":38000}
```

## Tests Per Provider

| Test | Verifies |
|------|----------|
| Chat | Connectivity, auth, URL construction, param compat |
| JSON | Structured output (JSON instruction following) |
| Stream | SSE streaming, chunks received |

Results saved to `~/.aegis-ai/regression-tests/`.
24 changes: 24 additions & 0 deletions skills/analysis/cloud-provider-regression/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
params:
- key: providers
label: Provider Filter
type: string
default: "all"
description: "Comma-separated provider IDs to test, or 'all'"

- key: skipJson
label: Skip JSON test
type: boolean
default: false
description: Skip the JSON output test

- key: skipStream
label: Skip streaming test
type: boolean
default: false
description: Skip the SSE streaming test

- key: timeout
label: Request Timeout (ms)
type: number
default: 30000
description: Per-request timeout in milliseconds
Loading