Use AIUnderstand AIBuild with AI
Build with AI·Model deep dive·· 6 min read

Sage-A1.5: Parallel Subagents and Verification Mode, Served with vLLM

InternScience's 35B MoE agent model adds a spawn_subagent tool and an opt-in self-review mode. How to serve it and call both.

The code in this post comes from the model's docs and hasn't been run in our CI yet. If something breaks, let us know.

Sage-A1.5 is a 35B Mixture-of-Experts agent model from Shanghai AI Laboratory, published under the InternScience organization on Hugging Face. The card says it is based on Qwen3.6 (the Qwen3.6-35B-A3B checkpoint) and on their earlier Agents-A1 model. It is aimed at long, multi-step scientific and research tasks. What sets it apart is two opt-in features you control from your own code: an Agentic Orchestration mode, where the model fans out work to parallel subagents, and a Verification Mode, where it reviews its own progress inside its reasoning. It is licensed Apache-2.0.

Key specs

Sage-A1.5
Size 35B Mixture-of-Experts
License Apache-2.0
Context 256K native (262,144), 512K with YaRN factor: 2.0
Input The card tags it as vision-capable (vlm), and vLLM has a text-only flag
Serving vLLM, SGLang, Hugging Face Transformers format
Reasoning parser qwen3
Tool-call parser qwen3_coder
vLLM standard recipe 1 GPU, 262K context

The card doesn’t give an active-parameter count for Sage-A1.5 itself, so don’t assume one from the base model’s name.

Selected scores from the card’s table, for Sage-A1.5 against its predecessor Agents-A1:

Benchmark Sage-A1.5 Agents-A1
SWE-bench Pro 61.2 43.6
SWE-bench Multilingual 72.7 58.7
MLE-Lite 65.2 43.9
PinchBench 90.0 76.9
GAIA 95.1 96.0
BrowseComp 81.7 (82.8 with orchestration) 75.5

Against the larger models in the card’s table, the picture is mixed. Sage-A1.5 is ahead of Kimi-K3, GLM-5.3 and GPT-5.6-sol on IFBench and PinchBench. It is behind them on SWE-bench Pro (63.3, 64.6 and 64.6 for those three) and on BrowseComp (91.2 for Kimi-K3). The card’s text says results for other models come from their original technical reports, with the authors’ own runs filling gaps, so treat the head-to-head numbers as indicative.

Install and serve

The card’s vLLM recipe starts from a fresh environment. It installs vLLM from the main branch with uv:

Terminal window
uv venv --python 3.12 --seed --managed-python
source .venv/bin/activate
uv pip install vllm --torch-backend=auto

Then start the server. This is the card’s standard version (1 GPU, 262K context), which exposes an OpenAI-compatible API at http://localhost:8000/v1:

Terminal window
vllm serve InternScience/Sage-A1.5 \
--port 8000 \
--max-model-len 262144 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder

If you only need text, the card’s text-only variant adds --language-model-only to skip the vision encoder and free KV cache memory. The card also lists SGLang commands and a multi-token prediction (MTP) variant of each server. Use whichever matches your stack.

The card recommends these sampling parameters: temperature 1.0, top_p 0.95, top_k 20, min_p 0.0, presence_penalty 1.5 and repetition_penalty 1.0.

Verification Mode

Verification Mode is off by default. When it is on, the chat template appends a verification trigger to the end of your system message, and the model reviews what it has established and what has failed while it is still reasoning. You turn it on per request with chat_template_kwargs. This follows the card’s OpenAI-client example, with a small tool defined so the script runs on its own:

verify.py
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
TOOLS = [{
"type": "function",
"function": {
"name": "lookup",
"description": "Look up a fact.",
"parameters": {
"type": "object",
"properties": {"query": {"type": "string"}},
"required": ["query"],
},
},
}]
response = client.chat.completions.create(
model="InternScience/Sage-A1.5",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Find the population of Beijing and cross-check it."},
],
tools=TOOLS,
extra_body={"chat_template_kwargs": {"verification": True}},
)
message = response.choices[0].message
print(message.reasoning_content) # the self-review shows up here
print(message.content)

Install the client with pip install openai. Notes from the card:

  • A non-empty system message is required. With verification on and no system message (or only whitespace), the request is rejected with HTTP 400.
  • Pass a JSON boolean, true, not the string "true".
  • The self-review comes back as reasoning content, so read reasoning_content as well as content.
  • Verification Mode works with or without tools.

