# How I Built Smart Scraper M2M: A Fast ~30ms Scraper API for AI Agents

> Source: <https://dev.to/hasna_dev2/how-i-built-smart-scraper-m2m-a-fast-30ms-scraper-api-for-ai-agents-1k9f>
> Published: 2026-08-23 18:28:28+00:00

Building AI Agents with frameworks like CrewAI or LangChain often hits a bottleneck: **heavy, slow web scraping** that bloats context windows and increases LLM token costs.

To solve this, I built **Smart Scraper M2M** — a lightweight, high-performance web scraper API designed specifically for machine-to-machine (M2M) communication.

`~30ms`

.You can test the API or check the full source code directly on GitHub:

🔗 **GitHub Repository:** [https://github.com/MRIGL/smart-scraper-m2m](https://github.com/MRIGL/smart-scraper-m2m)

I’m actively improving the API and would love to hear your thoughts, feature requests, or contributions! Feel free to star the repo or leave a comment below.
