⚡ No dependencies, just native PHP. cURL required. 🤖 Multimodel support. Unified API for all models. 🔧 Tools support & agentic - autoresolve tools calls with callbacks. 🚀 Extendable - easy to add your own models and tools. 📦 No composer required! But composer compatible.
Tools are definitions of functions that can be called by the AI model. You can make your own tool definitions such as Tools/FunctionCall to be used in the thread.
You can add your own models by creating a new class that extends AIpi\ModelBase and implementing the Call method. Learn more here: Add Models