GAIA-Agent / tools /__init__.py
DenisRz's picture
Initial upload: GAIA Agent
67d287e
"""
Tools package for the GAIA Agent.
This package provides modular tools organized by category:
- web_tools: Web search and Wikipedia lookup
- file_tools: File reading and downloading
- media_tools: YouTube, audio, and video processing
- code_executors: Python, JavaScript, and Bash execution
- math_tools: Symbolic math, matrix operations, calculator, statistics
- image_tools: Image analysis, manipulation, annotation, and OCR
"""
from tools.web_tools import (
web_search,
wikipedia_lookup,
arxiv_search,
webpage_fetch,
)
from tools.file_tools import (
read_file,
download_file,
)
from tools.media_tools import (
youtube_transcript,
youtube_audio_transcribe,
audio_transcribe,
video_metadata,
video_frame_analyze,
)
from tools.code_executors import (
python_executor,
javascript_executor,
bash_executor,
)
from tools.math_tools import (
symbolic_math,
matrix_operations,
calculator,
statistical_analysis,
)
from tools.image_tools import (
image_analyze,
image_manipulate,
image_annotate,
image_ocr,
)
# Export all tools as a list for easy agent registration
ALL_TOOLS = [
# Web tools
web_search,
wikipedia_lookup,
arxiv_search,
webpage_fetch,
# File tools
read_file,
download_file,
# Media tools
youtube_transcript,
youtube_audio_transcribe,
audio_transcribe,
video_metadata,
video_frame_analyze,
# Code executors
python_executor,
javascript_executor,
bash_executor,
# Math tools
symbolic_math,
matrix_operations,
calculator,
statistical_analysis,
# Image tools
image_analyze,
image_manipulate,
image_annotate,
image_ocr,
]
# Configuration
MAX_ITERATIONS = 15
MODEL_NAME = "gpt-4o"