Artisan commands available in LarAgent for managing AI agents
make:agent
command:
app/AiAgents
directory with the basic structure and methods needed to get started. The generated agent includes:
agent:chat
command:
agent:chat:clear
command:
agent:chat:remove
command:
remove
and clear
commands will affect the current type of chat
history. For example, if you were using session
chat history, and later
switched to file
, both commands will remove from the file
(current type of
chat history) storage.make:agent:tool
- Generate tool classes with ready-to-use stubsmake:agent:chat-history
- Scaffold custom chat history implementations