# Overview of AI Libraries in PHP

## Introduction

PHP now offering a variety of libraries for artificial intelligence and machine learning. These libraries enable developers to integrate AI-powered features such as natural language processing, predictive analytics, and autonomous agents into their applications.

<div align="left"><figure><img src="https://3534497751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHBhflVf91jxK4ccRhKqv%2Fuploads%2Fgit-blob-9d14f17bec9f3cfc8c86f4dbd84bde01a7750c7a%2Fai-overview-ai-libraries-in-php-min.png?alt=media" alt="" width="375"><figcaption><p>Overview of AI Libraries in PHP</p></figcaption></figure></div>

#### **1.** LLM Agents PHP SDK **(PHP LLM-based AI Agents Library)**

Official website: [https://github.com/llm-agents-php/agents](https://github.com/llm-agents-php/agents)

The **LLM Agents PHP SDK** is a robust PHP library designed to facilitate the creation and management of Language Model (LLM)-based agents. It offers a comprehensive framework that enables developers to build autonomous agents capable of performing complex tasks, making informed decisions, and interacting seamlessly with various tools and APIs.

* **Agent Creation:** Define and configure LLM-based agents with customizable behaviors.
* **Tool Integration:** Connect agents with various tools and APIs for extended functionality.
* **Memory Management:** Enable agents to retain and recall information for better context.
* **Prompt Handling:** Manage prompts efficiently to guide agent responses.
* **Extensible Architecture:** Easily add new agent types, tools, and capabilities.
* **Multi-Agent Support:** Allow multiple agents to collaborate on complex tasks.

{% hint style="info" %}
You may read more about how [Configure an Environment for PHP](../../machine-learning/ml-capabilities-in-php/configuring-an-environment-for-php).
{% endhint %}
