- What is artisanpack-ui/ai used for?
- artisanpack-ui/ai is the shared AI foundation for ArtisanPack UI packages. It provides BYOK credential resolution, an agent base class, and a feature registry built on laravel/ai. It helps Laravel teams add prompts, assistants, and intelligent workflows through reusable components and a consistent interface.
- How do I install artisanpack-ui/ai in a Laravel app?
- Install the package with Composer using composer require artisanpack-ui/ai. Because it is built on laravel/ai, make sure your application also meets that dependency and your Laravel version constraints. After installation, follow the package configuration for credentials and feature registration.
- Does artisanpack-ui/ai support bring-your-own-key credentials?
- Yes. BYOK credential resolution is a core part of the package, so applications can supply their own AI provider credentials instead of relying on hardcoded keys. The exact provider configuration and resolution behavior depend on laravel/ai and the package configuration you use.
- Which Laravel versions does artisanpack-ui/ai support?
- The package is built for Laravel applications and sits on top of laravel/ai, but the exact Laravel version constraints are not stated in the provided overview. Check the package composer.json and release documentation before installing. That will confirm compatibility with your application's Laravel and PHP versions.
- How does the agent base class in artisanpack-ui/ai work?
- The agent base class gives ArtisanPack UI packages a shared foundation for building AI agents. It is intended to support reusable prompts, assistants, and intelligent workflows rather than each package implementing its own agent structure. Extend and customize it according to the package documentation for your specific feature.
- What is the feature registry in artisanpack-ui/ai?
- The feature registry is part of the shared AI foundation for ArtisanPack UI packages. It helps packages register and expose AI-powered features through a consistent interface. This supports reusability across prompts, assistants, and intelligent workflows.
- Is artisanpack-ui/ai a full AI UI component library or a foundation package?
- It is best understood as a shared AI foundation rather than a standalone full UI kit. It provides BYOK credential resolution, an agent base class, and a feature registry built on laravel/ai. It also supports reusable components and a consistent interface for AI-powered experiences in Laravel apps.
- Can I use artisanpack-ui/ai in production Laravel applications?
- It is a Composer package intended for Laravel applications, so production use depends on your version constraints, dependency stability, and credential handling. Use the BYOK credential resolution carefully and keep provider keys out of source control. Review the package documentation and release notes before deploying AI features to production.
- How do I test AI features built with artisanpack-ui/ai?
- Because the package is built on laravel/ai, test agent and workflow logic using normal Laravel testing practices and mock or fake external AI calls where possible. Keep credential resolution and feature registry configuration isolated so tests can substitute safe values. Check the package documentation for any specific test hooks or recommended fakes.
- What are alternatives to artisanpack-ui/ai?
- Alternatives include using laravel/ai directly, building your own credential resolver and agent base class, or choosing another Laravel AI package. artisanpack-ui/ai is most useful when you want the shared ArtisanPack UI foundation and feature registry. Evaluate whether you need that ecosystem integration or only basic AI provider access.