v2.40.2

spider-rs/spiderv2.40.2Jan 23, 2026by j-mendez

AI Summary

Introduces a Remote Multimodal Engine for Chrome automation, allowing vision and LLM-driven iterative web crawling and action execution.

Key Highlights

  • Remote Multimodal Engine for Chrome automation using vision + LLM
  • Iterative automation loop: capture → infer plan → execute → re-capture
  • Unified `RemoteMultimodalConfigs` for configuring API endpoints and models
  • Strict JSON automation plans for structured execution

New Features

  • Remote multimodal automation
  • Iterative automation loop
  • Unified configuration system
  • Strict JSON plan support

Full Release Notes

## Whats Changed

Solve web challenges, perform actions, and more with remote multimodal iterative automation.

- **Remote Multimodal Engine** for Chrome automation using vision + LLM
- Iterative automation loop:
  capture → infer plan → execute → re-capture → repeat
- Unified `RemoteMultimodalConfigs` to configure:
  - API endpoint
  - Model selection
  - Prompts
  - Retry behavior
  - Capture strategies
- Strict JSON automation plans:
  `{ "label": "...", "done": true|false, "steps": [...] }`

```rust
website.with_remote_multimodal(Some(
    RemoteMultimodalConfigs::new("http://localhost:11434/v1/chat/completions", "GLM-4.7-Flash")
        .with_api_key(Some(API_KEY))
));
```

**Full Changelog**: https://github.com/spider-rs/spider/compare/v2.39.14...v2.40.2