# Loop2Scenic: A Self-Refining Agentic Framework with Closed-Loop Visual Feedback for Multimodal Safety-Critical Driving Scenario Generation

> Source: <https://aiflash.com/news/162845/>
> Published: 2026-12-03 13:30:07+00:00

**Recommendation:** When generating simulation scenarios with an LLM, add closed-loop visual feedback so the agent inspects rendered results and refines its Scenic programs iteratively rather than accepting one-shot output.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

Scenario-based testing of automated driving systems must cover safety-critical corner cases, which are difficult to collect on real roads and laborious to script in simulation. Existing methods use language models to generate programs in Scenic, a human- and machine-readable domain-specific language
