Neuron AI — Agentic Framework for PHP

Build production-ready AI-driven applications in PHP with agents, workflows, and multi-agent orchestration.

Stars
★ 2.2k
Last updated
1d ago 4.1.31
FARS reviewed
Nov 08, 2026 +10 new
License
MIT
Primary language
PHP

At a glance

How it runs
Library / SDKFrameworkCLI
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
PHP ^8.1ComposerShell / CLINetwork access
Typical use
A PHP developer wants to add an AI assistant to an existing Laravel or Symfony app without rewriting infrastructure.
Not a fit if
  • Projects still on PHP 8.0 or older
  • Teams wanting RAG out of the box without configuring a vector store and embeddings provider
Website
neuron-ai.dev ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-01latest release 4.1.31 (2026-12-01)
Source review
69/100 · Some gaps

What does this agent do, and when should you use it?

Neuron is a PHP framework for creating and orchestrating AI Agents, providing a powerful and flexible architecture for integrating AI entities into PHP applications. It covers the entire agentic development lifecycle: LLM interfaces, data loading, multi-agent orchestration, monitoring, and debugging. The framework includes an extendable Agent class, RAG abstractions, and a Workflow engine that allows developers to build everything from simple chatbots to complex automated systems. It supports multiple LLM providers, MCP connectors for tool integration, and emphasizes event-driven workflows with checkpointing and human-in-the-loop patterns. Neuron is designed for teams needing deep AI integration in existing PHP codebases.

Neuron lets you install via Composer and generate an Agent class using the make:agent command. You extend the Agent base class, implementing provider() to specify the LLM provider (e.g., Anthropic, OpenAI), instructions() to set the system prompt, and tools() to register tools or toolkits like MySQLToolkit. The Agent automatically manages memory, function calls, and RAG. Workflow components allow you to compose LLM, embeddings, data loaders, and vector stores as standalone modules into custom pipelines, with support for human-in-the-loop interruptions. Structured output is achieved via PHP attributes (SchemaProperty). Monitoring and debugging are integrated with Inspector.

  1. A PHP developer wants to add an AI assistant to an existing Laravel or Symfony app without rewriting infrastructure.
  2. A data team needs to generate reports from a SQL database; the agent uses MySQLToolkit to query and summarize data.
  3. An ops team wants to automate a workflow with approval steps; Human-in-the-loop supports manual checks.
  4. A developer needs to extend agent capabilities by connecting external MCP servers (e.g., modelcontextprotocol/server-everything).
  5. A company wants to build a RAG application using Pinecone vector store and Voyage embeddings to retrieve private docs.
  6. A developer needs to switch between multiple LLM providers without changing agent logic.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
INSPECTOR_INGESTION_KEY

How do you install or deploy this agent?

Requires PHP ^8.1. Install via Composer: composer require neuron-core/neuron-ai.

How do you use this agent?

Run vendor/bin/neuron make:agent DataAnalystAgent to generate an agent class, then edit it to set provider() and instructions(). Instantiate and call: $agent = DataAnalystAgent::make(); $response = $agent->chat(new UserMessage("Hi"))->getMessage(); For monitoring, set the INSPECTOR_INGESTION_KEY environment variable.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Purpose-built for PHP, deep integration with the PHP ecosystem, offers a Laravel-like developer experience.
  • Supports a wide range of LLM providers (Anthropic, OpenAI, Ollama, etc.) with easy switching.
  • Built-in MCP connector to integrate external tools, enhancing extensibility.
  • Workflow component supports human-in-the-loop, ideal for complex processes needing human approval.
  • Provides structured output and RAG support, covering various application needs.
Limitations
  • Requires PHP 8.1+, which may exclude older PHP projects.
  • Monitoring relies on the third-party Inspector service, adding an external dependency.
  • Framework is relatively young; community and documentation may be less mature than established PHP frameworks.
  • Advanced features (MCP, RAG) require additional configuration and components, increasing the learning curve.

How does this agent compare with similar options?

The README mentions it is the only vertical ecosystem for agentic applications in PHP, but does not name specific alternatives.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Neuron AI — Agentic Framework for PHP This agent 69 · Some gaps Library / SDKFree + model costs ★ 2.2k 1d ago PHP OpenAI API · Claude API
AgentScope 2.0 61 · Some gaps Library / SDKFree + model costs ★ 37k 1d ago Python OpenAI API · Claude API
Synapse AI — Multi-Agent Orchestration Platform 58 · Major gaps CLIFree + model costs ★ 344 1d ago Python OpenAI API · Claude API
Open Swarm Insufficient evidence — ★ 826 9d ago JavaScript Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
69/ 100 5-point scale 3.5 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 10 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 18/29
Reliability 8/14
Adaptability 15/18
Convention 13/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The README says the MySQL select tool uses a read-only transaction and recommends a dedicated production connection limited to needed tables plus a statement timeout. The workflow and frontend skills describe approval, suspension, resumption, and result matching by tool-call ID, supporting least privilege and control of external actions. Deductions: the example still uses the application database connection, and the supplied material does not provide complete deployment guidance for API keys, sensitive data, or recovery. The release workflow has limited permissions and pinned action commits, but that does not establish that all dependencies are secure. The README and license identify Inspector contact channels and a copyright holder, but publisher identity cannot be independently verified.

