Introducing AGiXT Fine-Tuned Models: Purpose-Built AI for Intelligent Agents
We're excited to announce the release of four specialized fine-tuned models designed specifically for AGiXT agent interactions. These models represent a significant step forward in creating AI agents that truly understand AGiXT's unique command execution patterns, extension system, and agentic workflows.
The Training Data
Before diving into the models, let's talk about what makes them special: the training data.
Agent Interaction Dataset (936 examples)
This dataset captures real AGiXT agent behavior patterns including:
An ultra-compact dual-purpose model fine-tuned from Gemma-3-1B on the AbilitySelect + Complexity Dataset (11,140 examples)—trained to output both the best command AND a complexity score in a single inference.
Output Format:{score}|{ability} (e.g., 45|Write to File)
What It Learned:
Intent Classification: Map natural language requests to specific AGiXT commands
Complexity Scoring: Rate task difficulty from 0-100 based on:
Task type (code generation, file ops, research, debugging)
Number of steps required
Whether expert-level reasoning is needed
Extension Routing: Know which of the 778+ commands best matches a request
Unified Decision Making: Score and ability inform each other for better accuracy
How It's Used in AGiXT:
This model runs as a fast "router" before the main agent model:
User sends a request
AbilitySelect returns score|ability in sub-100ms
AGiXT routes to the appropriate model based on complexity:
Score 0-25 → VL-2B (simple tasks: greetings, time, file listing)
Out-of-the-box models don't know AGiXT exists. They struggle with:
AGiXT's specific XML command syntax (<execute><name>...</name></execute>)
The thinking/answer response structure agents expect
When to delegate to GitHub Copilot vs. using other tools
The 778+ available commands and their proper parameters
Maintaining consistent behavior across multi-turn agent sessions
What Fine-Tuning Fixes
Our models were trained on real AGiXT interaction patterns:
✅ Native command syntax—no more malformed XML
✅ Proper delegation—coding tasks go to Copilot, searches go to web_browsing
✅ Correct parameters—knows what each command needs
✅ Consistent structure—<thinking> then <execute> then <answer>
✅ Extension awareness—understands the full AGiXT ecosystem
How AGiXT Uses These Models Together
These four models work as an integrated system within AGiXT, not as standalone alternatives:
User Request: "Write a Python script to process CSV files"
│
▼
┌─────────────────────────────────────┐
│ AGiXT-AbilitySelect-270m │
│ Single inference, dual output │
│ (sub-50ms on CPU via ONNX) │
└─────────────────────────────────────┘
│
▼ Returns: "65|Write to File"
│ (complexity=65, ability=Write to File)
│
┌─────────────────────────────────────┐
│ Complexity-Based Model Routing │
│ Score 65 = High complexity │
│ + Check if images attached │
└─────────────────────────────────────┘
│
├─── Score 0-25 ────────────► AGiXT-Qwen3-VL-2B (simple tasks)
│ "What time is it?" → 8
│
├─── Score 26-50 ───────────► AGiXT-Qwen3-VL-4B (moderate tasks)
│ "Search for Python docs" → 35
│
├─── Score 51-75 ───────────► AGiXT-Qwen3-VL-4B + thinking (complex)
│ "Write a CSV processor" → 65 ◄── This request
│
└─── Score 76-100 ──────────► External API (Claude, Gemini, etc.)
"Debug this race condition" → 85
The Flow Explained
AbilitySelect First: Every request hits the 270M model first. In a single sub-50ms inference, it returns both the complexity score (0-100) AND the most appropriate ability. No separate complexity calculation needed.
Intelligent Routing: The complexity score directly determines which model handles the request:
0-25 (Simple): VL-2B handles greetings, time queries, basic file listings
26-50 (Moderate): VL-4B for file editing, web searches, data retrieval
51-75 (Complex): VL-4B with extended thinking for code generation, multi-step tasks
76-100 (Expert): Routes to external APIs (Claude, Gemini, GPT-4, etc.) for multi-step code generation, debugging, architecture
Ability Context: The selected ability helps the main model focus. If AbilitySelect returns 65|Write to File, the main model knows this is a file-writing task requiring code generation.
Consistent Quality: Because all three main models were trained on the same AGiXT dataset, they all produce properly-formatted commands with correct <thinking>, <execute>, and <answer> structure. The routing is about efficiency—using the right-sized model for each task.
Cost & Speed Optimization: Simple queries get fast responses from VL-2B. Complex tasks get the full reasoning power of VL-4B. Expert tasks leverage external APIs. You're not paying 4B-model latency for "what time is it?"
Deployment Options
Full Precision (16-bit SafeTensors)
Best for: Maximum quality, further fine-tuning, or when VRAM isn't a concern
ezLocalai is our recommended local inference server—it's designed to work seamlessly with AGiXT and supports all the features these models need.
Why ezLocalai? We built it to be as easy as possible. Just tell it which model you want—ezLocalai handles everything else:
Auto-detects your hardware: Finds your GPU (NVIDIA/AMD) or falls back to CPU automatically
Optimal settings out of the box: Calculates max context length, temperature, top_p based on your available VRAM/RAM
No configuration required: No editing config files, no tuning parameters, no figuring out quantization levels
Just start talking: Pick a model, wait for download, start chatting
bash
1# Install the CLI2pip install ezlocalai
34# Start with AGiXT models5ezlocalai start --model JoshXT/AGiXT-Qwen3-VL-4B-GGUF
67# Or run multiple models (comma-separated)8ezlocalai start --model JoshXT/AGiXT-Qwen3-VL-4B-GGUF,JoshXT/AGiXT-AbilitySelect-270m-GGUF
Models are downloaded automatically on first use. Once running, access the OpenAI-compatible API at http://localhost:8091.
CLI Commands:
bash
1ezlocalai stop # Stop the container2ezlocalai restart # Restart the container 3ezlocalai status # Check if running and show configuration4ezlocalai logs # Show container logs5ezlocalai update # Pull/rebuild latest images67# Send prompts directly from CLI8ezlocalai prompt "Hello, world!"9ezlocalai prompt "What's in this image?" -image ./photo.jpg
ezLocalai handles:
Automatic GGUF downloading from HuggingFace
Vision model support with proper image handling
OpenAI-compatible API that AGiXT expects
GPU memory management for running multiple models
Usage with Ollama
bash
1# Create a Modelfile for each model2cat> Modelfile <<EOF
3FROM ./AGiXT-Qwen3-4B.Q5_K_M.gguf
4PARAMETER temperature 0.7
5PARAMETER num_ctx 8192
6EOF78ollama create agixt-qwen3-4b -f Modelfile
9ollama run agixt-qwen3-4b
Usage with AGiXT
Configure your AGiXT agent to use these models via the ezLocalai provider: