Download the PHP package asterixcapri/neuron-mind without Composer
On this page you can find all versions of the php package asterixcapri/neuron-mind. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asterixcapri/neuron-mind
More information about asterixcapri/neuron-mind
Files in asterixcapri/neuron-mind
Package neuron-mind
Short Description A research-augmented conversational AI engine built with Neuron-AI
License MIT
Informations about the package neuron-mind
🧠 NeuronMind
NeuronMind is a fully working example that demonstrates how to build an agentic AI assistant in PHP, powered by Neuron-AI, the open-source PHP framework for building LLM-based agents.
⚠️ This is not a production-ready product, but an exploratory project to showcase how to structure intelligent agent workflows using tools, reasoning, and web search — entirely in PHP.
The architecture is inspired by Google's gemini-fullstack-langgraph-quickstart, and reimagined using Neuron-AI.
🚀 Why Neuron-AI?
Neuron-AI brings agentic reasoning, tool calling, chat history, RAG, and integration with LLM providers (OpenAI, Ollama...) — all in native PHP.
This project shows:
- How to build a tool-augmented conversational assistant
- How to decide when to search or answer
- How to compose reasoning steps using graph nodes
- How to stay fully in PHP with no external runtimes
🧩 Workflow
This project defines a search tool using a graph-based reasoning workflow.
When a user asks a question, the system first hands it to the QueryWriter, which re-expresses the request as a handful of sharply focused web-search queries. Those queries go to the Searcher, which calls Jina’s API and retrieves a set of relevant results—titles, snippets, and links. Next, the Reflection reviews this evidence to decide whether it fully answers the user’s question. If gaps remain, it refines or adds queries and loops back through the Searcher until the material feels complete. Only then does the Answer weave the vetted information into a clear, well-sourced reply that is finally delivered to the user.
🧠 Features
- ✅ Agent chat powered by
neuron-ai - 🔁 Multi-agent reasoning
- 🔍 Web search via Jina
- 🛠️ Tool integration and triggering
- 💬 Small talk handled directly
⚙️ Requirements
- PHP 8.2+
- Composer
- OpenAI API key
- Jina API key (for search)
🛠️ Installation
▶️ Start Chatting
Example:
NeuronMind will rewrite the query, perform a web search, reflect, and generate a detailed answer.
🧱 Built With
🧠 Inspiration
This project is heavily inspired by:
🌐 gemini-fullstack-langgraph-quickstart
Implemented from scratch in pure PHP using Neuron-AI tools.
⚖️ License
Distributed under the MIT license.
Developed by Alessandro Astarita
All versions of neuron-mind with dependencies
inspector-apm/neuron-ai Version ^1.14
symfony/dotenv Version ^7.3
symfony/console Version ^7.3