symfony/ai
A set of PHP components for building AI agents, integrating with LLM platforms, and running MCP servers.

Symfony AI provides a modular framework for integrating AI capabilities into PHP applications. It includes an Agent component for building autonomous AI agents, a Platform component that unifies access to OpenAI, Anthropic, Azure, Gemini, and VertexAI, and a Mate component implementing the Model Context Protocol for AI assistant tool access. The Chat component enables long-term conversational context, while the Store component handles data indexing and retrieval for AI applications.
Frequently asked
- What is symfony/ai?
- A set of PHP components for building AI agents, integrating with LLM platforms, and running MCP servers.
- Is ai open source?
- Yes — symfony/ai is open source, released under the MIT license.
- What language is ai written in?
- symfony/ai is primarily written in PHP.
- How popular is ai?
- symfony/ai has 1.2k stars on GitHub.
- Where can I find ai?
- symfony/ai is on GitHub at https://github.com/symfony/ai.