Skip to content

docs(agno): align integration guide with scrapegraph-py 2.0.0#42

Open
VinciGit00 wants to merge 4 commits intomainfrom
docs/agno-scrapegraph-v2
Open

docs(agno): align integration guide with scrapegraph-py 2.0.0#42
VinciGit00 wants to merge 4 commits intomainfrom
docs/agno-scrapegraph-v2

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

Summary

Updates the Agno integration page to match the toolkit shipped in agno-agi/agno PR #7584 (requires scrapegraph-py>=2.0.0). The previous docs still referenced the pre-v2 constructor signature (smartscraper=True, markdownify=True, …), which no longer compiles against the current ScrapeGraphTools.

What changed

  • Constructor flags renamed to match the actual API: enable_smartscraper, enable_markdownify, enable_crawl, enable_searchscraper, enable_scrape.
  • Install instruction now pins scrapegraph-py>=2.0.0 and adds an SGAI_API_KEY export snippet.
  • New scrape example β€” raw HTML fetch, which the v2 toolkit exposes.
  • Configuration table rewritten: every parameter the constructor actually accepts, including api_key, render_heavy_js, and all.
  • Combining tools / heavy-JS snippets updated to use enable_* names and render_heavy_js=True.
  • Agentic crawler references removed (the endpoint was removed in the v2 SDK).

Why

Running the current Quick Start from the docs today raises TypeError: ScrapeGraphTools.__init__() got an unexpected keyword argument 'smartscraper'. This PR brings the guide back in sync with what pip install agno "scrapegraph-py>=2.0.0" actually gives you.

Type of change

  • Documentation update

Checklist

  • Examples match the public method signatures in agno.tools.scrapegraph.ScrapeGraphTools
  • Install command and env var reflect the v2 SDK requirement
  • Self-review completed
  • No other PR addresses this (PR #7584 on agno updates the toolkit; this PR updates our docs)

πŸ€– Generated with Claude Code

VinciGit00 and others added 4 commits April 19, 2026 10:28
Update the Agno integration page to match the toolkit shipped in
agno-agi/agno PR #7584 (scrapegraph-py>=2.0.0): rename the constructor
flags to the actual enable_* names, document the new scrape tool and
render_heavy_js/all flags, drop the removed agentic_crawler references,
and add a raw HTML example.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(llamaindex): rewrite from scratch for scrapegraph-py 2.0.0

Branch off docs/agno-scrapegraph-v2 and rebuild the LlamaIndex guide
around the v2 SDK: ScrapeGraphAI / AsyncScrapeGraphAI clients, typed
Pydantic request models, and ApiResult[T] responses. Covers every v2
endpoint as a FunctionTool β€” scrape, extract, search, crawl (async
start/get/stop/resume), and monitor (cron-scheduled jobs) β€” plus a
combined agent example and async client usage. Matches the agno
integration's section order and tone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(nav): add LlamaIndex under Frameworks after Agno

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(transition): warn about one-way v1β†’v2 login and correct SmartCrawler/health mappings

Add a Warning callout clarifying that logging into the new v2 service
disables v1 credentials immediately, and note that the legacy dashboard
stays temporarily available. Fix the migration table so the crawler row
shows its v1 name (smartcrawler / smartCrawler) and the health row
reflects that the endpoint was renamed (health / healthy), not removed.
Drop the obsolete Monitors row and add v1 code examples alongside v2 in
the SmartCrawler section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(transition): move agenticscraper row to end of migration table

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant