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.