Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Vizra Adk Laravel Package

vizra/vizra-adk

Vizra ADK is an AI Agent Development Kit for Laravel to build autonomous agents with multi-model LLM support, tools, workflows, streaming, tracing, and a Livewire dashboard. Includes sub-agent delegation, persistent memory, and agent evaluation.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture Fit

  • Laravel-Native Design: The package leverages Laravel’s core patterns (Eloquent, Artisan, Livewire, Service Providers), making it a seamless fit for Laravel applications. This reduces cognitive load for Laravel developers and aligns with existing tooling (e.g., migrations, queues, and testing).
  • Modularity: The package’s design encourages modularity via sub-agents, tools, and workflows, allowing TPMs to decompose complex AI logic into reusable components. This aligns with microservices and domain-driven design (DDD) principles.
  • Extensibility: Support for macros, toolboxes, and output schemas enables customization without forking the package, adhering to Laravel’s macro system and open/closed principle.
  • Multi-Model Support: Integration with Prism PHP (OpenAI, Anthropic, Google Gemini) provides flexibility to switch LLM providers without rewriting agent logic, reducing vendor lock-in.

Integration Feasibility

  • Low Friction: Installation is straightforward (composer require, php artisan vizra:install), with auto-discovery for agents and tools. This minimizes setup time.
  • Database Agnostic: Supports MySQL/PostgreSQL with configurable connections, but Meilisearch integration for vector memory adds complexity for teams without search infrastructure.
  • Livewire Dependency: The dashboard requires Livewire v4, which may necessitate upgrades for Laravel 11+ projects not already using Livewire.
  • Queue/Event-Driven Execution: Agents can run asynchronously via queues or event-driven triggers, but this requires existing queue workers (e.g., Redis, database) and proper event dispatching setup.

Technical Risk

  • Prism PHP Compatibility: The package relies on Prism PHP (v0.99+), which may introduce breaking changes or API mismatches (e.g., streaming fixes in v0.0.46). TPMs must monitor Prism’s roadmap.
  • Memory Management: Persistent memory (e.g., AgentSession, AgentMemory) adds database overhead. Teams must design schemas for scalability (e.g., partitioning, archiving old sessions).
  • Tool Complexity: Advanced features like tool chaining, media generation, and evaluation frameworks introduce dependencies (e.g., Meilisearch, Laravel Boost) that may not be immediately available.
  • Streaming Stability: Bug fixes (e.g., v0.0.46) suggest early-stage streaming may have edge cases. TPMs should test with high-concurrency workloads.
  • Laravel Boost V2: Optional but adds value; requires enabling specific "skills" (e.g., vizra-agent-creation), which may conflict with existing Boost configurations.

Key Questions

  1. LLM Provider Strategy:

    • Which LLM providers (OpenAI/Anthropic/Gemini) will the team use, and how will costs be managed (e.g., token usage aggregation)?
    • Are there fallback mechanisms for API failures or rate limits?
  2. Scalability:

    • How will agent sessions/memory scale with user growth? Are there plans for horizontal scaling (e.g., database sharding, Redis caching)?
    • Will the Livewire dashboard handle concurrent users, or is a headless API preferred?
  3. Tooling and Workflows:

    • Are there existing tools (e.g., database queries, third-party APIs) that need to be integrated as ToolInterface implementations?
    • Will tool chaining or sub-agent delegation be used for complex workflows, and how will dependencies be managed?
  4. Evaluation and Monitoring:

    • Will the evaluation framework (LLM-as-a-Judge) be used for CI/CD, and how will test results be stored/analyzed?
    • Are there plans to leverage Vizra Cloud for advanced analytics, or will self-hosted solutions suffice?
  5. Team Skills:

    • Does the team have experience with Livewire, Prism PHP, or vector databases (Meilisearch)? If not, what’s the ramp-up plan?
    • Are developers comfortable with Laravel’s macro system for extending core functionality?
  6. Cost and Licensing:

    • Are there budget constraints for LLM API usage, and will the usage aggregation feature help optimize costs?
    • Is the MIT license acceptable, or are there compliance concerns with proprietary data in agent interactions?

