Symfony AI is a set of components that integrate AI capabilities into PHP applications.
Symfony AI consists of several lower and higher level components and the respective integration bundles:
- Components
- Platform: A unified interface to various AI platforms like OpenAI, Anthropic, Azure, Google, and more.
- Agent: Framework for building AI agents that can interact with users and perform tasks.
- Store: Data storage abstraction with indexing and retrieval for AI applications.
- MCP SDK: SDK for Model Context Protocol enabling communication between AI agents and tools.
- Bundles
- AI Bundle: Symfony integration for AI Platform, Store and Agent components.
- MCP Bundle: Symfony integration for MCP SDK, allowing them to act as MCP servers or clients.
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.
Help Symfony by sponsoring its development!
Thank you for considering contributing to Symfony AI! You can find the contribution guide here.
For testing multi-modal features, the repository contains binary media content, with the following owners and licenses:
tests/Fixture/image.jpg
: Chris F., Creative Commons, see pexels.comtests/Fixture/audio.mp3
: davidbain, Creative Commons, see freesound.orgtests/Fixture/document.pdf
: Chem8240ja, Public Domain, see Wikipedia