Open Source Agents Frontier Advisors
Captured source
source ↗Fireworks AI
GLM 5.2 is live! Opus-level intelligence at open-source rates. Pay per token on serverless. Try it today.
Blog
Open Source Agents Frontier Advisors Open-source agents with frontier advisors: matching frontier performance through training and harness engineering
PUBLISHED 6/3/2026
Table of Contents
Combining an open-source agent harness, frontier tool use, and Fireworks-native post-training lifts performance through system-level orchestration.
The Test
Open source is competitive on quality, dominant on cost
A hybrid harness: open-source worker, frontier advisor as a callable tool
Post-training on Fireworks
Legal Agent Benchmark
How LAB scores a model
Our first step with Harvey in post-training a frontier-scale model
Table of Contents
Combining an open-source agent harness, frontier tool use, and Fireworks-native post-training lifts performance through system-level orchestration.
TL;DR. We explore two system-level techniques on Harvey’s Legal Agent Benchmark that reduce reliance on single frontier model calls while reaching the frontier-level performance at lower cost.
Harness engineering : an open-source GLM 5.1 worker self-triggers Claude Opus 4.7 as a callable advisor on sub-tasks where it improves outcomes, reaching 18 / 100 all-pass at $368 versus 14 / 100 for Opus end-to-end at $954.
Post-training on Fireworks : supervised fine-tuning (SFT) of Kimi K2.6 on LAB trajectories reaches 15 / 100 all-pass at $84, while reinforcement fine-tuning (RFT) improves mean score from 0.863 to 0.886 across 46 rollout steps.
Both approaches run on the Fireworks platform used for training and serving, removing the traditional gap between experimentation and production.
“On Fireworks, combining open-source worker models with frontier tool use and post-training closes much of the gap to frontier performance on Legal Agent Benchmark, while improving cost efficiency and system controllability.” — Niko Grupen, Head of Applied Research at Harvey Figure 1: All-pass / 100 vs. total cost across the configurations we ran on the 100-task LAB slice: Claude Opus 4.7 (closed baseline), Kimi K2.6 (base and SFT), GLM 5.1 (worker only), and GLM 5.1 + Opus 4.7 advisor. The harness adds 6 tasks fully passing on top of GLM 5.1 alone and 4 above Opus, at $368 across the 100 tasks. That’s about 3× higher than GLM 5.1 alone on the worker side, still ~39% of Opus’s $954 standalone cost. GLM 5.1 + Opus 4.7 advisor beats Claude Opus on cost and quality. Harness all-pass vs. cost All-pass standard error ≈ 2.5pp (≈2.5 tasks / 100) across re-runs of identical configurations on the 100-task slice. The Test
As a Harvey LAB research partner, Fireworks took an initial 100-task slice and ran it across the most capable open-source and closed-source models, then layered in the two interventions we think the field has been under-investing in: a hybrid harness with an open-source worker and frontier advisor, and Fireworks-native post-training capabilities.
The 100-task slice is a distribution-mirrored subset of the 1,250-task LAB release, preserving the practice-area mix of the full benchmark. This mirrors the sampling approach Harvey used for the Initial Results in the launch post .
The exercise was necessary because intelligence is jagged: a model that nails frontier mathematics or competitive code generation can still struggle with structured legal drafting, and there is no shortcut around domain-specific evaluation. LAB is the cleanest public lab we know of for the question the industry has been arguing about for two years:
can open-source models do frontier-quality legal AI?
The joint team’s setup runs both halves of the answer on one platform: Fireworks trains, evaluates, and serves on the same infrastructure, so a model fine-tuned against LAB is the same model, bit-for-bit, that serves production traffic. No research-to-production gap to cross. Open source is competitive on quality, dominant on cost
On LAB’s continuous mean-score metric, GLM 5.1 ranks highest among the open-source models we evaluated, at 0.8921 mean score putting it directly alongside frontier: Claude Opus 4.7 at 0.911, GPT-5.5 at 0.892. Kimi K2.6 (0.863) and DeepSeek V4 Pro (0.871) come in just below, both still clearly viable for production legal workloads.
On the LAB all-pass metric, the production-readiness measure, the closed frontier holds a small lead: Opus 4.7 at 14 / 100, GPT-5.5 at 11 / 100, GLM 5.1 at 12 / 100 . That gap is where the rest of this post lives; the two interventions we describe below close most of it.
Cost is the headline. GLM 5.1 reaches its 0.8921 mean for $121 across the 100-task run . GPT-5.5’s nearly identical 0.892 costs $560. Claude Opus 4.7’s 0.911 mean and 14 / 100 all-pass runs $954, roughly 8× any open-source candidate . “The customer ask is no longer ‘how do we get the smartest model on every query.’ It is ‘how do we get frontier-quality outputs on the queries that need them, and a model we control on the queries that don’t.’” Figure 2: Performance on LAB’s two metrics across open- and closed-source models, on the 100-task slice. Left panel: mean score, where open-source leaders land within 2 points of the closed frontier. Right panel: all-pass / 100, the strict production metric, where the closed frontier still holds a small lead. The right panel is where the joint team’s post-training and multi-agent harness interventions land their lift. Figure 2 — Mean score and all-pass across open- and closed-source models Mean score standard error ≈ 0.009 (~1pp); all-pass standard error ≈ 2.5pp (≈2.5 tasks / 100), across re-runs of identical configurations on the 100-task slice. Figure 3: Quality vs. total cost on the 100-task LAB slice — open-source models in purple, closed-source in black. Cost on a log scale, decreasing left to right; higher on the y-axis is better. Figure 3 — Quality vs. cost on LAB Mean score standard error ≈ 0.009 (~1pp) across re-runs of identical configurations on the 100-task slice. A hybrid harness: open-source worker, frontier advisor as a callable tool
A single LLM call is the wrong unit of work for a legal task: reasoning chains run long, citation discipline is unforgiving, and under all-pass grading any missed criterion costs the entire task. To solve the problem, the team built a small, opinionated multi-agent harness with the open-source worker at its core. The configuration is straightforward: open weights at the core, orchestration the team can inspect...
Excerpt shown — open the source for the full document.
Notability
notability 5.0/10Fireworks AI post on open source agents, average notability.