Today we are happy to announce a new Symfony initiative called Symfony AI - with the goal to provide a comprehensive set of components and bundles designed to bring powerful AI capabilities directly into your PHP applications.

Similar to the UX initiative, Symfony AI lives in the separate mono-repository symfony/ai, which enables us to level up this new set of libraries as fast as the AI ecosystem itself. All components and bundles are currently under active development and not yet ready to be released, but we decided to go public with this project now to invite you all to join forces in building a strong PHP ecosystem for AI. No matter if you are creating chatbots, implementing Retrieval-Augmented Generation, or building sophisticated AI agents, Symfony AI aims to give you the tools to get started quickly and well-integrated with your application.

Even if this is a new initiative and still experimental, we are not starting at zero, but we moved the PHP-LLM organization, a set of libraries and bundles, into the Symfony project.

Core Components & Bundles

Platform Component: A unified interface to major AI providers like OpenAI, Anthropic, Azure, Google, Mistral, and more. Write your code once and switch between AI platforms seamlessly.

Agent Component: A framework for building AI agents that can interact with users, call tools, and perform complex multi-step tasks. Perfect for creating sophisticated chatbots and automated workflows.

Store Component: Data storage abstraction with indexing and retrieval capabilities for AI applications. Ideal for implementing RAG (Retrieval-Augmented Generation) patterns and semantic search.

AI Bundle: Seamlessly integrates the Platform, Store, and Agent components into Symfony applications with configuration, dependency injection, and debugging tools.

MCP SDK: An implementation of the Model Context Protocol, enabling your applications to communicate with AI systems using the emerging industry standard.

MCP Bundle: Allows your Symfony applications to act as MCP servers or clients, opening up new possibilities for AI integration and tool creation.

Getting Started

If you are eager to get on that journey with us, the best way to start is to check out our examples and demo application to see Symfony AI in action. Especially the demo showcases more advanced use-cases combining multiple components and Symfony UX at once.

To get more pointers were to start contributing to this project, check the issue tracker: Ideas & Plans for this Project Models, Platforms & Stores Support

And of course, you can add your ideas, provide feedback or join discussions.