symfony/ai

Symfony AI is a set of components that integrate AI capabilities into PHP applications

1,195

stars

3,963

commits

PHP

primary language

Sep 8, 2026

updated

ai.symfony.com/
ai
php
symfony

README

Symfony AI Logo

Symfony AI is a set of components that integrate AI capabilities into PHP applications.

Components & Bundles

Symfony AI consists of several lower and higher level components and the respective integration bundles:

  • Components
    • Agent: Framework for building AI agents that can interact with users and perform tasks.
    • Chat: A unified interface to send messages to agents and store long-term context.
    • Mate: Command-line assistant that lets coding agents inspect a running PHP application through project-aware tools.
    • Platform: A unified interface to various AI platforms like OpenAI, Anthropic, Azure, Gemini, VertexAI, and more.
    • Store: Data storage abstraction with indexing and retrieval for AI applications.
  • Bundles
    • AI Bundle: Symfony integration for AI Platform, Store and Agent components.
    • MCP Bundle: Symfony integration for official MCP SDK, allowing them to act as MCP servers or clients.

Examples & Demo

To get started with Symfony AI, you can either check out the examples to see how to use the components in smaller snippets, or you can run the demo application to see the components work together in a full Symfony web application.

Resources

Help Symfony by sponsoring its development!

Contributing

Thank you for considering contributing to Symfony AI! You can find the contribution guide here.

Contributors

(top 30 of 162)

chr-hertel

1,722 commits

OskarStark

1,296 commits

wachterjohannes

180 commits

Guikingone

115 commits

symfony/ai

Symfony AI is a set of components that integrate AI capabilities into PHP applications

1,195

stars

3,963

commits

PHP

primary language

Sep 8, 2026

updated

ai.symfony.com/
ai
php
symfony

README

Symfony AI Logo

Symfony AI is a set of components that integrate AI capabilities into PHP applications.

Components & Bundles

Symfony AI consists of several lower and higher level components and the respective integration bundles:

  • Components
    • Agent: Framework for building AI agents that can interact with users and perform tasks.
    • Chat: A unified interface to send messages to agents and store long-term context.
    • Mate: Command-line assistant that lets coding agents inspect a running PHP application through project-aware tools.
    • Platform: A unified interface to various AI platforms like OpenAI, Anthropic, Azure, Gemini, VertexAI, and more.
    • Store: Data storage abstraction with indexing and retrieval for AI applications.
  • Bundles
    • AI Bundle: Symfony integration for AI Platform, Store and Agent components.
    • MCP Bundle: Symfony integration for official MCP SDK, allowing them to act as MCP servers or clients.

Examples & Demo

To get started with Symfony AI, you can either check out the examples to see how to use the components in smaller snippets, or you can run the demo application to see the components work together in a full Symfony web application.

Resources

Help Symfony by sponsoring its development!

Contributing

Thank you for considering contributing to Symfony AI! You can find the contribution guide here.

Contributors

(top 30 of 162)

chr-hertel

1,722 commits

OskarStark

1,296 commits

wachterjohannes

180 commits

Guikingone

115 commits

Languages

PHP

95.0%

HTML

3.1%

Twig

1.4%