neuron ai
Basic Information
Neuron AI is a PHP library and SDK designed to let developers create full-featured AI agents as standalone components inside PHP applications. It provides a base Agent class to extend, a SystemPrompt helper to structure prompts, built-in memory for conversational state, and support for tools, toolkits and function calls. The project also includes a RAG class for retrieval-augmented generation, structured output helpers for producing typed responses, a Workflow system to compose nodes and edges, and an MCP connector to surface external tools. It targets PHP 8.1+, is installable via composer, and includes examples showing how to create agents, attach MySQL toolkits, connect vector stores and embeddings, and enable observability for agent executions.