Open-source Laravel package for building autonomous AI agents that can reason, use tools, make decisions and take actions. Vizra ADK brings the power of AI to your Laravel applications with elegant, familiar patterns.
Built with Laravel best practices
Vizra ADK provides a complete framework for building intelligent AI agents with Laravel's elegant syntax.
Build agents that think, remember, and collaborate to solve complex problems.
Agents that remember and learn from every interaction across conversations.
Give your agents real-world capabilities with custom tools and integrations.
Understand exactly what your agents are doing with comprehensive debugging.
Test your agents at scale with AI-powered evaluation and quality assessment.
Semantic search and document retrieval for intelligent, context-aware responses.
Feels right at home in your Laravel application with familiar patterns.
Test and monitor your agents with a beautiful web interface included out of the box.
Turn any Vizra agent into an OpenAI-compatible API endpoint. Works with all existing tools and SDKs.
Everything you need to get started, from basic concepts to advanced deployment strategies.
Complete guide for the open-source Laravel package to build, test, and integrate AI agents into your applications.
Professional cloud platform for evaluating and debugging AI agents built with Vizra ADK.
Get started in minutes. Build AI agents with familiar Laravel patterns and integrate them into your application.
Add the Vizra ADK package to your Laravel project and publish the configuration files.
composer require vizra/vizra-adk
php artisan vizra:install
Create intelligent agents using our framework. Add tools, define behaviors, and integrate with your existing Laravel application.
php artisan vizra:make:agent CustomerSupportAgent
Integrate your agents into controllers, jobs, or commands. They're just Laravel classes that work seamlessly with your app.
CustomerSupportAgent::run('Help me')->go();
Build AI agents using familiar Laravel patterns. Vizra ADK integrates seamlessly with your Laravel application, making it easy to create intelligent, interactive agents.
<?php
namespace App\Agents;
use Vizra\VizraADK\Agents\BaseLlmAgent;
class CustomerSupportAgent extends BaseLlmAgent
{
protected string $name = 'customer_support';
protected string $description = 'Helps customers with their inquiries';
protected string $instructions = 'You are a friendly customer support assistant.
Always be helpful and provide accurate information.';
protected string $model = 'gpt-4o';
protected array $tools = [
OrderLookupTool::class,
RefundProcessorTool::class,
];
}
See how easy it is to build AI agents with Vizra ADK
<?php
namespace App\Tools;
use Vizra\VizraADK\Contracts\ToolInterface;
use Vizra\VizraADK\System\AgentContext;
class OrderLookupTool implements ToolInterface
{
public function definition(): array
{
return [
'name' => 'order_lookup',
'description' => 'Look up order information by order ID',
'parameters' => [
'type' => 'object',
'properties' => [
'order_id' => [
'type' => 'string',
'description' => 'The order ID to look up',
],
],
'required' => ['order_id'],
],
];
}
public function execute(array $arguments, AgentContext $context): string
{
$order = Order::find($arguments['order_id']);
return json_encode([
'order_id' => $order->id,
'status' => $order->status,
'total' => $order->total,
]);
}
}
<?php
// Simple conversation
$response = SupportAgent::ask('How do I reset my password?')
->go();
echo $response;
// With additional context
$response = SupportAgent::ask('Show me my recent orders')
->forUser($user)
->withSession($sessionId)
->withContext(['orders' => $orders])
->go();
// Agents can also be triggered via schedules, events, or queues
ReportAgent::generate('daily_report')
->withContext([
'report_type' => 'daily_operations',
'include_metrics' => ['sales', 'orders', 'customers'],
'recipients' => ['executives', 'operations'],
])
->async()
->onQueue('reports')
->go();
Start building with our free open-source ADK, or join the Vizra Cloud beta for managed hosting.
50% off during beta • Fair use policy
Start with Vizra ADK today. Join thousands of developers building the future with Laravel and AI.
Be the first to know when our cloud evaluation platform launches.