Integration Approach

Stack Fit

  • Laravel 11+: The package is optimized for Laravel 11+, with support for Pest 4 and Testbench 11. Teams using older Laravel versions (e.g., 10) may face compatibility issues.
  • PHP 8.2+: Requires modern PHP features (e.g., enums, attributes), which may necessitate PHP upgrades.
  • Livewire 4: The dashboard is built with Livewire 4, which is compatible with Laravel 11. Teams using Livewire 3 may need to upgrade or use the headless API.
  • Queue System: Asynchronous execution relies on Laravel queues (e.g., Redis, database). Teams must ensure queue workers are configured.
  • Database: Supports MySQL/PostgreSQL with configurable connections. Meilisearch is required for vector memory features.

Migration Path

  1. Assessment Phase:

    • Audit existing Laravel stack for compatibility (PHP, Laravel, Livewire, queue drivers).
    • Identify target LLM providers and configure API keys in .env.
    • Evaluate database schema changes (e.g., agent_sessions, agent_messages tables).
  2. Pilot Integration:

    • Install the package and run php artisan vizra:install to publish config and migrations.
    • Create a proof-of-concept agent (e.g., CustomerSupportAgent) and test basic interactions.
    • Implement 1–2 critical tools (e.g., OrderLookupTool) to validate the tooling system.
  3. Incremental Rollout:

    • Phase 1: Deploy agents in conversational mode (synchronous) for low-risk use cases (e.g., FAQ bots).
    • Phase 2: Enable asynchronous execution (queues) for long-running tasks (e.g., report generation).
    • Phase 3: Introduce sub-agents and workflows for complex logic (e.g., multi-step customer onboarding).
    • Phase 4: Implement evaluation framework for quality testing and dashboard for monitoring.
  4. Advanced Features:

    • Enable vector memory (Meilisearch) for RAG (Retrieval-Augmented Generation) use cases.
    • Integrate Vizra Cloud for scalability or use self-hosted alternatives (e.g., Prometheus for metrics).
    • Customize macros or toolboxes for domain-specific extensions.

Compatibility

  • Backward Compatibility: The package maintains backward compatibility for core features (e.g., structured output falls back to plain text).
  • Dependency Conflicts:
    • Prism PHP: Ensure version alignment (e.g., ^0.99.0) to avoid API mismatches.
    • Livewire: Conflicts may arise if using Livewire 3; upgrade to v4 or use headless mode.
    • Laravel Boost: Optional but requires enabling specific skills; test for conflicts with existing Boost configurations.
  • Testing: The package includes Pest 4 tests. Teams should adopt similar testing strategies (e.g., unit tests for tools, feature tests for agents).

Sequencing

Priority Task Dependencies
High Install package and configure LLM providers PHP 8.2+, Laravel 11+, API keys
High Set up database and run migrations Database connection
Medium Create and test a basic agent (e.g., CustomerSupportAgent) vizra:make:agent command
Medium Implement 1–2 critical tools (e.g., OrderLookupTool) Domain models (e.g., Order)
Low Configure Livewire dashboard and queue workers Livewire 4, queue drivers
Low Enable persistent memory and vector search (if needed) Meilisearch
Low Set up evaluation framework and CI/CD integration LLM-as-a-Judge configuration

Operational Impact

Maintenance

  • Package Updates: The package is actively maintained (last release: 2026-05-18), but TPMs must monitor Prism PHP and Livewire for breaking changes.
  • Database Schema: Migrations are provided, but teams must back up databases before running php artisan migrate.
  • Dependency Management:
    • Prism PHP: Pin versions in composer.json to avoid unexpected updates.
    • Livewire: Ensure compatibility with Laravel’s Livewire version.
  • Logging and Monitoring: The package includes comprehensive tracing, but teams should integrate with existing monitoring (e.g., Laravel Horizon, Sentry) for agent execution logs.

Support

  • Community: Active Discord and GitHub Discussions for troubleshooting. Sponsorship options are available
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata