The product
Torii packages a SUMO expert skill with local MCP tools, so Codex can reason about intent and run bounded checks on real SUMO artifacts.
Agent plugin for SUMO: one-sentence workflow routing plus local MCP tools for OSM-to-SUMO work.
Use Torii to clean the Ingolstadt city-center network from OSM and compare it with TUM-VT/sumo_ingolstadt.
Torii packages a SUMO expert skill with local MCP tools, so Codex can reason about intent and run bounded checks on real SUMO artifacts.
It makes the agent ask what result the user needs, observe network and metric feedback, and then choose the smallest defensible next action.
Researchers and builders who need OSM-to-SUMO import, TLS review, routeability checks, controller workflow guidance, and evidence-bounded SUMO repair.
Torii uses a closed loop: user intent, observed SUMO artifacts, feedback diagnosis, smallest model or code change, rerun, and evidence-bounded report.
Current tools cover bounded environment checks, config preflight, smoke runs, evidence bundles, OSM network construction, area confirmation, multi-source TLS review tables, passenger connectivity checks, routeability probes, and Netedit launch evidence.
Unconfirmed place-name-to-bbox geocoding, full city-scale intelligent cleanup, max-pressure controller generation, and controller-log inspection are roadmap tools, not finished promises.
The workflow router classifies the request first. The skill interprets feedback, and the MCP server runs bounded checks that return structured observations.
Use for OSM modeling, TLS audit, controller workflow planning, metric feedback diagnosis, and evidence-bounded SUMO claims.
Use for closed-loop diagnosis of route, TraCI, TLS, demand, detector, output, seed, completion, and reproducibility failures.
The skills combine official SUMO documentation, SUMO community troubleshooting patterns, public traffic-simulation code lessons, Socratic intake, confirmed experiment planning, TDD for SUMO/TraCI code changes, evidence-before-completion review gates, and privacy-safe field lesson capture.
Start from the user's situation, then load only the references needed for that path.
Start with one sentence. Torii should choose the workflow, ask only blocking questions, and report evidence before claims.
Use Torii to clean the Ingolstadt city-center network from OSM and compare it with TUM-VT/sumo_ingolstadt.
Audit this TraCI signal controller before I compare it with the fixed-time baseline.
This SUMO run finishes, but tripinfo and summary disagree. Use the debugging helper and tell me whether the run is valid.
Controller A has lower travel time, but some vehicles are unfinished. What can I claim and what must be demoted?
The skill missed a failure mode that I later fixed. Turn my solution path into a privacy-safe field lesson candidate.
This SUMO skill is split into focused Markdown modules so the agent can load the right evidence rules only when needed.
The repository includes a unified signal-control audit example and an Ingolstadt OSM-to-SUMO network comparison against a manually cleaned TUM reference.
Install the Codex plugin to get both the reasoning skill and local MCP tools.
codex plugin marketplace add Tarard/Torii-SUMO --ref main
codex plugin add torii-sumo@torii-sumo
This repository provides agent instructions, checklists, and audit procedures. It does not certify that a SUMO experiment is correct, publishable, or officially validated.
Eclipse SUMO is a trademark of the Eclipse Foundation. This project is independent and is not affiliated with, endorsed by, sponsored by, or maintained by the Eclipse Foundation, the Eclipse SUMO project, or DLR.