microsoft/MagenticBrain
- License
- mit
- Size
- not mirrored yet
No official torrent yet — requesting it tells the flock what to host next. You cannot seed a catalog-only page.
Cataloged from microsoft/MagenticBrain
All models by microsoft →No official torrent yet — requesting it tells the flock what to host next. You cannot seed a catalog-only page.
Cataloged from microsoft/MagenticBrain
All models by microsoft →MagenticBrain is a 14B-parameter orchestration model from Microsoft Research AI Frontiers. It plans multi-step tasks, calls declared tools, and coordinates sub-agents. It does not execute actions itself — every real-world side effect happens inside a host harness.
The model is supervised fine-tuned from Qwen/Qwen3-14B on agentic data: function-calling corpora, file-system trajectories, terminal tasks, sub-agent delegation traces, and reasoning data. After supervised fine-tuning, it was further trained with reinforcement learning on in-house-constructed terminal tasks. It's co-designed with MagenticLite, our agentic application and harness, and that's the configuration it has been most thoroughly evaluated in.
We're releasing weights only. Inference code, training recipes, and the execution harness are part of MagenticLite.
submit signal, which is a protocol token, not an action. The harness uses it as the end-of-task indicator.MagenticBrain is the orchestration model inside MagenticLite. The training mix, tool-call format, and submit/terminate protocol are calibrated against MagenticLite's execution loop. If you want the behavior MagenticBrain was trained for, run it inside MagenticLite.
The weights load in any compatible runtime (Transformers, vLLM, SGLang, TensorRT-LLM). If you integrate the model directly, you're responsible for the execution boundary: declaring the tool schema, parsing the model's JSON tool calls, executing tools under your own permissions, and handling the submit terminator.
Requires transformers >= 4.51.0.
The model emits tool calls as JSON objects. Parse them, execute the tool in your host, feed the result back as a tool role message, and call generate again. Loop until the model emits submit.
Serve with an OpenAI-compatible endpoint that exposes tool-calling:
Then call /v1/chat/completions with tools=[...] as you would with any OpenAI-compatible tool-use model. Pass chat_template_kwargs={"enable_thinking": false} to match training-time defaults.
MagenticBrain runs in non-thinking mode — keep enable_thinking=False in the chat template. Do not use greedy decoding; it causes endless repetition on this model family. Lower the temperature if you need stricter, more deterministic tool selection.
Post-training has two stages. First, Supervised Fine-Tuning on a heterogeneous agentic data mix. Second, a reinforcement learning stage on in-house-constructed terminal tasks, further specializing the model for multi-step CLI execution. Thinking tokens are disabled by default (enable_thinking=False) to control verbosity and reduce looping on long trajectories.
Total post-training corpus is under 1B tokens. Base-model pretraining is documented in the Qwen3 technical report.
The corpus was filtered and normalized before training. Samples ending on non-submit tool calls were removed to prevent infinite-loop trajectories. Samples exceeding the 32K context were dropped. JSON tool-call formats were normalized through shared filters. Thinking blocks were stripped or regenerated to control output length.
April 30, 2026. The corpus is not collected on an ongoing basis. Future updates will ship as separately versioned models with their own model cards.
Use outside the declared tool schema, without a host-controlled execution boundary, or in deployments that bypass human-in-the-loop confirmation for sensitive actions is unsupported and outside the conditions the model was evaluated under.
MagenticBrain is a constrained orchestration model with delegated execution. Known risk areas include:
The model has no execution authority on its own. All actions go through host-owned tools, and the tool surface is explicitly scoped — the model cannot call undeclared tools. Inside MagenticLite, additional safety layers apply: tool-output verification, scoped permissions for state-changing actions, and human-in-the-loop confirmation on sensitive operations.
If you're integrating MagenticBrain outside MagenticLite, we recommend:
MagenticBrain does not claim full autonomy, self-learning, independent policy-setting, or direct execution of real-world actions. Deployments that rely on any of these properties are unsupported.
Safety evaluation covered harmful content (sexual, violent, hateful, self-harm), copyright and IP content, jailbreaks and UPIA-style prompt injection, ungrounded content, and task adherence. MagenticBrain's safety behavior is comparable to or better than the Qwen3-14B base model on these categories.
Released under the MIT License. Model weights only — inference code, execution harness, training recipes, and hyperparameters are not part of this release.
For information requests under the EU AI Act and related inquiries: MSFTAIActRequest@microsoft.com
Authorized representative: Microsoft Ireland Operations Limited, 70 Sir John Rogerson's Quay, Dublin 2, D02 R296, Ireland.
import jsonfrom transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "microsoft/MagenticBrain"tokenizer = AutoTokenizer.from_pretrained(model_name)model = AutoModelForCausalLM.from_pretrained( model_name, torch_dtype="auto", device_map="auto",)
tools = [ { "type": "function", "function": { "name": "read_file", "description": "Read the contents of a file at the given path.", "parameters": { "type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"], }, }, }, { "type": "function", "function": { "name": "submit", "description": "Signal that the task is complete.", "parameters": {"type": "object", "properties": {}}, }, },]
messages = [ {"role": "system", "content": "You are an orchestration agent. Plan steps and call only the tools declared below."}, {"role": "user", "content": "Summarize the contents of /tmp/report.md."},]
text = tokenizer.apply_chat_template( messages, tools=tools, tokenize=False, add_generation_prompt=True, enable_thinking=False, # thinking is disabled by default for MagenticBrain)
inputs = tokenizer(text, return_tensors="pt").to(model.device)output_ids = model.generate(**inputs, max_new_tokens=1024)[0][inputs.input_ids.shape[1]:]print(tokenizer.decode(output_ids, skip_special_tokens=True))vllm serve microsoft/MagenticBrain \ --enable-auto-tool-choice \ --tool-call-parser hermes \ --max-model-len 32768enable_thinking = falsetemperature = 0.7top_p = 0.8top_k = 20min_p = 0presence_penalty = 1