Reliability8 / 14 · 2.9/5

AGENTS.md, the skills, and README give broadly consistent accounts of the Agent, Workflow, tools, memory, and integration architecture; skills describe suspension, continuation, partial tool results, and error handling. Deductions: some PHP examples in the README have visible omissions such as missing imports, and the supplied files are a sample, so consistency with the full implementation cannot be checked. CI configuration shows PHP static analysis and frontend release checks, but ordinary users receive little assurance about optional services, third-party APIs, or network availability. The material describes some errors as rejected continuations or error responses, while general troubleshooting and user-facing failure guidance are incomplete.

Adaptability15 / 18 · 4.2/5

The material covers PHP Agent developers, Workflow customization, RAG, evaluation, Laravel, and frontend protocol integration. The Agent skill clearly distinguishes extending the default Agent, customizing nodes, and composing a Workflow. Skill scope descriptions are specific, and the frontend skill explains call identities, deferred tools, and client boundaries. Deductions: supported versions and platform prerequisites are scattered across individual skills, while the README has a broad entry scope; trigger scope and environment requirements are not consolidated in a compatibility table.

Convention13 / 18 · 3.6/5

The repository overview and module table provide clear information architecture; the README includes installation, getting started, feature sections, security contact, and development commands; the LICENSE explicitly grants MIT terms. Deductions: some setup examples are incomplete and do not consistently show environment-variable access or required imports. No changelog or release history appears in the supplied material. The README provides Inspector contact channels for maintenance, but identity and response commitments cannot be independently verified. Skill names are reasonably stable within the sample, though long-term naming compatibility is not established.

Effectiveness10 / 13 · 3.8/5

The framework offers Agents, composable Workflows, tools, RAG, structured output, evaluation, and frontend streaming integration, with clear value for PHP Agent development. Skill examples and integration flows guide common implementations. Deductions: production deployments still require users to design permissions, secret handling, and infrastructure, and the many components and external services may add integration and operating costs. The material provides no quantified benefit, cost, or performance data.

Verifiability5 / 8 · 3.1/5

README feature descriptions are partly corroborated by the module overview, skill interface and flow descriptions, and static-analysis and release workflow configuration. The supplied material includes test commands, CI configuration, and skills that cite integration-test evidence, but this review does not claim execution or independent verification. Deductions: some functional claims remain documentation assertions not demonstrated by the supplied source snippets; evidence density varies across files, and files not included in the packet cannot be inspected.

Risks and how to mitigate them
  • Before production use, give the Agent database and tool credentials limited to the required permissions, and define secure API-key storage; the README database example uses the application connection.
  • When integrating external MCP servers, model providers, or frontend tools, review permissions, data transfer, and error recovery for the specific deployment. This assessment is based only on the supplied static material; no tests or external services were run.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision fdae7e292490 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/neuron-ai.svg)](https://followagents.com/en/agents/neuron-ai)
<a href="https://followagents.com/en/agents/neuron-ai"><img src="https://followagents.com/badge/neuron-ai.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 4.1.31
    Release notes excerpt
    Skills update
    View on GitHub ↗
  2. 4.1.30
    Release notes excerpt
    Update integration skills
    View on GitHub ↗
  3. 4.1.29
    Release notes excerpt
    - Support for structured output array of scalar type - #714 - IQ-Stream channel (https://iq-stream.dev)
    View on GitHub ↗

FAQ

Which LLM providers are supported?
Supports Anthropic, OpenAI (including Responses API and Azure), Ollama, Gemini (including Vertex), Mistral, HuggingFace, Deepseek, Grok, AWS Bedrock, Cohere, and more, with an OpenAI-compatible interface.
Can I use it in an existing PHP project?
Yes, install via Composer; requires PHP 8.1 or newer.
How do I connect the agent to external tools?
You can use built-in Tool classes or Toolkits, or use the McpConnector to connect MCP servers.
Is it free to use?
The framework is open-source under the MIT license. Monitoring requires an Inspector account, which has a free tier.
How can I ensure stable output format?
Use structured output by defining a PHP class with SchemaProperty attributes to constrain the response structure.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts