PHPackages                             arnaud-delgerie/symfony-ai-tool-agent - 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. arnaud-delgerie/symfony-ai-tool-agent

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

arnaud-delgerie/symfony-ai-tool-agent
=====================================

v0.0.1(1y ago)24MITPHPPHP &gt;=8.2

Since Mar 20Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ArnaudDelgerie/SymfonyAiToolAgentBundle)[ Packagist](https://packagist.org/packages/arnaud-delgerie/symfony-ai-tool-agent)[ RSS](/packages/arnaud-delgerie-symfony-ai-tool-agent/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (3)Used By (0)

SymfonyAiToolAgentBundle Introduction
=====================================

[](#symfonyaitoolagentbundle-introduction)

Disclaimer
----------

[](#disclaimer)

- This bundle is currently in **alpha version**. If you plan to use it in production, please consult the `CHANGELOG.md` file before each update.
- This project is developed for recreational purposes and may contain bugs or instabilities.
- The bundle relies on third-party APIs (**Mistral, OpenAI, Anthropic**). It is strongly recommended to review their **Terms of Service** and **Data Protection Policies** before use.
- If you are unfamiliar with the concept of `tool function`, please familiarize yourself with it before using this bundle.

Overview
--------

[](#overview)

This bundle enables the creation of AI agents based on the use of `tool function`. Two types of agents are available:

- **ToolAgent**: Automates text and image content processing (e.g. semantic analysis, moderation, etc.).
- **ConsoleToolAgent**: Interactive agents that allow users to perform tasks via the Symfony console using custom commands.

Requirements
------------

[](#requirements)

Since this bundle integrates third-party APIs, you need to create an account with at least one of the following providers:

- **[OpenAI](https://platform.openai.com/docs/overview)**
- **[Mistral](https://docs.mistral.ai/api/)** *(free plan available)*
- **[Anthropic](https://www.anthropic.com/api)**

**[SEE FULL DOC](https://github.com/ArnaudDelgerie/SymfonyAiToolAgentDoc)**

Quickstart
----------

[](#quickstart)

### Purpose :

[](#purpose-)

Our goal is to assign a distinct and relevant topic to the user's content.

### 1st solution :

[](#1st-solution-)

**Step 1 :** create empty `TopicClassificationToolFunctionManager`

```
