Neuron AI — Agentic Framework for PHP
Build production-ready AI-driven applications in PHP with agents, workflows, and multi-agent orchestration.
- Source repo
- neuron-core/neuron-ai
- Stars
- ★ 2.2k
- Last updated
- 1d ago 4.1.31
- FARS reviewed
- Nov 08, 2026 +10 new
- License
- MIT
- Primary language
- PHP
- FA score
- 69/100 · Some gaps
At a glance
- How it runs
- 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
- 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.
- A PHP developer wants to add an AI assistant to an existing Laravel or Symfony app without rewriting infrastructure.
- A data team needs to generate reports from a SQL database; the agent uses MySQLToolkit to query and summarize data.
- An ops team wants to automate a workflow with approval steps; Human-in-the-loop supports manual checks.
- A developer needs to extend agent capabilities by connecting external MCP servers (e.g., modelcontextprotocol/server-everything).
- A company wants to build a RAG application using Pinecone vector store and Voyage embeddings to retrieve private docs.
- 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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?
Can I use it in an existing PHP project?
How do I connect the agent to external tools?
Is it free to use?
How can I ensure stable output format?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.