PHP is not designed for AI agents. I wrote a Go sidecar to fix this.
I was looking for a decent library for AI agents in PHP. In Python, there are dozens of frameworks, and in Node.js, there's the Vercel AI SDK. In PHP, there are wrappers over the OpenAI API that can send requests and parse responses. But an agent is not a chatbot. It's a long-lived cycle with tool calls, streaming, and parallel execution of tools. All things PHP struggles with.