Sandboxed Coding Agents are Competitive Omni-modal Task Solvers
This paper demonstrates that text-only coding agents equipped with sandboxed tools can effectively solve complex audio-video tasks by converting multimodal problems into information-processing workflows, often outperforming native omnimodal models, while also introducing the Code-X training recipe and TerminalBench-O benchmark to advance open-source many-modality processing.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Idea: The "Smart Intern" vs. The "Super-Genius"
Imagine you have a massive, complex puzzle made of video clips, audio recordings, and documents. You need to solve it.
For a long time, the tech world assumed you needed a "Super-Genius" (a native omnimodal AI) to solve this. This Super-Genius is a model that has "eaten" the entire video and audio file whole, trying to understand every single frame and sound wave all at once inside its brain.
This paper argues that you don't actually need a Super-Genius for this. Instead, you can use a "Smart Intern" (a coding agent).
The Smart Intern doesn't try to swallow the whole video. Instead, it has a toolbox. It looks at the file, picks up a specific tool (like a video editor or a speech-to-text machine), extracts just the tiny piece of information it needs (like a transcript or a specific frame), and then solves the puzzle using that small piece of evidence.
The paper's main claim: The Smart Intern, using tools, is actually faster, cheaper, and often better at solving these puzzles than the Super-Genius who tries to memorize everything at once.
How the "Smart Intern" Works
Think of the Smart Intern as a detective in a library.
- The Old Way (Native Models): The Super-Genius walks into the library and tries to read every single book, listen to every audio tape, and watch every movie on the shelves simultaneously. It gets overwhelmed, uses a lot of energy (tokens), and sometimes misses details because it's trying to process too much at once.
- The New Way (Sandboxed Agents): The Smart Intern walks into the library but only takes the specific books or tapes it needs.
- If it needs to know what someone said, it uses a Speech-to-Text tool to turn the audio into a written transcript.
- If it needs to know what's in a video, it uses a Frame-Extraction tool to pull out a few key pictures.
- It then reads that transcript or looks at those pictures to answer the question.
The Result: The Smart Intern uses way less energy (fewer "tokens") because it isn't carrying the whole library in its head. It only carries the specific evidence it needs.
The Evidence: Who Wins the Race?
The researchers tested this on four different "puzzle competitions" (benchmarks) involving videos and audio.
- The Results: The Smart Interns (using models like GPT-5.4 and Claude Opus) beat the best Super-Genius models (like Gemini 3.1 Pro) in several categories.
- The Analogy: It's like a race between a person trying to memorize a whole encyclopedia to answer a trivia question versus a person who knows exactly which page to look up in a library index. The person with the index wins because they are efficient and precise.
Why Do They Win? (The "Tool" Advantage)
The paper found that the Smart Interns win because they treat the video/audio as raw materials to be processed, not as memories to be stored.
- Selective Retrieval: Instead of watching a 90-minute soccer game to find one goal, the Intern uses a tool to scan the video for "goal" events and only looks at those 30 seconds.
- Error Correction: If a tool fails (e.g., the speech-to-text machine gets confused by noise), the Intern can try a different tool or write a small script to fix it. A Super-Genius often just gets stuck on the noise.
What Goes Wrong? (The Failure Taxonomy)
Even the Smart Interns make mistakes. The researchers created a "failure menu" to explain why:
- Bad Hearing: The speech-to-text tool misheard the audio.
- Bad Eyes: The tool picked the wrong video frame.
- Giving Up Too Soon: The agent stopped looking for clues before finding the answer.
- Wrong Facts: It found the right video but looked up the wrong information in a database.
- Bad Math: It had the right facts but did the calculation wrong.
- Broken Tools: The computer didn't have the right software installed to run the tool.
Can We Teach the Intern to Be Better? (Skill Injection)
The researchers asked: "Can we make the Intern even smarter without rebuilding its brain?"
They tried three methods:
- Human Coaching: Giving the Intern a manual written by experts.
- Self-Practice: Letting the Intern try, fail, and adjust its own rules based on a simple "Right/Wrong" check.
- Learning from Logs: Having a second AI watch the Intern's work logs, find patterns in what worked and what didn't, and write a new "Best Practices" guide for the Intern.
The Winner: The Log-driven Self-Distillation (Learning from Logs) worked best. It was like having a coach review the Intern's game tape and say, "You always forget to check the timestamp before guessing the time." This improved the Intern's accuracy significantly.
The Future: From "Understanding" to "Doing"
The paper argues that we are moving from an era where AI just understands media (answering questions about a video) to an era where AI processes media (editing the video, cutting the audio, creating a new file).
They introduced a new test called TerminalBench-O to measure this.
- The Task: Instead of just asking "Who is in this video?", the AI must create a highlight reel, write a caption, and save the file.
- The Challenge: This is much harder. Even the best AI only passed about 24% of these tasks. It requires long planning and reliable tool use, which is the next frontier for these "Smart Interns."
Summary
You don't need a giant, expensive brain that memorizes every video and sound to solve complex problems. You need a smart, efficient agent that knows how to use tools to extract the specific evidence it needs. This approach is cheaper, faster, and often more accurate than trying to "understand" everything at once.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.