Code librariesReviewed · neuron-core

Neuron AI

Neuron AI is a PHP framework for developers building AI agents, but it requires application code and separately configured model access. It documents conversation memory, tool calling, structured output, retrieval and workflows with human intervention.

Researched 22 Nov 2026

In short.

Neuron AI is a PHP framework for developers building AI agents, but it requires application code and separately configured model access. Its README demonstrates agent subclasses, conversation threads, MySQL tools, MCP connections, typed output and retrieval using embeddings and vector storage. It is worth considering for teams that want these components inside a PHP application. The implementation, provider compatibility and runtime behavior were not assessed, and nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to README.md at [https://github.com/neuron-core/neuron-ai/blob/4.x/README.md], resolved to commit f6ba920a95a32d414994dcfdec41492a172fa4cc, and the accompanying LICENSE notice at that revision. The README is the sole selected resource file; LICENSE provides related rights evidence. Linked pages, implementation files, bundled skills, dependency manifests and release history were not assessed. No installation, example, service or test was executed. Runtime correctness, security, performance and production suitability remain unverified.

The overview

Identity

Neuron AI is distributed as the Composer package neuron-core/neuron-ai. It provides PHP classes for building agents and composing larger AI workflows. The repository is [https://github.com/neuron-core/neuron-ai], and the README links to documentation at [https://docs.neuron-ai.dev/].

The accompanying MIT licence names Inspector SRL as the copyright holder. The assessed repository revision does not establish a particular published package version.

Assessment

The documented design suits PHP applications that need a common structure for model calls, conversation history, tools and retrieval. Its Agent and RAG classes provide starting patterns, while Workflow supports custom coordination.

The README gives enough concrete examples to understand the intended integration. It does not establish reliability, performance or production readiness. Provider interchangeability and advanced workflow behavior remain unverified.

Users

The primary audience is PHP developers adding conversational assistants, database reporting, extraction or document retrieval to applications. Beginners need familiarity with Composer, PHP classes and service configuration.

Experienced teams can evaluate its provider interfaces and workflow composition. The README also references Laravel and Symfony integration skills, but their contents and compatibility were not assessed.

Capabilities

Examples cover conversation memory tied to a thread identifier, tool collections, MCP server tools, output mapped to a PHP class, and retrieval with an embedding provider and vector store. Listed model integrations include Anthropic, OpenAI, Azure OpenAI, Gemini, AWS Bedrock, OpenAI-compatible APIs and Ollama.

The overview also describes multi-agent orchestration, checkpointing, interruption, asynchronous execution and streaming adapters for AG-UI and the Vercel AI SDK. These features are referenced rather than demonstrated in the supplied examples.

Using it

Requirements

The README declares PHP ^8.1 and installation through Composer. Its Anthropic example requires a provider key and model identifier. Complete dependency constraints, required PHP extensions and resource requirements are unknown because the dependency manifest was not supplied.

The retrieval example additionally requires Voyage embedding configuration and a Pinecone index. MySQL tools receive a PDO connection. The demonstrated MCP server connection invokes npx, adding that executable to the requirements for that example.

Mechanism

An application extends Agent, implements provider() to return an AIProviderInterface, and supplies a SystemMessage through instructions(). A tools() method can expose application operations. Calls bind the agent to a conversation with setThreadId() before sending a UserMessage.

For retrieval, a RAG subclass supplies an embedding provider, which represents text numerically, and a vector store used for retrieval. Workflow lets developers combine components into custom processes, including human intervention. Storage defaults, retrieval ranking and checkpoint behavior are not established by these examples.

Setup

The documented starting commands are composer require neuron-core/neuron-ai and vendor/bin/neuron make:agent DataAnalystAgent. The generated agent is then configured with a provider and instructions. ANTHROPIC_API_KEY and ANTHROPIC_MODEL in the example are placeholders requiring real configuration.

Create an agent instance with make(), assign a thread identifier, send a UserMessage with chat(), and obtain response content through getMessage() and getContent(). These are documented setup steps; installation and execution were not performed.

Example

The DataAnalystAgent example combines an Anthropic model with MySQLToolkit restricted to MySQLSchemaTool and MySQLSelectTool. Its sample question asks how many orders arrived today, illustrating an agent that can inspect database structure and query accessible records.

The README says the select tool uses a read-only transaction, while retaining access to everything the database user can read. It recommends a dedicated connection with SELECT access limited to necessary tables and a statement timeout. No generated SQL, actual query result or access-control test is supplied.

Assessment & evidence

Limitations

The README does not establish thread-storage persistence, retention, user isolation, provider feature parity, retrieval quality or operational limits. Its claim that providers can be switched without affecting agent implementation does not demonstrate equivalent behavior across models.

The structured-output example contains a visible PHP syntax issue: its echo expression lacks a concatenation operator after $person->name. Standalone chat snippets also need the appropriate UserMessage import. These observations come from reading the examples; no syntax checker or runtime was used.

Reasoning

The practical appeal is keeping model access, tools and retrieval within the same PHP application architecture. That fit follows from the documented classes and integration examples; a reduction in development time has not been measured.

The additional framework abstraction is most relevant when an application needs several of these capabilities. Whether it helps a particular project depends on its provider requirements, state handling and workflow complexity.

Alternatives

Within Neuron, Agent is the documented starting point for conversation and tools, RAG adds retrieval components, and Workflow allows custom composition. Developers can choose among these patterns according to how much coordination they need.

A direct model API integration is another architectural option for a narrowly scoped application. No competing framework or direct integration was assessed, so comparative compatibility, effort, performance and cost remain unknown.

Evidence

The technical account rests on the README at [https://raw.githubusercontent.com/neuron-core/neuron-ai/f6ba920a95a32d414994dcfdec41492a172fa4cc/README.md]. Licensing comes from [https://raw.githubusercontent.com/neuron-core/neuron-ai/f6ba920a95a32d414994dcfdec41492a172fa4cc/LICENSE].

Library implementation, dependency manifests and linked documentation were not assessed. The README includes Docker Compose and PHPUnit commands, but supplies no test results. Nothing was executed, and the sample responses are illustrative rather than observed results.

Access & freshness

Costs

The MIT licence permits use without a software licence fee. The supplied files provide no prices for model APIs, embeddings, vector storage or monitoring, so operating costs are unknown.

Ollama is a listed integration, but its inclusion does not establish hardware requirements or the cost of a local deployment. No cost comparison or workload estimate is available.

Rights

The accompanying MIT licence permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice.

The licence disclaims warranties and liability. It does not establish the terms of external model providers, connected services or data supplied to an application; those terms were not assessed.

Freshness

The supplied snapshot was captured on 22 November 2026 at 23:40:55 UTC and is pinned to commit f6ba920a95a32d414994dcfdec41492a172fa4cc. The original README address uses the 4.x branch.

The capture date is not a release date or evidence of the latest change. A semantic package version, latest release and changes after this commit are unknown from the supplied files.

Actions

For an initial evaluation, configure a plain chat agent with the intended provider and confirm that the resolved Composer version matches the documentation being followed. Correct the structured-output print expression before copying that example.

Before adding database access, define the permitted tables and configure the restricted connection recommended in the README. Before adding retrieval or multiple users, establish service costs, storage and retention behavior, thread isolation and expected answer quality through application-specific evaluation.

Evidence for this report

LICENSEnotice · checked 2026-11-22
README.mdselected · checked 2026-11-22