Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
firecrawl_agent.py
from phi.agent import Agent from phi.tools.firecrawl import FirecrawlTools agent = Agent(tools=[FirecrawlTools(scrape=False, crawl=True)], show_tool_calls=True, markdown=True) agent.print_response("Summarize this https://finance.yahoo.com/")
Create a virtual environment
Terminal
python3 -m venv ~/.venvs/aienv source ~/.venvs/aienv/bin/activate
Install libraries
pip install firecrawl-py
Set environment variables
export FIRECRAWL_API_KEY=****
Run the agent
python firecrawl_agent.py
Was this page helpful?