Flintglass PrismAgent-27B

Flintglass PrismAgent-27B is a frontier-grade, Apache-2.0 27B agent execution specialist built on Qwen/Qwen3.8-27B and trained exclusively with Pure On-Policy 4-Verifier GRPO (PPO-clipped RLVR) for fast, zero-thinking-bloat (enable_thinking=False) reliability across function calling, strict tool abstention, JSON Schema compliance, SQLite SQL execution, and Python synthesis.

Across 4,775 strictly held-out, zero-leakage execution tasks, PrismAgent-27B improves over Base Qwen/Qwen3.8-27B by +3.13 pts Avg 5-Bench (84.37%), +5.02 pts BFCL v3 Live Micro (78.46%) / +6.58 pts BFCL Live Macro (81.30%), +10.40 pts JSONSchemaBench (96.40%), +0.70 pts SQLite Execution (80.20%), and +0.61 pts HumanEval+ (89.02%) while preserving the native multimodal vision backbone untouched.

GGUF quantizations (Q4_K_M, Q5_K_M, Q6_K β€” runs on a single 24 GB GPU or 32 GB Apple Silicon Mac): flintglass/PrismAgent-27B-GGUF
Compact 8B sibling: flintglass/PrismAgent-8B Β· PrismAgent-8B-GGUF
Zero-Leakage RLVR Training Dataset (39.7K rows): flintglass/PrismAgent-RLVR-Dataset


Zero-Leakage 5-Benchmark Evaluation (4,775 Held-Out Execution Tasks)

All models were evaluated identically with deterministic greedy decoding (temperature=0, enable_thinking=False) across all 4,775 strictly held-out execution-verified tasks (832 eval leaks purged from training splits via exact normalized prompt + Python entry_point deduplication):

Model (All Fast Non-Thinking Mode) Avg 5-Bench BFCL v3 Live (2,233) JSONSchema (1,000) SQLite SQL (1,000) HumanEval+ (164) MBPP+ (378)
NousResearch/Hermes-3-Llama-3.1-8B 62.65% 61.98% 86.00% 77.90% 46.34% 41.01%
Qwen/Qwen2.5-7B-Instruct 76.93% 71.47% 89.40% 78.80% 76.22% 68.78%
Qwen/Qwen3-8B (Base /no_think) 78.59% 75.77% 86.20% 80.40% 76.22% 74.34%
flintglass/PrismAgent-8B 80.11% 77.43% 91.70% 82.10% 76.83% 72.49%
Qwen/Qwen3.8-27B (Base /no_think) 81.24% 73.44% 86.00% 79.50% 88.41% 78.84%
PrismAgent-27B (GRPO Step 25) 84.04% 75.86% 96.50% 80.10% 90.24% 77.51%
flintglass/PrismAgent-27B (GRPO Step 50) 84.37% 78.46% 96.40% 80.20% 89.02% 77.78%
Gain vs. Base Qwen/Qwen3.8-27B +3.13 pts +5.02 pts +10.40 pts +0.70 pts +0.61 pts -1.06 pts

BFCL v3 Live Category Breakdown (Full 2,233 Tasks β€” Improved on ALL 5 Categories!)

Model Micro Avg (2,233) Macro Avg (5 cats) live_simple (258) live_multiple (1,053) live_parallel (16) live_par_mult (24) live_irrelevance (882)
Qwen/Qwen3.8-27B (Base /no_think) 73.44% 74.72% 77.52% 71.79% 87.50% 62.50% 74.26%
flintglass/PrismAgent-27B 78.46% 81.30% 81.01% 74.45% 93.75% 75.00% 82.31%
Delta vs. Base Qwen3.8-27B +5.02 pts +6.58 pts +3.49 pts +2.66 pts +6.25 pts +12.50 pts +8.05 pts

Output Efficiency vs. Base Qwen/Qwen3.8-27B

  • JSONSchemaBench: 96.40% valid & schema-conforming (pure raw JSON reward 0.9668 vs Base 0.7785), -8.3% fewer tokens (123.1 vs 134.3).
  • HumanEval+: 89.02% pass@1 with -15.8% fewer tokens (229.0 vs 272.1).
  • MBPP+: 77.78% pass@1 with -25.7% fewer tokens (114.6 vs 154.2).

Training Method: Pure On-Policy 4-Verifier GRPO (Zero SFT Forgetting)

Unlike off-policy SFT, PrismAgent-27B was trained strictly via Pure On-Policy PPO-Clipped GRPO (rank=64 LoRA across all attention + MLP projections, merged losslessly into BF16) over 50 synchronous steps (45 stratified prompts/step Γ— K=8 on-policy rollouts = 18,000 live 27B verifier executions) scored exclusively by four deterministic verifiers (no LLM-as-a-judge, no proprietary distillation):

  1. Tool Call & Hard Near-Miss Abstention Verifier: Native Qwen3.8 <tool_call><function=...><parameter=...>...</parameter></function></tool_call> AST/argument matcher + multilingual missing-required-parameter / same-domain unsupported abstention checks.
  2. JSON Schema Verifier: Live Draft-4/7/2020-12 jsonschema validation favoring raw unfenced JSON (1.0 raw vs 0.85 fenced).
  3. SQLite Execution Verifier: In-memory SQLite DDL + INSERT + SELECT result-set equivalence.
  4. Python Unit-Test Verifier: Isolated subprocess execution against real unit tests (nvidia/OpenCodeInstruct, strictly deduplicated against EvalPlus).

Only prompt groups with non-zero reward variance among the K=8 on-policy rollouts contribute gradient updates, eliminating catastrophic forgetting and keeping all 5 BFCL Live categories moving up together.


Quickstart

1. vLLM (OpenAI-Compatible Agent Server)

vllm serve flintglass/PrismAgent-27B \
  --dtype bfloat16 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --port 8000

2. Local Single-GPU / Apple Silicon (Ollama & llama.cpp)

Use flintglass/PrismAgent-27B-GGUF:

ollama run hf.co/flintglass/PrismAgent-27B-GGUF:Q4_K_M

3. Transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "flintglass/PrismAgent-27B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, torch_dtype=torch.bfloat16, device_map="auto"
)

messages = [{"role": "user", "content": "Generate a valid JSON object matching {\"type\":\"object\",\"required\":[\"id\",\"active\"],\"properties\":{\"id\":{\"type\":\"integer\"},\"active\":{\"type\":\"boolean\"}}}"}]
prompt = tokenizer.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

The Flintglass Prism Open-Source Agent & RAG Stack

License

Apache 2.0. Built by Flintglass Labs.

Downloads last month
38
Safetensors
Model size
28B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for flintglass/PrismAgent-27B

Base model

Qwen/Qwen3.8-27B
Finetuned
(1,119)
this model
Quantizations
3 models

Dataset used to train flintglass/PrismAgent-27B

Collection including flintglass/PrismAgent-27B