Neuron AI - PHP agentic framework (@neuronai_php) header
Neuron AI - PHP agentic framework (@neuronai_php) profile picture

Neuron AI is the first PHP agentic framework

Joined March 2025
You don't learn Neuron. Your coding agent does. But someone on your PHP team still needs the map: a workflow at the center, and four pieces attached to it. 🗺️ #PHP #AIagents
1
22
Messaging layer, streaming, memory, tools. The agent builds each one. Where each plugs into the workflow comes from your specs. The Kickstart draws that map on your project, with the people who built Neuron. Your team's first session is on us. neuron-ai.dev/kickstart
13
Do you still need a framework if your coding agent can write one? Someone asked exactly this on our Neuron v4 announcement thread on r/PHP. Fair question. Two answers came back, and then there's the line we draw 🧵
1
1
3
83
In Neuron everything is a workflow: state persists, runs pause and resume, a human can step in, agents coordinate. We maintain that layer, you own your agent. You don't need it to learn, or for one prompt in, one answer out. Full thread: buff.ly/3Dd3XTw
1
16
1/ A model cannot run code. It only writes text. So when an agent "uses a tool", who actually runs it? Hidran Arias shows it in PHP with Neuron, and prints every step of the run. 🧵
1
1
3
50
4/ Ask "What does composer install do?" and no tool runs. "Nobody wrote an if statement for this. The model made the choice." A loop has no natural end, so Neuron counts each tool's runs and stops the run with an exception after 10, by default.
1
9
5/ 🔐 "That's also the security model. An agent can only do what we gave it a tool for." Hidran's video (10:48): youtube.com/watch?v=E14O9zsn… The code, built on Neuron v4: github.com/hidran/neuronai-p… #PHP #AIAgents
20
Already on Neuron v4? 🔁 Moving from v3 is a task for your coding agent, not your weekend. Set "neuron-core/neuron-ai": "^4.0", point the agent at the upgrade directory, review the result. Guide: docs.neuron-ai.dev/overview/… #PHP #AIagents
1
2
4
73
The prompt to give your coding agent, as is 👇 "I updated the `neuron-core/neuron-ai` dependency from version 3.x to 4.x. Please look at the upgrade guide at `vendor/neuron-core/neuron-ai/upgrade` and update my application code if necessary."
1
1
23
1/ Building an agent in Drupal often means gluing modules together, each one configured on its own settings screen. Antonio De Marco of @nuvoleweb took another route: write the agent in PHP, as a Drupal plugin. 🧵
1
2
1
60
4/ "That's the original promise kept: iterate on the agent, while the storage, persistence, logging and provider connection around it stay fixed." To try it, ddev drush ghost starts the Ghostwriter example agent in your terminal.
1
14