Neuron is the framework that lets you create production-ready AI agents entirely in PHP. Stop switching languages and leverage your existing expertise to build AI driven products.
Build simple RAG applications or complex multi-agent pipelines. Neuron's modular components let you design solutions that fit your specific business needs without forcing you into rigid patterns.
Read more →Work with OpenAI, Anthropic, Gemini, Pinecone, Elasticsearch, and more. Switch between LLM providers with a single line of code without impacting your agent implementation.
Read more →Build agents with specialized capabilities by mixing and matching toolkits. Add database readers, API integrators, or custom tools to create AI solutions tailored to your use case.
Read more →Implement powerful Retrieval-Augmented Generation in just a few lines. Connect agents to your knowledge bases and external data sources for enhanced accuracy and relevance.
Read more →Load data from CSV, JSON, SQL databases, and more to create unified data models for your agents. Work seamlessly with your existing data infrastructure.
Read more →Monitor agent execution with Inspector.dev integration. Move from prototype to production with confidence—enable monitoring with just one line of code.
Read more →Every method, property, and return value is explicitly typed for maximum IDE support and type safety.
Complete type coverage across the entire framework ensures reliability and maintainability.
Strong typing enables accurate IDE suggestions and faster debugging cycles for your team.
Neuron integrates seamlessly with your existing codebase without refactoring or disrupting established environments.
Whether you're using Laravel, Symfony, WordPress, or a custom MVC framework, Neuron integrates seamlessly without requiring refactoring or disrupting your established environment.
Consistent patterns work across the entire PHP ecosystem, enabling knowledge transfer between projects and making it easy for your team to adopt AI capabilities wherever they build.
Create a functional AI agent with clean, understandable PHP code. No complex setup, no boilerplate—just elegant, production-ready implementation.
// Create a customer service AI agent
use NeuronAI\Agent;
use NeuronAI\Chat\Messages\UserMessage;
use NeuronAI\SystemPrompt;
use NeuronAI\Providers\Anthropic\Anthropic;
use NeuronAI\Providers\AIProviderInterface;
use NeuronAI\Tools\Toolkits\CalculatorToolkit;
class CustomerServiceAgent extends Agent
{
protected function provider(): AIProviderInterface
{
// you can also use OpenAI, Gemini, XAI, AWS Bedrock, Azure, and others
return new Anthropic(
'ANTHROPIC_API_KEY'
'claude-4-5-sonnet'
);
}
public function instructions(): string
{
return (string) new SystemPrompt(
background: [
'You are a helpful customer service assistant. ' .
'Provide clear, friendly, and accurate responses.'
]
);
}
public function tools(): array
{
return [
CalculatorToolkit::make(),
];
}
}
// Use the agent in your application
$agent = CustomerServiceAgent::make()->chat(
new UserMessage('Give me the daily average of sales in the last 30 days?')
);
echo $response->getContent();
Learn how to build powerful AI agents in PHP with our comprehensive video tutorials. Watch step-by-step guides that cover everything from installation to advanced features, and start building production-ready AI agents in minutes.
Build intelligent agents that query SQL databases, analyze trends, and generate insights—all using natural language commands from your business users.
Learn more →A Laravel development tool that leverages the intelligence of AI to analyze and optimize your application's SQL queries.
Learn more →AI Agents summarizing YouTube videos. Students, teachers, and researchers often need to extract key information from lengthy educational content. The YouTube Agent could help them.
Learn more →Implement Retrieval-Augmented Generation with Ollama or cloud providers to create AI systems that combine LLM reasoning with your proprietary knowledge.
Learn more →Multi-agent workflow with orchestration, state management, and coordination between different specialized agent to create detailed and personalized travel experiences.
Learn more →Neuron Open Deep Research provides a structured approach to generating comprehensive research reports on any topic using large language models.
Learn more →Build your AI-powered applications with confidence. Our team of framework creators provides dedicated consultancy and support to accelerate your project success.
Work directly with the people who built Neuron. Get insights into best practices, architecture decisions, and advanced features that aren't in the docs.
Avoid common pitfalls and accelerate development with expert guidance. Get your AI agents into production faster with proven patterns and solutions.
Get tailored solutions for your specific use case and comprehensive training for your team to build and maintain AI agents confidently.
Get priority access to new features, dedicated support channels, and early insights into the framework roadmap and upcoming capabilities.
30-minute free consultation to discuss your AI project
The ultimate guide to building AI-powered agents with PHP
Position yourself in the AI Agent era with this comprehensive resource that shows exactly how to get there using PHP. Learn from practical examples and real-world use cases.