Learn how to use LarAgent in non-Laravel PHP projects by leveraging the standalone engine.
LarAgent\LarAgent
class, often referred to as the “LarAgent engine.” This engine is a standalone component that contains all the abstractions and doesn’t depend on Laravel. It manages agents, tools, chat histories, structured output, and other core features.
Tool
class:
JsonChatHistory
InMemoryChatHistory
LarAgent::setup()