mira-agent-instinct is an open-weight model for agent from Balogun Saheed, released under Apache License 2.0. It has 32,768-token context. Its published files total 25.4 KB.
Mira is an agent-oriented LLM with instinctive reasoning compression and safe recursive self-improvement loops. Designed for long-horizon tasks, tool use, and self-play fine-tuning with eval gating. Results in.evalresults/: Terminal-Bench 2.1 Not AGI.
Model Card
By Balogun Saheed, published under apache-2.0, revision 575928bdbf59.
Mira is an agent-oriented LLM with instinctive reasoning compression and safe recursive self-improvement loops. Designed for long-horizon tasks, tool use, and self-play fine-tuning with eval gating. Results in.evalresults/: Terminal-Bench 2.1 Not AGI. Agent-oriented LLM with heuristic compression. Recursive self-improvement is offline and eval-gated. Tool use requires guardrails. Apache-2.0
Read Balogun Saheed's full model card
Mira AI Agent Model – Instinctive AGI / RSI
Mira is an agent-oriented LLM with instinctive reasoning compression and safe recursive self-improvement loops. Designed for long-horizon tasks, tool use, and self-play fine-tuning with eval gating.
Overview
- Instinct mode: fast heuristic policy that reduces reasoning tokens while preserving first-attempt accuracy.
- Agent layer: smolagents / Transformers Agent Toolkit compatible.
- RSI: offline self-play fine-tuning with DPO, frozen improvement operator, lineage tracking.
- Safety: gated repo, guardrails, audit log, explicit limitations.
Model Details
- Base model: Qwen/Qwen3-8B
- Architecture: decoder-only transformer
- Context length: 32k
- Training: supervised fine-tune on agent trajectories + self-play synthetic data
- Quantized variants: Q4_K_M, Q8_0
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "slab1/mira-agent-instinct"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
messages = [
{"role": "user", "content": "Plan a 3-step research workflow and execute step 1"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
outputs = model.generate(**inputs)
smolagents
from smolagents import CodeAgent, HfApiModel
model = HfApiModel(model_id="slab1/mira-agent-instinct")
agent = CodeAgent(model=model, tools=[...])
agent.run("...")
Demo
See the HuggingFace Space: slab1/mira-agent-instinct-demo
Evaluation
Results in .eval_results/:
* Terminal-Bench 2.1
* SWE-Bench Verified
* AgentBench
Limitations
- Not AGI. Agent-oriented LLM with heuristic compression.
- Recursive self-improvement is offline and eval-gated.
- Tool use requires guardrails.
Citation
@misc{mira-agent-instinct,
title={Mira AI Agent Model – Instinctive AGI / RSI},
author={slab1},
year={2026}
}
License
Apache-2.0
Configuration
- Architecture
- LlamaForCausalLM
- Context length (tokens)
- 32,768
- Layers
- 32
- Hidden size
- 4,096
- Feed-forward size
- 11,008
- Attention heads
- 32
- Model type
- llama
Identity and Version
- Repository
- Hoodx/mira-agent-instinct
- Publisher
- Balogun Saheed
- Task
- Agent
- Modality
- Other
- Library
- transformers
- Parameters
- Not stated by the source
- Languages
- en
- Revision
- 575928bdbf59e893c93d380e2b076f9b09e737f5
- First published
- 2026-09-19
- Last updated
- 2026-09-19
Files and Weights
21 files, 25.4 KB in total.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| config.json | Configuration | 255 B | — |
| finetune/export_to_hf.py | Configuration | 1.5 KB | — |
| finetune/train_mira_instinct.py | Configuration | 1.3 KB | — |
| generation_config.json | Configuration | 212 B | — |
| model_index.json | Configuration | 458 B | — |
| space/app.py | Configuration | 241 B | — |
| space_training/train.py | Configuration | 963 B | — |
| special_tokens_map.json | Configuration | 176 B | — |
| LICENSE | Documentation | 11.3 KB | — |
| README.md | Documentation | 2.3 KB | — |
| space_training/README.md | Documentation | 213 B | — |
| colab_mira_train.ipynb | Other | 1.0 KB | — |
| colab_mira_train_full.ipynb | Other | 1.7 KB | — |
| finetune/requirements.txt | Other | 83 B | — |
| push_checklist.sh | Other | 937 B | — |
| space/requirements.txt | Other | 37 B | — |
| space_training/Dockerfile | Other | 319 B | — |
| space_training/requirements.txt | Other | 95 B | — |
| .gitattributes | Repository | 1.5 KB | — |
| tokenizer.json | Tokenizer | 527 B | — |
| tokenizer_config.json | Tokenizer | 204 B | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
Released by Balogun Saheed through its official repository on Hugging Face. Read the license.
Built From
- Derived from Qwen/Qwen3-8B
- Trained on (disclosed) HuggingFaceH4/ultrachat_200k
Questions About mira-agent-instinct
Can I use mira-agent-instinct commercially?
Yes. mira-agent-instinct is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is mira-agent-instinct's context length?
32,768 tokens, from the maximum position embeddings in its published configuration.