Use Cases
Data Extraction
Scrape and parse web data with AVM
Objective: Use LLM-generated scraping scripts to fetch and parse HTML within AVM’s sandbox.
Data Extraction
Delegate web scraping logic to an LLM, execute safely on AVM nodes, and obtain structured CSV/JSON without local risk.
Scenario: Bulk Scraping
Extract account balances pages from a DeFi dashboard in parallel.
Solution: Two-Stage Extraction
- Fetch HTML
Retrieve page content locally. - Parse with LLM
Prompt the LLM to extract table data via BeautifulSoup. - Run in AVM
Execute parsing code with therunPython
tool. - Aggregate Results
Combine CSV outputs for all URLs.
Example (TypeScript)
Next Steps
- Parallelize jobs via MCP concurrency.
- Store results on IPFS.
- Add retry and throttling mechanisms.