Buckets:

download
raw
1.11 kB
"""
This is an example of how to use the FirecrawlTools.
Prerequisites:
- Create a Firecrawl account and get an API key
- Set the API key as an environment variable:
export FIRECRAWL_API_KEY=<your-api-key>
"""
from agno.agent import Agent
from agno.tools.firecrawl import FirecrawlTools
# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
agent = Agent(
tools=[
FirecrawlTools(
enable_scrape=False, enable_crawl=True, enable_search=True, poll_interval=2
)
],
markdown=True,
)
# Should use search
# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
agent.print_response(
"Search for the web for the latest on 'web scraping technologies'",
formats=["markdown", "links"],
)
# Should use crawl
agent.print_response("Summarize this https://docs.agno.com/introduction/")

Xet Storage Details

Size:
1.11 kB
·
Xet hash:
e3db53b61a184b748294f2349ca9a2e9cf4a2d75e5d5392941f39398ad1fb464

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.