Transform any API into an AI-ready tool. API2AI is an open-source project that enables seamless integration of existing APIs into AI workflows, making them accessible through natural language interfaces.
- API Ingestion: Automatically analyze and parse API specifications
- Tool Registry: Centralized registry for managing API-based tools
- NLP Engine: Natural language processing for API command interpretation
- AI Agent Bridge: Seamless integration with AI agents and platforms
# Clone the repository
git clone https://github.com/yourusername/api2ai.git
cd api2ai
# Set up a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
from api2ai import APITransformer
# Initialize the transformer
transformer = APITransformer()
# Register an API
transformer.register_api("https://api.example.com/openapi.json")
# Use the API through natural language
result = transformer.execute("Get the weather for San Francisco")
We welcome contributions! Please see our Contributing Guide for details.
For security concerns, please review our Security Policy.
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to all contributors who help make this project better!