FACET: Preserving Source Intent and Executable State in Terminal Task Synthesis

FACET-Terminal-Qwen3.5-9B

A Qwen3.5-9B model fine-tuned for terminal-agent reasoning and executable task completion

For inference and deployment, follow the official Qwen3.5-9B model card and use the model ID FACET-Terminal/FACET-Terminal-Qwen3.5-9B.

FACET-Terminal-Qwen3.5-9B

FACET-Terminal-Qwen3.5-9B is fine-tuned from Qwen/Qwen3.5-9B using successful, execution-grounded terminal-agent trajectories produced by FACET.

FACET stands for Fine-grained Agentic Construction of Executable Tasks. It is a terminal-task synthesis framework built around two principles: preserving source intent and maintaining a shared executable state. Starting from relevant Agent Skills, FACET reconstructs realistic scenarios while retaining capability requirements, dependencies, input/output constraints, tool constraints, and procedural knowledge throughout the generation process.

FACET follows an environment-first workflow. It constructs and validates the task environment before producing the final instruction, reference solution, and verifier. As a result, every task component is generated against the same initial environment and target execution state. When execution fails, FACET uses the failed trajectory to identify and repair the affected component instead of regenerating the entire task.

The pipeline starts from 71,341 source skills, constructs 7,852 scenario-skill seeds, and produces 6,078 tasks that pass execution validation. From successful agent rollouts, 1.2K complete trajectories are selected for supervised fine-tuning. These trajectories contain the full interaction process required to solve executable terminal tasks, including reasoning, command-line tool use, environment inspection, iterative correction, and task completion.

Training on these verified trajectories is intended to improve the model's ability to operate as a command-line agent across coding, software-engineering, tool-use, long-horizon reasoning, and other workflows whose outcomes can be checked through actual execution.

Evaluation Results

All models in the FACET comparison use the Terminus-2 agent. Base and fine-tuned models are evaluated with the same inference configuration. Terminal-Bench 2.1 scores are averaged over three independent attempts per task.

Table 2: FACET results on Terminal-Bench 2.1

FACET-Terminal-Qwen3.5-9B achieves 35.58 on Terminal-Bench 2.1, improving over the Qwen3.5-9B base model score of 27.34 by 8.24 points. This is the largest absolute improvement among the evaluated FACET model sizes.

Performance may vary with the agent scaffold, system prompt, tool interface, inference engine, context length, sampling configuration, and task environment. Generated commands should be inspected before execution and run in an isolated environment.

License

This model is released under the Apache 2.0 license, following its base model.

Citation

If you use this model or the FACET framework, please cite:

@misc{shi2026facet,
  title   = {{FACET}: Preserving Source Intent and Executable State in Terminal Task Synthesis},
  author  = {Kou Shi and Zun Wang and Qisheng Su and Shiting Huang and Ziao Zhang and Zhen Fang and Qingnan Ren and Jin Liu and Yu Zeng and Yiming Zhao and Lin Chen and Zehui Chen and Feng Zhao},
  year    = {2026},
  note    = {Preprint},
  url     = {https://github.com/StoKou/FACET-Terminal}
}
Downloads last month
12
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for FACET-Terminal/FACET-Terminal-Qwen3.5-9B

Finetuned
Qwen/Qwen3.5-9B
Finetuned
(640)
this model
Quantizations
1 model