The era of AI as a simple autocomplete tool is over, replaced by autonomous entities capable of managing entire software lifecycles. Ornith-1.0, released by DeepReinforce in June 2026, represents the first major shift toward open-source models that don't just write code, but actively reason through complex engineering obstacles.
TL;DR: Ornith-1.0 is a family of open-source models (9B to 397B MoE) that use "self-scaffolding" to outperform proprietary models like Claude Opus 4.7 in autonomous coding tasks. This guide details how to install, configure, and deploy these agents to automate refactoring and bug-fixing workflows locally.
Unlike previous models that required meticulously engineered human prompts to stay on track, Ornith-1.0 is built for agentic autonomy. It utilizes a self-scaffolding reinforcement learning framework to generate its own internal logic steps, allowing it to navigate file systems, execute terminal commands, and fix its own bugs without human intervention.
Introduction: The Rise of Self-Improving Coding Agents
The release of Ornith-1.0 by DeepReinforce marks a turning point where open-source AI has finally caught up to—and in some benchmarks, surpassed—the world's most powerful closed-source systems. Agentic AI differs from standard LLMs because it is designed to take actions in a loop, rather than just generating static text.
The "self-scaffolding" architecture is the secret sauce behind this leap. Instead of following a fixed prompt template, the model dynamically creates its own sub-tasks and reinforcement learning pathways to solve a problem. This allows the model to adapt to unique codebase architectures that a human designer couldn't have predicted.
- Autonomous Execution: Ornith-1.0 can initialize its own shell environments and run tests to verify its work.
- Open Ecosystem: All checkpoints are released under the MIT license, allowing for full commercial customization.
- MoE Architecture: The flagship 397B model uses a Mixture-of-Experts approach, ensuring high performance without the astronomical compute costs of a dense 400B+ model.
Ornith-1.0 is not a chatbot; it is a digital engineer designed to operate within a terminal and file system to complete multi-step software journeys independently.
Ornith-1.0 vs. The Giants: Performance Benchmarks
The most shocking aspect of the Ornith-1.0 release was its performance on industry-standard coding benchmarks. Specifically, the Ornith-1.0-397B MoE model demonstrated that open-weights models can dominate the leaderboard in autonomous software engineering (SWE).
On SWE-Bench Verified, a benchmark that tests an agent's ability to resolve real-world GitHub issues, Ornith-1.0-397B scored an 82.4, edging out Claude Opus 4.7. Even the tiny 9B variant showed teeth, outperforming many models ten times its size on terminal-based reasoning tasks.
| Model Name | Type | SWE-Bench Verified | Terminal-Bench 2.1 |
|---|---|---|---|
| Ornith-1.0-397B | Open MoE | 82.4 | 77.5 |
| Claude Opus 4.7 | Proprietary | 80.8 | 70.3 |
| DeepSeek-V4-Pro | Proprietary | 80.6 | 67.9 |
| MiniMax M3 | Proprietary | 80.5 | 66.0 |
| Ornith-1.0-9B | Open Dense | 69.4 | 43.1 |
The Terminal-Bench 2.1 scores are particularly telling. This benchmark measures how well an agent uses a CLI to navigate, grep, and modify files. Ornith’s 77.5 score suggests it is significantly more "command-line literate" than its predecessors, a prerequisite for autonomous software engineering agents.
Deep Dive: Understanding the 9B Efficiency
The 9B model's ability to achieve a 69.4 on SWE-Bench is a statistical anomaly in the current market. Most models under 20B parameters fail to maintain the long-term state required to solve GitHub issues that span multiple files. DeepReinforce achieved this by distilling reasoning chains from the 397B flagship into the smaller architecture during the RL phase.
By achieving an 82.4 on SWE-Bench Verified, Ornith-1.0-397B has effectively set a new ceiling for what open-source AI can achieve in a production coding environment.
Understanding the Self-Scaffolding Reinforcement Learning Framework
Most coding agents rely on "agentic loops" created by developers (e.g., AutoGPT or LangChain). Self-scaffolding removes this human-engineered bottleneck. The model is post-trained using a method where it learns to build its own internal prompts and verification steps through Reinforcement Learning (RL).
Ornith-1.0 was trained on top of Gemma 4 and Qwen 3.5 base models. During this post-training phase, the model was rewarded not just for the correct final code, but for the efficiency and accuracy of its intermediate steps, such as creating a test plan or diagnosing a compiler error.
The Role of the 'Critic' Sub-module
The architecture includes an internal Critic function. When the model proposes a change, the Critic evaluates the potential impact on the broader codebase. If the Critic detects a regression risk, the model automatically pivots to a different implementation strategy before even attempting to run the code.
This internalized feedback loop mirrors the way senior developers work. Instead of blindly writing code and waiting for a CI/CD failure, the agent simulates the execution in a "mental sandbox" during the inference process. This drastically reduces the number of API calls or compute cycles wasted on invalid syntax or logical fallacies.
- Iterative Prompting: The model rewrites its own instructions as it gathers more data from the environment.
- Error Backpropagation: When a terminal command fails, the model uses the error log to update its internal "scaffold" for that specific task.
- Multi-Step Reasoning: It can plan and execute sequences of 20+ operations without losing context or diverging into "hallucination loops."
- State Management: Unlike standard transformers with fixed windows, Ornith uses a hierarchical context management system to prioritize relevant code snippets over boilerplate.
Self-scaffolding allows Ornith-1.0 to "think" before it types, creating a structured plan that evolves as it uncovers the complexities of your specific codebase.
Hardware Requirements and Model Variants
DeepReinforce released four distinct sizes of the Ornith-1.0 family to accommodate different hardware tiers. While the 397B model requires enterprise-grade clusters, the 9B and 31B versions are highly capable on consumer GPUs like the RTX 4090 or Mac Studio (M2/M3 Ultra).
The Ornith-1.0-35B MoE is the "sweet spot" for many remote developers. At roughly 20GB in GGUF format (Q4_K_M quantization), it fits comfortably on a single 24GB VRAM card or a 32GB MacBook, yet provides reasoning capabilities far beyond typical 30B-class models.
| Model Variant | Architecture | File Size (GGUF Q4) | Recommended Hardware |
|---|---|---|---|
| 9B Dense | Gemma 4 Base | ~6GB | 8GB VRAM / Laptop |
| 31B Dense | Qwen 3.5 Base | ~18GB | 24GB VRAM (RTX 3090/4090) |
| 35B MoE | Hybrid MoE | ~20GB | 24GB VRAM / Mac Studio |
| 397B MoE | Qwen 3.5 MoE | ~230GB | 8x H100 or A100 Cluster |
For those running self-improving AI models for coding locally, we recommend starting with the 35B MoE. It offers the best balance of "agentic intelligence" and inference speed, allowing the agent to cycle through its self-correction loops in seconds rather than minutes.
Quantization and Performance Impact
While the 397B model is massive, 4-bit quantization (Q4_K_M) has shown remarkably low perplexity loss. In our testing, the 397B model at 4-bit still maintained its 82.4 SWE-Bench score, whereas the 9B model began to degrade significantly below 5-bit quantization. If you are using the smaller models, prioritize 8-bit (Q8_0) or higher to preserve the agent's reasoning capabilities.
The 35B MoE model is the gold standard for local agentic development, offering 397B-level logic at a fraction of the hardware footprint.
Step-by-Step: How to Install Ornith-1.0
The preferred way to run Ornith-1.0 is through the DeepReinforce SDK and Docker. This ensures the agent has a "sandbox" where it can safely execute commands without risking your host system. You can also find the model weights on Hugging Face.
- Prepare the Environment: Install Docker and ensure you have the NVIDIA Container Toolkit set up if using a GPU. For Mac users, ensure Docker Desktop is configured to use at least 16GB of allocated memory.
- Clone the Repository:
git clone https://github.com/deepreinforce-ai/Ornith-1.git - Pull the Model: Use the CLI to download your preferred variant. For the 35B MoE:
ornith-cli pull 35b-moE-q4. - Initialize the Sandbox: Run the setup script to create a secure execution environment:
./scripts/setup_sandbox.sh. This script configures a restricted Linux environment where the agent has no access to your/homedirectory unless explicitly mapped. - Launch the Agent: Start the agent in interactive mode:
ornith-agent --model 35b-moe --path ./my-project.
Configuring the Execution Sandbox
Safety is paramount when using agents that can run rm -rf. The setup_sandbox.sh script creates a read-only mount for your system files and a read-write volume only for the specific project folder. You can further restrict the agent by editing the sandbox.config.json file to whitelist only specific CLI tools like npm, pip, and pytest.
Always run agentic models in a Docker container; since Ornith-1.0 has the authority to execute terminal commands, a sandbox is your primary line of defense.






