PHPackages                             symfony/ai-chat - 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. symfony/ai-chat

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

symfony/ai-chat
===============

PHP library for building chats with agents.

v0.10.0(2w ago)8218.6k↓59.5%217MITPHPPHP &gt;=8.2

Since Dec 23Pushed 1w agoCompare

[ Source](https://github.com/symfony/ai-chat)[ Packagist](https://packagist.org/packages/symfony/ai-chat)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-ai-chat/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (8)Dependencies (44)Versions (11)Used By (17)

Symfony AI - Chat Component
===========================

[](#symfony-ai---chat-component)

The Chat component provides a bridge for building chats with agents, sits on top of the Agent component, allowing you to create chats and submit messages to agents.

**This Component is experimental**. [Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)are not covered by Symfony's [Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).

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

[](#installation)

```
composer require symfony/ai-chat
```

Message Store Bridges
---------------------

[](#message-store-bridges)

To use a specific message store, install the corresponding bridge package:

Message StorePackageCache`symfony/ai-cache-message-store`Cloudflare`symfony/ai-cloudflare-message-store`Doctrine`symfony/ai-doctrine-message-store`Meilisearch`symfony/ai-meilisearch-message-store`MongoDB`symfony/ai-mongo-db-message-store`Pogocache`symfony/ai-pogocache-message-store`Redis`symfony/ai-redis-message-store`Session`symfony/ai-session-message-store`SurrealDB`symfony/ai-surreal-db-message-store`**This repository is a READ-ONLY sub-tree split**. See  to create issues or submit pull requests.

Resources
---------

[](#resources)

- [Documentation](https://symfony.com/doc/current/ai/components/chat.html)
- [Report issues](https://github.com/symfony/ai/issues) and [send Pull Requests](https://github.com/symfony/ai/pulls)in the [main Symfony AI repository](https://github.com/symfony/ai)

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance97

Actively maintained with recent releases

Popularity42

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~25 days

Total

10

Last Release

17d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![chr-hertel](https://avatars.githubusercontent.com/u/2852185?v=4)](https://github.com/chr-hertel "chr-hertel (22 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (22 commits)")[![Guikingone](https://avatars.githubusercontent.com/u/13744329?v=4)](https://github.com/Guikingone "Guikingone (15 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (2 commits)")[![Muneer-Shafi](https://avatars.githubusercontent.com/u/76260277?v=4)](https://github.com/Muneer-Shafi "Muneer-Shafi (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![santysisi](https://avatars.githubusercontent.com/u/107224084?v=4)](https://github.com/santysisi "santysisi (1 commits)")[![valtzu](https://avatars.githubusercontent.com/u/652734?v=4)](https://github.com/valtzu "valtzu (1 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (1 commits)")[![Amoifr](https://avatars.githubusercontent.com/u/31698966?v=4)](https://github.com/Amoifr "Amoifr (1 commits)")[![Wiltzsu](https://avatars.githubusercontent.com/u/105991606?v=4)](https://github.com/Wiltzsu "Wiltzsu (1 commits)")[![camilleislasse](https://avatars.githubusercontent.com/u/34024380?v=4)](https://github.com/camilleislasse "camilleislasse (1 commits)")[![Guite](https://avatars.githubusercontent.com/u/277531?v=4)](https://github.com/Guite "Guite (1 commits)")[![janssensglenn](https://avatars.githubusercontent.com/u/32476955?v=4)](https://github.com/janssensglenn "janssensglenn (1 commits)")

---

Tags

agentaichatllmsymfonysymfony-aiaiAgentchatllm

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/symfony-ai-chat/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-ai-chat/health.svg)](https://phpackages.com/packages/symfony-ai-chat)
```

###  Alternatives

[symfony/ai-agent

PHP library for building agentic applications.

32870.1k107](/packages/symfony-ai-agent)[symfony/ai-bundle

Integration bundle for Symfony AI components

32642.2k24](/packages/symfony-ai-bundle)[symfony/ai-store

Low-level abstraction for storing and retrieving documents in a vector store.

21400.9k113](/packages/symfony-ai-store)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
