Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 14 min read Research hardMaster

Smol2Operator: Post-Training GUI Agents for Computer Use

A two-phase supervised fine-tuning recipe turns SmolVLM2-2.2B-Instruct, which starts with no GUI grounding (about 0% on ScreenSpot-v2), into an agentic GUI model that emits code-form actions. The AGUVIS datasets are first normalized into a single unified action space, using a function parser and converter that standardize function names and parameters and express coordinates on a 0-1 scale. Phase 1 trains grounding: ablations favored 1152px images and normalized coordinates over pixel coordinates (33.7% vs 4.3% at 400k samples), and two epochs reached 41% on ScreenSpot-v2. Phase 2 adds reasoning and multi-step planning using think/code formatted data, and all datasets, tools and training recipes are released as open source.

Related posts

  • ScreenSuite - The most comprehensive evaluation suite for GUI Agents!

    Hugging Face easyNovice

    ScreenSuite unifies 13 benchmarks for evaluating vision language models as GUI agents across perception, grounding, single-step actions and multi-step agentic tasks on mobile, desktop and web. The evaluation is deliberately vision-only, with no accessibility trees or DOM, so scores on benchmarks like Mind2Web are lower than published figures but closer to how humans use interfaces. Multi-step tasks run through smolagents in E2B remote sandboxes or new Dockerized Ubuntu and Android VMs. Models evaluated include the Qwen2.5-VL series, UI-TARS-1.5-7B, Holo1-7B and GPT-4o, and a custom run takes a few commands from the repo.

  • We now support VLMs in smolagents!

    Hugging Face mediumAdept

    smolagents now supports vision language models, letting agents take images either once at start via `agent.run(..., images=[...])` (stored on the TaskStep) or dynamically per step through step callbacks that attach screenshots to `ActionStep.observations_images`. The mechanism builds on the ReAct-style MultiStepAgent loop, where callbacks run after each action. A full walkthrough builds a vision web-browsing CodeAgent with helium/selenium, custom tools for going back, closing pop-ups and Ctrl+F search, and a screenshot callback that prunes older images to keep context lean. Using TransformersModel with a VLM requires `flatten_messages_as_text=False`, and hard browsing tasks succeed more reliably with strong VLMs like Qwen2-VL-72B or GPT-4o.

  • SmolVLA: Efficient Vision-Language-Action Model trained on Lerobot Community Data

    Hugging Face hardMaster

    SmolVLA is a 450M-parameter open-source vision-language-action model for robotics, pretrained on about 10M frames from 487 curated LeRobot community datasets and able to run on consumer hardware. It pairs a SmolVLM2 backbone with a ~100M flow-matching action expert. Efficiency comes from limiting each frame to 64 visual tokens via PixelShuffle, using features from only the first half of the VLM's layers, and interleaving cross- and self-attention in the action expert. An asynchronous inference stack overlaps action execution with remote chunk prediction, giving about 30% faster response and 2× task throughput, and the model outperforms larger VLAs and ACT on LIBERO, Meta-World and real SO100/SO101 tasks.

  • The model that didn't exist, so you made it yourself

    Hugging Face mediumAdept

    Six custom models were built by prompting ML Intern, an agent mode in HuggingChat, to plan, budget, train, evaluate and publish on Hugging Face hardware, for about USD 103 in total compute. The projects were a citrus-disease VLM fine-tuned from Qwen3.5-2B (14.9% to 52.8% accuracy for USD 1.90), a Huggy character LoRA on FLUX.2 klein, camera-angle and doodle-in editing LoRAs for Qwen-Image 2.1 with synthetic datasets, a 0.8B prompt rewriter distilled from a 9B teacher, and a 4-step distillation of Agate Preview 002 exported to ONNX for the browser. The prompting advice is to list verified facts so the agent doesn't re-derive them, require a zero-shot baseline and a smoke test before full training, and set a hard spending cap.

  • Introducing smolagents: simple agents that write actions in code.

    Hugging Face mediumAdept

    smolagents is a minimal Python library from Hugging Face for building LLM agents, with first-class support for code agents that write their actions as Python code instead of JSON tool calls. Agency is framed as a spectrum from simple output processing to multi-step and multi-agent loops, and the post advises using deterministic workflows unless tasks genuinely need flexibility. Code actions are argued to beat JSON for composability, object handling, generality and training-data coverage. The library supports sandboxed execution via E2B, custom tools defined with a @tool decorator and shareable on the Hub, any LLM via transformers, the HF inference API or LiteLLM, and a benchmark shows open models competitive with closed ones on agentic tasks.

The quest for software engineering knowledge.

Look:
Layout: