gaia-enhanced-agent / check_agno_tools.py
GAIA Agent Deployment
Deploy Complete Enhanced GAIA Agent with Phase 1-6 Improvements
9a6a4dc
#!/usr/bin/env python3
"""Check available AGNO tools"""
import pkgutil
import agno
print("πŸ” Checking AGNO package structure...")
try:
# Check main agno modules
for importer, modname, ispkg in pkgutil.iter_modules(agno.__path__, agno.__name__ + '.'):
print(f"πŸ“¦ Module: {modname}")
# Try to import common tools
tools_to_check = [
'CalculatorTools',
'PythonTools',
'WikipediaTools',
'ArxivTools',
'FirecrawlTools',
'ExaTools',
'FileTools',
'ShellTools',
'YouTubeTools'
]
print("\nπŸ”§ Checking individual tools:")
for tool in tools_to_check:
try:
exec(f"from agno import {tool}")
print(f"βœ… {tool}: Available")
except ImportError as e:
print(f"❌ {tool}: Not available - {e}")
# Check if there's a tools submodule
try:
import agno.tools
print(f"\nπŸ“¦ agno.tools module found")
print(f"πŸ” agno.tools contents: {dir(agno.tools)}")
except ImportError:
print("\n❌ No agno.tools module found")
# Check for youtube specifically
try:
from agno.tools.youtube import YouTubeTools
print("βœ… YouTubeTools found in agno.tools.youtube")
except ImportError:
try:
from agno.youtube import YouTubeTools
print("βœ… YouTubeTools found in agno.youtube")
except ImportError:
print("❌ YouTubeTools not found in standard locations")
except Exception as e:
print(f"❌ Error checking AGNO: {e}")