---
title: "LangChain ecosystem · Scrape.ly Docs"
description: "Use Actors from LangChain, LangGraph, and LlamaIndex."
url: https://scrape.ly/docs/langchain-ecosystem
markdown: https://scrape.ly/docs/langchain-ecosystem.md
---

# LangChain ecosystem

> Use Actors from LangChain, LangGraph, and LlamaIndex.

Scrape.ly works with [LangChain](https://www.langchain.com) and [LangGraph](https://www.langchain.com/langgraph) through one Python package, `langchain-scrapely`, and with [LlamaIndex](https://www.llamaindex.ai) through `llama-index-readers-scrapely`.

```bash
pip install langchain-scrapely
```

- [LangChain](https://scrape.ly/docs/langchain.md): run Actors and load their results as documents for a vector index or RAG, and give agents tools that run Actors and read their results.
- [LangGraph](https://scrape.ly/docs/langgraph.md): use the same tools in LangGraph agents and multi-step workflows.
- [LlamaIndex](https://scrape.ly/docs/llama-index.md): run an Actor or read a dataset and get LlamaIndex documents back.

All of them need a Scrape.ly API key. Create one in the [dashboard](https://my.scrape.ly) under **Settings → API keys** and set it as the `SCRAPELY_TOKEN` environment variable. A scoped key needs `actors:run`, `runs:read`, and `datasets:read`. See [API keys & permissions](https://scrape.ly/docs/api-keys.md).

---

- Previous: [Pay with x402](https://scrape.ly/docs/x402.md)
- Next: [LangChain](https://scrape.ly/docs/langchain.md)
- All docs: [Docs index](https://scrape.ly/docs.md), [llms.txt](https://scrape.ly/llms.txt)
