Enhanced Toolkits for AI Agents¶
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 →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()
]
)
🏗️ 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¶
- Getting Started - Installation and setup for AI agents
- Core Toolkits - Setup guides for all 8 core tools
- Calculator Modules - Setup guides for all 9 calculator tools
- API Reference - Complete function schemas and parameters
- Developer Guide - Contributing and deployment
🎯 Next Steps¶
- Install Enhanced Toolkits
- Choose your tools from the 8 core toolkits
- Add calculators from the 9 available modules
- Register with your agent using OpenAI or Agno
- Configure for production with caching and rate limiting
Built for AI agent developers who need reliable, production-ready tools. 🤖