The card’s curl example passes the same flag in the request body as "chat_template_kwargs": {"verification": true}.

Agentic Orchestration

Orchestration is also opt-in, and it is turned on by registering a tool. When you expose spawn_subagent, the model can call it with a batch of independent sub-tasks. Your code runs each one and returns the results. The subagents have their own contexts, and they can’t see the main conversation. That is why each task needs task, context and expected_output, all required.

Here is the card’s tool schema, followed by a request that offers it to the model. The card leaves running the subagents to your harness, so this script only shows the model’s call:

orchestrate.py
import json
from openai import OpenAI
SPAWN_SUBAGENT_SCHEMA = {
"type": "function",
"function": {
"name": "spawn_subagent",
"description": (
"Dispatch one or more sub-agents IN PARALLEL to investigate independent "
"sub-questions. Each sub-agent has access to google_search and read_page "
"but CANNOT see your conversation. You MUST give each sub-agent everything "
"it needs via the `task`, `context`, and `expected_output` fields. Sub-agents "
"return structured JSON: {answer, status, evidence, unresolved_issues}."
),
"parameters": {
"type": "object",
"properties": {
"tasks": {
"type": "array",
"minItems": 1,
"description": "List of independent sub-tasks to dispatch in parallel.",
"items": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Self-contained sub-question. The sub-agent has no other context.",
},
"context": {
"type": "string",
"description": "Background facts and constraints the sub-agent needs.",
},
"expected_output": {
"type": "string",
"description": "Form of the desired answer (e.g. 'a year YYYY', 'a person name').",
},
},
"required": ["task", "context", "expected_output"],
},
},
},
"required": ["tasks"],
},
},
}
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="InternScience/Sage-A1.5",
messages=[
{"role": "system", "content": "You are a research assistant."},
{"role": "user", "content": "Compare the founding years of three universities of your choice."},
],
tools=[SPAWN_SUBAGENT_SCHEMA],
)
message = response.choices[0].message
for call in message.tool_calls or []:
print(call.function.name)
print(json.dumps(json.loads(call.function.arguments), indent=2))

Whether the model chooses to call spawn_subagent depends on the task. The card says the model calls it “whenever a task decomposes into independent investigations”. If it answers directly instead, that is expected.

To finish the loop, run each entry in tasks with your own agent, return one JSON object per task, and send the batch back as a tool message. The card describes what a subagent returns: {answer, status, evidence, unresolved_issues}. The batch goes back to the main model in input order. A subagent that can’t resolve its task returns "UNKNOWN" with a status of unknown or insufficient_evidence, so check status before trusting an answer.

Gotchas

  • Keep tasks in one spawn_subagent batch independent. They run concurrently and can’t see each other’s results. Anything sequential belongs in separate calls.
  • The schema’s description names google_search and read_page because that is the reference setup. If your subagents have different tools, update that sentence to match, since it tells the main model what its subagents can do.
  • Batch size and per-subagent turn budget are harness-side settings. The card names max_tasks_per_spawn (default 5) and subagent_max_turns (default 20), and says oversized batches are rejected with an error rather than truncated. The card doesn’t show where these are configured in your own harness, so you will need to add that logic yourself.
  • For 512K context, the card has a YaRN recipe using --hf-overrides (vLLM) or --json-model-override-args (SGLang), with VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 or SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1 set. Copy the full override block from the model card rather than retyping it.
  • The card notes that vLLM no longer supports the old --rope-scaling flag.
  • The card’s SWE-bench numbers use the mini-SWE-agent harness with a 200K-token context window and automatic context compaction, offline. Your own setup may score differently.

When to pick it

Pick Sage-A1.5 if you are building research or coding agents and want to experiment with two ideas that the card exposes cleanly: parallel subagents with isolated contexts, and a self-review pass you can toggle per request. It is Apache-2.0, it ships with vLLM and SGLang recipes, and the card publishes an evaluation framework so you can compare it under the same protocol as your own models.

Skip it if you want a drop-in chat model with no orchestration code. The orchestration mode only helps if you write the harness that runs the subagents. Also check hardware before you plan around it: the card says “1 GPUs, 262K context” for the standard vLLM recipe but doesn’t name the GPU or give a memory figure. And if raw search or coding scores are the deciding factor, the card’s own table shows larger models still ahead on several benchmarks.

Related