PHPackages                             inspector-apm/neuron-ai - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. inspector-apm/neuron-ai

Abandoned → [neuron-core/neuron-ai](/?search=neuron-core%2Fneuron-ai)Library[Framework](/categories/framework)

inspector-apm/neuron-ai
=======================

The PHP Agentic Framework.

3.15.20(yesterday)2.0k278.2k—7.7%218[4 issues](https://github.com/neuron-core/neuron-ai/issues)[3 PRs](https://github.com/neuron-core/neuron-ai/pulls)4MITPHPPHP ^8.1CI passing

Since Mar 2Pushed 2w ago34 watchersCompare

[ Source](https://github.com/neuron-core/neuron-ai)[ Packagist](https://packagist.org/packages/inspector-apm/neuron-ai)[ GitHub Sponsors](https://github.com/neuron-core)[ RSS](/packages/inspector-apm-neuron-ai/feed)WikiDiscussions 3.x Synced today

READMEChangelog (10)Dependencies (180)Versions (443)Used By (4)

Create Full-Featured Agentic Applications in PHP
================================================

[](#create-full-featured-agentic-applications-in-php)

[![Latest Stable Version](https://camo.githubusercontent.com/79d4457cca230cc79c53609782d94cb7cc2fc40148bb07e8f463ef4024fbb6c9/68747470733a2f2f706f7365722e707567782e6f72672f6e6575726f6e2d636f72652f6e6575726f6e2d61692f762f737461626c65)](https://packagist.org/packages/neuron-core/neuron-ai)[![Total Downloads](https://camo.githubusercontent.com/2ba1defa9f1cac4dcd2a7727218a7b06000956f0e840e88e6fd05fbbd55a166c/687474703a2f2f706f7365722e707567782e6f72672f6e6575726f6e2d636f72652f6e6575726f6e2d61692f646f776e6c6f616473)](https://packagist.org/packages/neuron-core/neuron-ai)

Important

Get early access to new features, exclusive tutorials, and expert tips for building AI agents in PHP. Join a community of PHP developers pioneering the future of AI development. [Subscribe to the newsletter](https://neuron-ai.dev)

> Before moving on, support the Neuron AI community giving a GitHub star ⭐️. Thank you!

What is Neuron?
---------------

[](#what-is-neuron)

Neuron is a PHP framework for creating and orchestrating AI Agents. It allows you to integrate AI entities into your PHP applications with a powerful and flexible architecture. We provide tools for the entire agentic application development lifecycle, from LLM interfaces, data loading, multi-agent orchestration, to monitoring and debugging. In addition, we provide tutorials and other educational content to help you get started using AI Agents in your projects.

[**Video Tutorial**](https://docs.neuron-ai.dev/overview/fast-learning-by-video)

[![Neuron & Inspector](./docs/images/youtube.png)](https://docs.neuron-ai.dev/overview/fast-learning-by-video)

Why Neuron Is Unique
--------------------

[](#why-neuron-is-unique)

Most agentic frameworks ask you to pick a side. Some are simple enough to learn in an afternoon, and you hit a wall the first time your use case grows beyond a demo. Others are powerful enough for a use case but you spend weeks fighting their abstractions before you ship anything real.

Neuron is built on a Workflow architecture that removes those compromises. The first spark came from the Workflow concept on LLmaindex in the Python world. Shaped around the patterns of modern PHP, the Neuron Workflow is a PHP native solution that now follows a path of its own, one we continue to draw as the agentic ecosystem in PHP takes shape around it.

**The result is one foundation that a newcomer can pick up on the first day, and that already carries everything a serious agent needs underneath**: unified messaging layer, tools &amp; toolkits, MCP, human-in-the-loop, agentic UI protocols, multi-agent interactions, asynchronous execution, and more. You never switch frameworks when your project gets ambitious. The architecture you learned at the start of this journey is the same one running your most complex system in production in the future.

A Vertical &amp; Independent Ecosystem
--------------------------------------

[](#a-vertical--independent-ecosystem)

Neuron is also the only vertical ecosystem for agentic applications development in PHP. Around the framework there is a registry of extensions, tools, and technologies designed specifically for agentic applications, and a growing number of companies building on the same architecture instead of assembling their own from scattered parts.

For a software house, this is a place to be recognized as a specialist rather than one more team claiming AI experience. For a company that needs an agentic foundation it can commit to for years, it means standardizing on an architecture whose whole direction is this space, not a general-purpose library where agents are a side feature.

Requirements
------------

[](#requirements)

- PHP: ^8.1

Official documentation
----------------------

[](#official-documentation)

**[Go to the official documentation](https://docs.neuron-ai.dev/)**

How To
------

[](#how-to)

- [Install](#install)
- [Create an Agent](#create)
- [Talk to the Agent](#talk)
- [Monitoring](#monitoring)
- [AI Providers](#providers)
- [Tools &amp; Toolkits](#tools)
- [MCP Connector](#mcp)
- [Structured Output](#structured)
- [RAG](#rag)
- [Workflow](#workflow)
- [AI Assisted Development](#agentic)
- [Security Vulnerabilities](#security)
- [Official Documentation](#documentation)

Install
-------

[](#install)

Install the latest version via composer:

```
composer require neuron-core/neuron-ai

```

Create an Agent
---------------

[](#create-an-agent)

Neuron provides you with the Agent class you can extend to inherit the main features of the framework and create fully functional agents. This class automatically manages some advanced mechanisms for you, such as memory, tools, and function calls, up to RAG (Retrieval Augmented Generation). You can go deeper into these aspects in the [documentation](https://docs.neuron-ai.dev).

Let's create an Agent with the command below:

```
vendor/bin/neuron make:agent DataAnalystAgent

```

```
