Build AI Agents with Laravel

Create, manage, and scale AI agents using familiar Laravel syntax with open-source LarAgent package

php artisan make:agent YourAgentName

Build AI agents
as easily as creating Eloquent models

Craft powerful AI agents using familiar Laravel conventions. LarAgent brings intuitive, Eloquent-inspired syntax, enabling seamless integration and rapid AI agent development in your projects

Customize agents to fit your needs

Easily customize your agents globally via config files per provider, or fine-tune individual agents directly in classes. Adjust temperature, context, tokens, and more for total flexibility.

Seamless Tool Integration

Add tools directly within classes. Use simple attributes to quickly integrate APIs, jobs, and custom tasks—expanding functionality in seconds. Check documentation to explore another ways of tool creation!

Gain fine-grained control with extensive events & hooks system

Easily hook into every stage of your agent's lifecycle. Use detailed event hooks to manage, log, and customize interactions—giving you complete control over agent behavior and conversations.

Define your agent's output format

Ensure consistent results with structured outputs. Define custom response schemas to receive clean, predictable data—perfect for easy parsing and reliable integration into your workflows

Join Community

Join our Discord community to get help integrating LarAgent, shape its future with your ideas, and collaborate closely with fellow contributors. Stay updated, involved, and inspired—let's build together!

Laravel AI Tutorial: Create Local Agents with Ollama

Learn how to develop an AI Agents cost-effective in Laravel using LarAgent and local LLMs via Ollama. No OpenAI API keys needed for development!

Stay Ahead with LarAgent 🚀

Subscribe to our blog for the latest tutorials, tips, and updates on AI integration.
Don't miss out, level up your Laravel skills!

Meet the author

Revaz Gh. (Maestroerror)

Software engineer @ Redberry, mentor, and creator of various open-source packages. Passionate about simplifying AI integration and empowering developers through clear guidance and innovative solutions.

Thank you

Augue curae sed massa convallis neque cursus nibh mi purus porta.