Report Abuse

Basic Information

LarAgent is a Laravel package designed to let developers create, extend and manage AI agents inside Laravel applications using an Eloquent-like, framework-first approach. It provides artisan generators to scaffold agents, a base Agent class to configure defaults like model, provider, temperature and chat history, and support for running agents per user or with custom history names. The package targets Laravel 10+ and PHP 8.3+, can be installed via composer and configured through a published config file. It is intended for teams and developers who want to integrate conversational AI, tools and structured outputs into Laravel projects while keeping Laravel conventions and extensibility patterns.

Links

App Details

Features
Eloquent-style agent definitions and artisan commands for scaffolding agents and related components. Flexible per-agent configuration for model, provider, temperature, context window, max tokens and chat history backend. Multiple built-in chat history storage options including in-memory, cache and JSON with per-user and custom-named histories. Attribute-driven tool creation with tools implemented as agent methods or separate classes and a Tool facade for shortcuts. Structured output handling and image input support. Parallel tool execution that can be disabled. Event-driven hooks for interactions. Multiple provider support and options for standalone usage outside of Laravel. Testing support and published configuration for easy setup.
Use Cases
LarAgent reduces boilerplate and speeds development by exposing a familiar Laravel API for AI agents, letting developers create agents with artisan and configure behavior per agent. It centralizes provider and chat history settings so teams can swap LLM drivers or persistence backends without changing agent logic. Built-in histories, per-user chats and configurable metadata help manage conversation context and state. Tools and an event system make it easier to extend agents with custom actions and integrate side effects. Support for structured outputs and image inputs simplifies building deterministic integrations. The package includes test guidance and composer installation to fit into existing Laravel workflows and CI processes.

Please fill the required fields*