vizra/vizra-adk
Vizra ADK brings autonomous AI agents to Laravel: multi-model support (OpenAI/Anthropic/Gemini), tools, persistent memory, sub-agents, workflows, streaming responses, evaluation, and tracing—plus a Livewire dashboard for testing and monitoring.
fix: Streaming broken with Prism 0.99+ — API mismatch and state leak
fix:Return structured output - This pull request introduces support for structured output in agents, allowing them to return structured data when a schema is defined and the response includes structured content. If structured data is not available, agents will fall back to returning plain text, preserving backward compatibility. Comprehensive unit tests have been added to verify these behaviors.
Integration of new documentation
Media Generation Agents
ImageAgent and AudioAgent for generating images and audio directly from your agentsImageAgent::run('prompt')->quality('hd')->go()DelegateToMediaAgentTool allows LLM agents to delegate media tasksToolbox System
ToolboxInterfaceshouldIncludeTool()php artisan vizra:make:toolboxTool Chaining
pipe(), transform(), when(), and tap() methodsChainableToolInterface for tools with built-in chain supportToolChainResultLaravel Boost V2 Support
resources/boost/guidelines/core.blade.phpvizra-agent-creation - Agent patternsvizra-tool-creation - Tool developmentvizra-workflows - Workflow orchestrationvizra-memory - Memory and RAGvizra-evaluation - Testing frameworkAdd LLM usage aggregation and adjust agent output Normalize LLM usage reporting and add aggregation APIs. BaseLlmAgent now extracts promptTokens/completionTokens into input_tokens/output_tokens and computes total_tokens before ending spans. Tracer gained getUsageForSession, getUsageForTrace and getUsageDetails plus helper methods (aggregateUsage, emptyUsageResponse) to query spans, decode outputs and aggregate token counts, with safe handling when tracing is disabled or DB errors occur. Tests updated/added to cover session/trace aggregation, detailed breakdowns, disabled tracing and spans without usage data.
Bump prism to ^0.99.0 and update deps Increase prism-php/prism requirement to ^0.99.0 in composer.json and regenerate composer.lock (dependency bumps and metadata updated). Apply small changes to BaseLlmAgent and AgentManager to remain compatible with the updated dependency behavior/API. This brings bug fixes and compatibility improvements from the newer prism and related packages.
Update Livewire dependency to v4.0 and adjust related documentation
chore: release v0.0.39
Added
Fixed
Changed
Improved
Full Changelog: https://github.com/vizra-ai/vizra-adk/compare/v0.0.32...v0.0.33
Added support for pseudo-terminal (PTY) mode and improved environment handling in MCPClient. Updated configuration to allow custom npx path and app directory access. Improved client connection management in MCPClientManager to handle stale clients and added use_pty option to server configs.
Enhances agent tracing to support sub-agent delegation with parent trace context preservation and restoration. Updates the chat interface UI to display sub-agent info, improves typing indicator and send button logic, and adds polling for running traces. Refactors prompt versioning to support Blade templates, and adds feature/browser tests for chat interface behaviors.
Introduces JudgeBuilder to enable fluent, agent-based assertion syntax in evaluations. Updates BaseEvaluation to expose judge() and make recordAssertion public. Adds comprehensive unit tests for JudgeBuilder and its integration with BaseEvaluation. Removes obsolete MCPMakeAgentCommand.
Corrects the logic for determining the 'days' value in AgentTraceCleanupCommand. Now, the command only uses the config default if the 'days' option is not provided, ensuring explicit zero values are respected.
Qdrant and in-memory vector drivers have been removed from configuration, validation, and setup logic. Only 'pgvector' and 'meilisearch' are now supported for vector storage. Also, AgentTraceCommand now includes 'input', 'output', and 'metadata' in span output.
Introduces AgentVectorProxy to simplify agent vector memory operations, making vector and RAG methods public and context-aware. Adds GeminiEmbeddingProvider for Google Gemini embeddings. Updates VectorMemoryManager and related tools/tests to use agent class instead of agent name, streamlining method signatures and usage. Enhances Meilisearch driver with fallback similarity calculation. Updates configuration for vector memory and RAG features.
How can I help you explore Laravel packages today?