You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The agent.FormAssistantAgent has structured output {summary, form}, where form is the export JSON. Its instructions are generated from the registered input types, the rules and the active languages.
Validation.FormAssistant validates the answer through the importer, gives the agent one retry with its errors, and saves a draft. It never publishes.
Where. Routes and cards on the forms list (new form) and the builder (change the draft), in Blade and React.
Tests. They use FormAssistantAgent::fake() and the assert helpers. A CI leg runs without laravel/ai.
Activity
AI assistant (optional, laravel/ai): build or change a form from a de…
n4ff4h commentedon Nov 5, 2026
Done (optional, laravel/ai):
FormAssistantAgenthas structured output{summary, form}, whereformis the export JSON. Its instructions are generated from the registered input types, the rules and the active languages.FormAssistantvalidates the answer through the importer, gives the agent one retry with its errors, and saves a draft. It never publishes.FormAssistantAgent::fake()and the assert helpers. A CI leg runs without laravel/ai.Docs: docs/advanced-usage/ai-assistant.md