Buckets:

download
raw
982 Bytes
"""
Searxng Tools
=============================
Demonstrates searxng tools.
"""
from agno.agent import Agent
from agno.tools.searxng import SearxngTools
# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
# Initialize Searxng with your Searxng instance URL
searxng = SearxngTools(
host="http://localhost:53153",
engines=[],
fixed_max_results=5,
news=True,
science=True,
)
# Create an agent with Searxng
agent = Agent(tools=[searxng])
# Example: Ask the agent to search using Searxng
# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
agent.print_response("""
Please search for information about artificial intelligence
and summarize the key points from the top results
""")

Xet Storage Details

Size:
982 Bytes
·
Xet hash:
c8af4a52b10ff8f441eb78446809fa9e114fe07777ea0817aa14392bc049f2c9

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