Releases: MaestroError/LarAgent
0.4.1 - Bug fix
v0.4 - Gemini driver, streaming, fallback provider and more!
Highlights:
- Docs and Workflows: Documentation and GitHub workflows were updated for clarity and improved automation.
- Dependency Update: Upgraded the
peter-evans/create-pull-request
GitHub Action from version 5 to 7. - IDE Helper Fix: Fixed an issue related to the IDE helper and added notes to the documentation.
- Documentation Overhaul: The README and other docs now point to a new official documentation site (https://docs.laragent.ai/), with improved structure and clearer guides for both Laravel and standalone PHP usage.
- Configuration Improvements:
- Config files now support more flexible provider and driver settings, with better separation between OpenAI, Gemini, and custom providers.
- New fallback provider logic for handling API failures.
- Expanded support for additional configuration options and improved defaults.
- Streaming & Structured Output:
- Added support for streaming AI responses in both core code and documentation/examples.
- New agent methods for streaming responses and more flexible output handling.
- Tooling Enhancements:
- Tools can now be added/removed using class references or objects.
- Improved schema handling for structured output and tool calls.
- Internal Refactoring:
- Major refactoring for better extensibility and maintainability.
- New base driver classes, cleaner separation of driver logic.
- Improved event hooks and error handling.
- New Example Files: Several new example scripts covering streaming, structured output, a 8000 nd advanced agent patterns.
- Tests: Added and updated tests for streaming, tool handling, and agent configuration.
See the full changelog and code diff
What's Changed
- Streaming support by @MaestroError in #21
- Documentation links added by @MaestroError in #23
- TOC update by @MaestroError in #24
- Fix: Tools with no properties enabled, removed workaround by @MaestroError in #25
- Made withTool and removeTool methods more flexible by @MaestroError in #28
- feat: add configurable agent namespaces by @johalternate in #26
- Added Gemini driver, API key & URL properties to Agent class by @MaestroError in #29
New Contributors
- @johalternate made their first contribution in #26
Full Changelog: 0.3.1...0.4.0
Fixes
What's Changed
- Docs and workflows updated by @MaestroError in #17
- Bump peter-evans/create-pull-request from 5 to 7 by @dependabot in #18
- Fix for ide helper issue +note in docs by @MaestroError in #20
Full Changelog: 0.3.0...0.3.1
v0.3 - More providers, resoning models support and structured output in console
Release 0.3.0 changes
- OpenAiCompatible driver: allows use of any provider compatible with OpenAI API, including Ollama, vLLM, OpenRouter and many more
- Support for reasoning models like o1 & o3: New contributor @yannelli added a developer message type that allows us to use reasoning models in the Agents! More Thinking = Smarter agents 💪
- Complete chat removal: New command
agent:chat:remove
provides a way to completely remove chat histories and their associated keys for a specific agent. - Structured output in console for
agent:chat
command: Now you can test your agent with structured output - Updated docs & Refactored agent initialization process: Minor updates for better clarity and smoother processes
Check examples below 👇
Community server
We will:
- Help developers implement LarAgent in their projects
- Shape LarAgent's future by planning new features and making decisions
- Share the latest news
- Discuss ideas and collaborate with contributors
Join the fresh new LarAgent community server on Discord: https://discord.gg/NAczq2T9F8
Examples
OpenAiCompatible driver
Support for reasoning models like o1 & o3
Structured output in console for agent:chat
command
What's Changed
- OpenAI compatible driver added by @MaestroError in #11
- Add support for developer message creation and testing by @yannelli in #12
- Developer message by property, addMessage method by @MaestroError in #13
- Docs updat by @MaestroError in #14
- Complete chat removal feature by @MaestroError in #15
- Structured output in console for agent:chat command by @MaestroError in #16
New Contributors
Full Changelog: 0.2.2...0.3.0
0.2.2
Merge pull request #10 from MaestroError/chat-keys-management Fix chat clear command
0.2.1
What's Changed
- Fix chat clear command by @MaestroError in #9
0.2.0
What's new in LarAgent?
- Support for Laravel 12
- Dynamic model setting via chainable
withModel
and overridablemodel
methods - New command for batch cleaning of chat histories
php artisan agent:chat:clear AgentName
- New
$saveChatKeys
property to control whether store or not the chat keys for future management - New
getChatKeys
command for Agent
Release notes 👇
What's Changed
- Event docs by @MaestroError in #3
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in #5
- Support for L12 by @MaestroError in #6
- Dynamic model setting for agents by @MaestroError in #7
- Chat keys management by @MaestroError in #8
Full Changelog: 0.1.1...0.2.0
v0.1.1
LarAgent v0.1.1 is LIVE! 🚀
Bring the power of AI Agents to your Laravel projects with unparalleled ease! 🎉
We're thrilled to announce the first release of LarAgent, the easiest way to create and maintain AI agents in your Laravel applications.
Imagine building an AI assistant with the same elegance as creating an Eloquent model!
With LarAgent, you can:
-
✨ Create Agents with Artisan: php artisan make:agent YourAgentName
-
🛠️ Define Agent Behavior: Customize instructions, models, and more directly in your Agent class.
-
🧰 Add Tools Effortlessly: Use the #[Tool] attribute to turn methods into powerful agent tools.
-
🗣️ Manage Chat History: Built-in support for in-memory, cache, session, file, and JSON storage.
Check out the documentation
Initial release v0.1.0
docs fix