Skip to content
Modal Blog·· 26 d agoAI score38

How Legora runs 2,000 parallel agent evals on Modal Sandboxes

How Legora runs 2,000 parallel agent evals on Modal Sandboxes

AI summary

Legora now runs each of its legal agent evals inside a separate Modal Sandbox, booting its full application pinned to a specific commit so every run reflects the exact product version. A typical experiment is 100 cases, 4 harness variants, and 5 trials each — 2,000 runs in parallel — with Modal Volumes snapshotting document, database, and permission state. Legora also moved from gVisor to Modal VM Sandboxes, removing its Docker networking and FUSE workarounds, and cut agent cost by 30% via smarter compaction and custom tool search.

Source:Modal Blog · modal.com