Skip to content

AI assistant to build forms (optional) #10

Closed

Description

@n4ff4h

With laravel/ai installed, an assistant that builds or edits a form from a description.

Activity

  1. added
    next-genNext-gen Javaabu packages
    featurePackage feature from the spec
    on Nov 4, 2026
  2. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done (optional, laravel/ai):

    • 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.

    Docs: docs/advanced-usage/ai-assistant.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurePackage feature from the specnext-genNext-gen Javaabu packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions