PHPackages                             hococo-core/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. hococo-core/neuron-ai

ActiveLibrary[Framework](/categories/framework)

hococo-core/neuron-ai
=====================

The PHP Agentic Framework.

2.x-dev(5mo ago)07MITPHPPHP ^8.1

Since Dec 8Pushed 5mo agoCompare

[ Source](https://github.com/ramirohococo/neuron-ai)[ Packagist](https://packagist.org/packages/hococo-core/neuron-ai)[ RSS](/packages/hococo-core-neuron-ai/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (15)Versions (1)Used By (0)

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

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

[![Latest Stable Version](https://camo.githubusercontent.com/9bdfbdd47827b9691be6b64ac8ca92d86fb97f8727a1aa4f9e90f18ac78b50b7/68747470733a2f2f706f7365722e707567782e6f72672f696e73706563746f722d61706d2f6e6575726f6e2d61692f762f737461626c65)](https://packagist.org/packages/inspector-apm/neuron-ai)[![Total Downloads](https://camo.githubusercontent.com/ad942cbbbb8411896caa13810b42fc9dd1c529fb3281079cc9062bb97fbf8b56/687474703a2f2f706f7365722e707567782e6f72672f696e73706563746f722d61706d2f6e6575726f6e2d61692f646f776e6c6f616473)](https://packagist.org/packages/inspector-apm/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 existing PHP applications with a powerful and flexible architecture. We provide tools for the entire agentic application development lifecycle, from LLM interfaces, to data loading, to 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.

[**Laravel 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 branch of your favorite framework.

Laravel
-------

[](#laravel)

Neuron offers a well-defined encapsulation pattern, allowing you to work on your AI components in a dedicated namespace. You can enjoy the exact same experience of the other ecosystem packages you already love, like Filament, Nova, Horizon, Pennant, etc.

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

Symfony
-------

[](#symfony)

All Neuron components belong to its own interface, so you can easily 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)
- [Supported LLM Providers](#providers)
- [Tools &amp; Toolkits](#tools)
- [MCP Connector](#mcp)
- [Structured Output](#structured)
- [RAG](#rag)
- [Workflow](#workflow)
- [Security Vulnerabilities](#security)
- [Official Documentation](#documentation)

Install
-------

[](#install)

Install the latest version of the package:

```
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 the RAG systems. You can go deeper into these aspects in the [documentation](https://docs.neuron-ai.dev).

Let's create an Agent with the command below:

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

```

```
