Skip to content

Enhanced Toolkits for AI Agents

License: MIT Python 3.8+ Agno Framework

Production-ready AI agent tools with OpenAI function calling compatibility.

Enhanced Toolkits provides 8 core toolkits and 9 calculator modules designed specifically for AI agents that need reliable, robust capabilities with enterprise-grade error handling and validation.

🤖 For AI Agent Developers

These tools are designed to be registered with AI agents using the OpenAI function calling API or the Agno framework. Each tool provides:

  • OpenAI Compatible function schemas
  • Strict parameter validation for reliable agent execution
  • Comprehensive error handling with detailed responses
  • Production-ready caching and rate limiting
  • Enterprise security controls and validation

🚀 Quick Start for AI Agents

from agno.agent import Agent
from enhancedtoolkits import (
    ReasoningTools,
    SearxngTools,
    ThinkingTools,
    FilesTools,
    YFinanceTools,
    YouTubeTools,
    WeatherTools,
    DownloaderTools
)

# Create agent with tools (Agno automatically handles registration)
agent = Agent(
    name="AI Assistant",
    model="gpt-4",
    tools=[
        ReasoningTools(),
        SearxngTools(host="http://searxng:8080"),
        ThinkingTools(),
        FilesTools(),
        YFinanceTools(),
        YouTubeTools(),
        WeatherTools(),
        DownloaderTools()
    ]
)

🛠️ Available Tools

Core Toolkits (8 Tools)

🧠 Reasoning Tools

Multi-modal reasoning with cognitive bias detection for complex decision making.

Setup Guide →

🔍 Search Tools

Web search with content extraction using SearxNG integration.

Setup Guide →

💭 Thinking Tools

Structured cognitive frameworks for systematic problem analysis.

Setup Guide →

📁 Files Tools

Enterprise-grade file operations with comprehensive security controls.

Setup Guide →

📈 Finance Tools

Real-time financial data and market information via Yahoo Finance.

Setup Guide →

🎥 YouTube Tools

Video metadata and transcript extraction with multi-language support.

Setup Guide →

☁️ Weather Tools

Weather data and forecasts with support for 30+ languages.

Setup Guide →

📥 Downloader Tools

Universal file downloading with anti-bot bypass capabilities.

Setup Guide →

Calculator Modules (9 Calculators)

from agno.agent import Agent
from enhancedtoolkits.calculators import (
    ArithmeticCalculatorTools,
    TimeValueCalculatorTools,
    InvestmentAnalysisCalculatorTools,
    LoanCalculatorTools,
    BondCalculatorTools,
    RiskMetricsCalculatorTools,
    DepreciationCalculatorTools,
    BusinessAnalysisCalculatorTools,
    UtilityCalculatorTools
)

# Create agent with calculator tools
agent = Agent(
    name="Financial Analyst",
    model="gpt-4",
    tools=[
        ArithmeticCalculatorTools(),
        TimeValueCalculatorTools(),
        InvestmentAnalysisCalculatorTools(),
        LoanCalculatorTools(),
        BondCalculatorTools(),
        RiskMetricsCalculatorTools(),
        DepreciationCalculatorTools(),
        BusinessAnalysisCalculatorTools(),
        UtilityCalculatorTools()
    ]
)

View all calculator modules →

🏗️ AI Agent Integration

OpenAI Function Calling

import openai
from enhancedtoolkits import ReasoningTools, YFinanceTools

# Initialize tools
reasoning = ReasoningTools()
finance = YFinanceTools()

# Get OpenAI-compatible function schemas
tools = [
    reasoning.get_openai_schema(),
    finance.get_openai_schema()
]

# Use with OpenAI
response = openai.ChatCompletion.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Analyze AAPL stock"}],
    tools=tools,
    tool_choice="auto"
)

Agno Framework Integration

from agno.agent import Agent
from enhancedtoolkits import *

# Create agent with tools (Agno handles everything automatically)
agent = Agent(
    name="Financial Analyst",
    model="gpt-4",
    tools=[
        ReasoningTools(),
        YFinanceTools(),
        ArithmeticCalculatorTools(),
        InvestmentAnalysisCalculatorTools()
    ]
)

# Agent automatically has access to all tool functions
response = agent.run("Analyze the investment potential of AAPL")

🛡️ Why StrictToolkit?

All tools inherit from StrictToolkit, which ensures:

  • All parameters are required in function schemas (no optional parameters that confuse agents)
  • Consistent error handling across all tools
  • OpenAI compatibility out of the box
  • Reliable agent execution with predictable behavior

📦 Installation

# Install with core dependencies
pip install git+https://github.com/malvavisc0/enhancedtoolkits.git

# Install with all optional dependencies (recommended)
pip install "enhancedtoolkits[full] @ git+https://github.com/malvavisc0/enhancedtoolkits.git"

🔧 Configuration

Most tools support configuration for production use:

# Example: Configure tools for production
reasoning = ReasoningTools(
    reasoning_depth=5,
    enable_bias_detection=True
)

finance = YFinanceTools(
    enable_caching=True,
    cache_ttl=300,
    rate_limit_delay=0.1
)

search = SearxngTools(
    host="http://your-searxng:8080",
    max_results=10,
    enable_content_fetching=True
)

📚 Documentation Sections

🎯 Next Steps

  1. Install Enhanced Toolkits
  2. Choose your tools from the 8 core toolkits
  3. Add calculators from the 9 available modules
  4. Register with your agent using OpenAI or Agno
  5. Configure for production with caching and rate limiting

Built for AI agent developers who need reliable, production-ready tools. 🤖