PHPackages                             potato/ai-bridge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. potato/ai-bridge

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

potato/ai-bridge
================

Multi-LLM AI Connector

00PHP

Since Aug 13Pushed 9mo agoCompare

[ Source](https://github.com/GitHamo/AI-Bridge)[ Packagist](https://packagist.org/packages/potato/ai-bridge)[ RSS](/packages/potato-ai-bridge/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

AI Bridge
=========

[](#ai-bridge)

A simple PHP package to interact with various AI engines, providing a unified interface for sending prompts and receiving responses.

Installation
------------

[](#installation)

Install the package via [Composer](https://getcomposer.org/):

```
composer require potato/ai-bridge
```

Usage
-----

[](#usage)

The main entry point of the package is the `Potato\AiBridge\Agent` class. You can create an agent for a specific AI engine and use it to send prompts.

Here is a basic example of how to use the package:

```
