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.2.13(1mo ago)1.8k199.8k↑20.4%195[5 issues](https://github.com/neuron-core/neuron-ai/issues)[4 PRs](https://github.com/neuron-core/neuron-ai/pulls)4MITPHPPHP ^8.1CI passing

Since Mar 2Pushed 1mo ago33 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 1mo ago

READMEChangelog (10)Dependencies (60)Versions (382)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 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 in 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://www.youtube.com/watch?v=oSA1bP_j41w)

[![Neuron & Inspector](./docs/images/youtube.png)](https://www.youtube.com/watch?v=oSA1bP_j41w)

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

[](#requirements)

- PHP: ^8.1

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

[](#official-documentation)

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

Guides &amp; Tutorials
----------------------

[](#guides--tutorials)

Check out the technical guides and tutorials archive to learn how to start creating your AI Agents with Neuron .

Neuron is the perfect AI architecture for your project.

Laravel
-------

[](#laravel)

Neuron offers a well-defined encapsulation pattern, allowing you to work on your agentic system in dedicated namespaces. You can enjoy the exact same experience of the other ecosystem packages you already love, like Filament, or Nova.

[Example project (GitHub)](https://github.com/neuron-core/laravel-travel-agent)

Symfony
-------

[](#symfony)

All Neuron components belong to its own interface, so you can define dependencies and automate objects creation using the Symfony service container. Watch how it works in a real project.

[Symfony &amp; Neuron (YouTube)](https://www.youtube.com/watch?v=JWRlcaGnsXw)

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

```

```
