Think of configuration as painting your masterpiece! With Vizra ADK, you have all the colors (options) at your fingertips. Let’s make your AI agents work exactly how you want them to!
Your Configuration Hub
After installing Vizra ADK, your shiny new configuration file lives at:Choose Your AI Provider
Default Provider
Pick your favorite AI companion! Set it in your
.env file:.env
Available Providers
Choose from these amazing AI providers:
openai- GPT modelsanthropic- Claude modelsgemini- Google’s finest
Pick Your Model
Choose the AI model that powers your agents’ brilliance:.env
- OpenAI Models
- Anthropic Models
- Google Models
gpt-4-turbogpt-3.5-turbo
Fine-Tune Your AI’s Personality
Adjust these dials to make your AI agents more creative or focused!.env
| Parameter | Description |
|---|---|
| Temperature | Controls creativity: 0 = focused, 1 = wild imagination! |
| Max Tokens | Maximum response length. More tokens = longer answers! |
| Top P | Controls diversity. Lower = more focused responses! |
Your API Keys
Time to connect to the AI magic! Add your provider API keys:.env
The Complete Configuration Blueprint
Here’s your complete configuration file in all its glory!config/vizra-adk.php
Agent Teamwork Settings
Let your agents work together! Control how deep the delegation rabbit hole goes:.env
This clever safety net prevents your agents from playing endless “pass the task” - avoiding infinite loops and keeping your app responsive!
Database Architecture
Vizra ADK organizes your AI data in these neat tables:| Table | Purpose |
|---|---|
agent_sessions | Keeps track of all your conversation sessions |
agent_messages | Stores the complete message history |
agent_memories | Your agents’ long-term memories live here |
agent_vector_memories | Vector embeddings for semantic search |
agent_trace_spans | Debug traces for when you need to investigate |
Debug Like a Detective
Turn on tracing to see exactly what your agents are thinking!.env
Terminal
Web Dashboard Settings
Toggle your beautiful web dashboard on or off:.env
| Dashboard | URL |
|---|---|
| Main Dashboard | /vizra |
| Chat Interface | /vizra/chat |
| Evaluation Runner | /vizra/eval |
OpenAI API Compatibility
Make your Vizra agents work seamlessly with OpenAI-compatible clients! Map OpenAI model names to your custom agents:config/vizra-adk.php
Model Context Protocol (MCP) Servers
Supercharge your agents with MCP servers! These give your agents access to external tools and services:Filesystem Server
.env
GitHub Server
.env
PostgreSQL Server
.env
Brave Search Server
.env
Custom MCP Servers
You can even add your own MCP servers:config/vizra-adk.php
The Configuration Priority Game
When multiple configs compete, here’s who takes the crown (from highest to lowest priority):| Priority | Source | Example |
|---|---|---|
| 1st | Runtime Methods | $agent->setTemperature(0.2) |
| 2nd | Agent Class Properties | protected ?float $temperature = 0.7; |
| 3rd | Environment Variables | VIZRA_ADK_DEFAULT_TEMPERATURE=0.5 |
| 4th | Config File Defaults | config/vizra-adk.php |
Organize Your Code
Keep your code neat and tidy with these default namespaces:| Type | Namespace |
|---|---|
| Agents | App\Agents |
| Tools | App\Tools |
| Evaluations | App\Evaluations |
Environment Magic
Different settings for different environments? We’ve got you covered!- Local Development
- Production
.env.local