← all repositories
neuron-core/neuron-ai

PHP developers finally get their own agent framework

Neuron AI brings LLM agents, tools, RAG, and structured output to PHP apps without leaving the ecosystem you already ship in.

neuron-ai
Velocity · 7d
+1.0
★ / day
Trend
↘cooling
star history

What it does

Neuron is a PHP framework for building and orchestrating AI agents. You extend an Agent class, pick a provider, write instructions, and the framework handles memory, tool/function calls, and RAG plumbing. It ships with scaffolding commands to generate agents and RAG setups, plus a SystemPrompt builder that assembles consistent prompts from your base instructions.

The interesting bit

The pitch is less “yet another agent SDK” and more “agents that feel like a Laravel package.” Each component sits behind its own interface, so agents live in dedicated namespaces the way you’d structure Filament or Nova resources, and Symfony users can wire everything through the service container. The observability story is unusually honest for a README: it flatly states that prompting isn’t programming — same input, different output — and leans on Inspector for execution timelines.

Key highlights

  • Sixteen-plus LLM providers, including Anthropic (with prompt caching), OpenAI/Azure, Gemini, Mistral, Ollama, Deepseek, Grok, Bedrock, and any OpenAI-compatible API — swappable with one line, per the docs
  • Tools and toolkits, including a MySQLToolkit that wraps an existing PDO connection so an agent can answer questions like “how many orders today”
  • McpConnector pulls in tools from external MCP servers instead of hand-writing them
  • Structured output via PHP classes with SchemaProperty attributes — the agent returns a hydrated Person, not a JSON string you parse yourself
  • RAG support with pluggable vector stores and embeddings providers, plus multi-agent orchestration and workflow features documented on the site

Caveats

  • The README’s monitoring section funnels you into Inspector, a commercial product by the same author — observability appears tied to it rather than an open alternative
  • The README is heavy on quickstart examples; details on the multi-agent orchestration and workflow features live off-repo in the docs, so their maturity is hard to judge from here
  • Requires PHP 8.1+, which is fine for most, but the framework is young enough that the README spends real estate asking for stars and newsletter signups

Verdict

If you maintain a Laravel or Symfony app and want to bolt on agents without adopting a Python sidecar, this is the most complete native option going. If you’re not invested in PHP, there’s nothing here that changes your calculus.

Frequently asked

What is neuron-core/neuron-ai?
Neuron AI brings LLM agents, tools, RAG, and structured output to PHP apps without leaving the ecosystem you already ship in.
Is neuron-ai open source?
Yes — neuron-core/neuron-ai is open source, released under the MIT license.
What language is neuron-ai written in?
neuron-core/neuron-ai is primarily written in PHP.
How popular is neuron-ai?
neuron-core/neuron-ai has 2.2k stars on GitHub and is currently cooling off.
Where can I find neuron-ai?
neuron-core/neuron-ai is on GitHub at https://github.com/neuron-core/neuron-ai.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.