Skip to content
Core Script: scan_horizon.py

Core Script: scan_horizon.py

Core Script: scan_horizon.py

import os
import json
from datetime import datetime
from pathlib import Path

WORKSPACE_ROOT = str(Path(__file__).resolve().parents[2])
ADR_PATH = os.path.join(WORKSPACE_ROOT, ".ai", "adr", "002-local-orchestration.md")

# SOTA Models as of March 2026
SOTA_FINDINGS = [
    {"name": "Qwen 3.5 9B", "tier": "Reasoning", "strength": "81.7% GPQA Diamond, native thinking mode."},
    {"name": "Qwen 2.5-Coder 14B", "tier": "Tooling", "strength": "SOTA for autonomous programming."},
    {"name": "Llama 4 Scout", "tier": "Orchestration", "strength": "17B Active MoE, multimodal agentic workflows."}
]

def scan():
    print("🔭 Scanning Horizon for 2026 Agentic Standards...")
    
    findings = []
    
    # Simple check: Is Qwen 3.5 mentioned in our current ADR?
    if os.path.exists(ADR_PATH):
        with open(ADR_PATH, "r", encoding="utf-8") as f:
            current_adr = f.read()
        
        for sota in SOTA_FINDINGS:
            if sota["name"] not in current_adr:
                findings.append(f"- [ ] **New SOTA Found**: {sota['name']} for {sota['tier']} Tier. ({sota['strength']})")
    
    if not findings:
        return "No new model tiers identified. Workspace is currently at Tier 1 standards."
    
    return "\n".join(findings)

if __name__ == "__main__":
    result = scan()
    print(result)

Published from .ai active toolkit.