A model that turns a product idea into the full PM + staff-engineer chain, including the multi-agent work assignments a coding team can execute.
Brief → PRD → Technical Design → ADRs → Task Breakdown → Agent Orchestration
Fine-tuned from Qwen/Qwen3-30B-A3B-Instruct-2507
(Apache-2.0) on a curated set of real software design documents
(Kubernetes KEPs, Python PEPs, Rust RFCs, Kafka KIPs, public ADRs) rewritten
into the contract above, plus synthetic scenarios generated by an open-weight
teacher.
Given a brief (idea, users, constraints), it produces:
R#, data model, APIs, key flows,
non-functionals, alternatives considered, rollout and observability.T1..Tn with estimates, dependencies
and requirement coverage.R#s,
interfaces allowed/forbidden, inputs to read), plus coordination protocol
and acceptance gates.General models with a good prompt are strong at prose but leaky on the contract: they write tasks without pairing them to work assignments, invent metrics instead of asking, and size the design for a team the brief never mentioned. This model is fine-tuned to hold the contract and to ask when it does not know.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
name = "{repo}"
tok = AutoTokenizer.from_pretrained(name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
name, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True
)
messages = [
{{"role": "system", "content": "You are a staff product manager and staff software architect."}},
{{"role": "user", "content": brief_yaml}},
]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(inputs, max_new_tokens=8000, do_sample=True, temperature=0.2)
print(tok.decode(out[0][inputs.shape[1]:], skip_special_tokens=True))
This repo ships an MLX 4-bit copy under mlx/. With mlx-lm:
mlx_lm.generate --model {repo}/mlx --prompt "..."
Or merge the adapter yourself:
python phase2_finetune/export_mlx.sh checkpoints/sft/full/adapter checkpoints/mlx
The output is one markdown document with five H1 sections in order:
# PRD, # Technical Design, # ADRs, # Task Breakdown, # Agent Orchestration.
wrightproduct.contract.validate() checks it mechanically.
| Source | Kind | Licence |
|---|---|---|
| Kubernetes KEPs, Python PEPs, Rust RFCs, Kafka KIPs, public ADRs | real design docs, rewritten | Apache-2.0 / MIT / CC0 / public-domain (per item, recorded) |
| Synthetic scenarios | generated by Qwen/Qwen3-30B-A3B-Instruct-2507 (Apache-2.0) |
generated |
No commercial-API outputs are in the training set. Evaluation baselines used
a frontier model and are recorded separately under evals/results/, never in
data/.
Scored against a frozen 155-scenario brief set with a 13-criterion rubric
(PRD quality, design, traceability, calibration, honesty, agent orchestration).
Baseline (Qwen3-30B-A3B + strong prompt): 4.45 / 5 with 2,159
TASK_NO_ASSIGNMENT contract violations across 155 documents.
See evals/reports/ for the full numbers.
Weights are Apache-2.0 (same as the base model). Training code is in the
wrightproduct repository.
有文件?提交种子。
发布种子mlx/model-00002-of-00004.safetensors 5.4 GBmlx/model-00001-of-00004.safetensors 5.3 GBmlx/model-00003-of-00004.safetensors 5.3 GBmodel-00005-of-00017.safetensors 3.7 GBmodel-00006-of-00017.safetensors 3.7 GBmodel-00007-of-00017.safetensors 3.7 GBmodel-00008-of-00017.safetensors 3.7 GBmodel-00009-of-00017.safetensors 3.7 GBmodel-00010-of-00017.safetensors 3.7 GBmodel-00011-of-00017.safetensors 3.7 GBmodel-00012-of-00017.safetensors 3.7 GBmodel-00013-of-00017.safetensors 3.7 GBmodel-00014-of-00017.safetensors 3.7 GBmodel-00015-of-00017.safetensors 3.7 GBmodel-00016-of-00017.safetensors 3.7 GBmodel-00004-of-00017.safetensors 3.7 GBmodel-00002-of-00017.safetensors 3.7 GBmodel-00003-of-00017.safetensors 3.7 GBmodel-00001-of-00017.safetensors 3.7 GBmodel-00017-of-00017.safetensors 1.2 GBmlx/model-00004-of-00004.safetensors 1.2 GB