symfony/ai-agent
Framework for building AI agents on top of Symfony AI's Platform and Store components, letting agents interact with users, perform tasks and manage workflows. Experimental, not covered by Symfony's BC promise.
ToolCallRequested events).Adopt if:
Look elsewhere if:
v0.15.0-specific adoption notes:
InMemoryPlatform was removed in favor of MockPlatformFactory. Any pilot or spike already written against InMemoryPlatform (a likely pattern for teams unit-testing agent flows) must be migrated. Treat this as a one-time engineering task in the pilot scope, not a blocker — but do inventory existing test harnesses before committing a sprint."symfony/ai-agent": "0.15.*") and re-review on every minor bump; the churn rate on minor versions is high and removals are landing in 0.x releases.asObject() now accepts an optional class argument for static analysis) reduce friction for teams running PHPStan/Psalm — modest win for codebase-wide adoption.For Executives: *"Symfony's AI Agent Component lets us build autonomous AI workflows in PHP — like 'digital employees' for repetitive tasks. Examples:
For Engineering: *"This is a Symfony-native framework for agentic apps. Key wins:
HttpClient (compatible with Guzzle) and integrates with queues/events.asObject() now takes an optional class argument, so PHPStan/Psalm can type agent outputs instead of mixed.
Tradeoffs:InMemoryPlatform in favor of MockPlatformFactory. Audit and migrate existing agent test harnesses before upgrading; this is the concrete cost of adoption.illuminate/http (mitigate via service binding).0.15.*, pilot for [Project X] around [Tool Y], and benchmark against custom agent code to justify ROI. Budget ~1 sprint for the InMemoryPlatform → MockPlatformFactory test migration if we already have spikes in flight."*For Product Managers:
"This package reduces AI integration time for Laravel apps. Instead of weeks of custom tool wrappers, we ship faster with pre-built tools and iterate on agent architectures without committing to SaaS. v0.15.0's progress stage constants are the PM-relevant item: they give us a standard way to show users where an agent is in a long task, which we can turn into a step indicator or status email — a direct lever on perceived reliability and abandonment for anything agent-driven.
Risk: still pre-1.0, and v0.15.0 removed a component (InMemoryPlatform) — expect periodic upgrade work and don't let the pilot depend on unmaintained internals. Mitigate with a 3-month pilot pinned to 0.15.*, targeting [high-impact use case], with upgrade churn explicitly in the estimate."
How can I help you explore Laravel packages today?