Orion Cosmos 2 Harness was built as an experimental step up above Orion Cosmos. It pairs an autonomous on-device agentic loop with a self-healing tool-call harness and a persistent infinite RAG memory architecture. While Cosmos 2 Harness demonstrates what is possible locally on iPhone, real-world testing also revealed clear latency and reliability limits with current compact on-device SOTA models. As a result, Orion Cosmos 2 now lives under More models, while our flagship router, Orion Saga, takes the primary slot.
Self-Healing Tool-Call Repair
Compact local models occasionally mix up tool names, skill names, and JSON structure. The Cosmos 2 tool healer sits between the model stream and tool execution to automatically recover from common formatting mistakes:
- Skill/tool cross-redirection: Calling a skill slug as if it were a tool (such as
{"name":"speech-mannerisms"}) automatically redirects toread_skill. Calling a tool name insideread_skillredirects back to the actual tool. - Fuzzy name and key repair: Levenshtein distance matching and alias tables automatically fix misspelled tool names (for example,
run_pyhtontorun_python) and aliased parameter keys (such asscripttocodeorqtoquery). - Structural JSON repair: Flattens nested
arguments/parametersobjects, mapsfunction/tool/actionkeys toname, strips trailing commas and code fences, and tolerates unclosed trailing tags.
Orion Infinite Memory and Management
Cosmos 2 Harness introduces a persistent, user-inspectable memory system accessible under Settings → AI Memory → Orion Infinite Memory:
- Infinite Memory Bullet Points (RAG): An unbounded list of local bullet-point memories stored on-device, never dumped wholesale into the prompt. Cosmos 2 searches them on demand via TF-IDF RAG and manages them automatically alongside the user's manual Settings memory and additional instructions.
Observed Issues and Why Cosmos 2 Moved to More Models
Despite the upgraded harness, testing on iPhone surfaced three practical limitations:
- High latency: Between the large multi-tool system prompt and multi-turn tool loops, Cosmos 2 Harness is noticeably slower to answer than plain Orion.
- Occasional mistakes and malformed calls: Even with automatic repair, the model still makes occasional tool-selection mistakes, redundant memory writes, or malformed tool calls that cannot be unambiguously healed.
- Harness complexity vs. current local SOTA: The autonomous harness demands more multi-step discipline than current compact on-device models can consistently sustain on every turn.
What Comes Next: Orion Saga
Because of those trade-offs, Orion Cosmos 2 has been moved to More models for power users who want to experiment with autonomous memory and self-healing tool loops. Taking its place at the top of the picker is Orion Saga, a fast, deterministic router that combines exact 1.00 matches on Orion Lite 4, specialist Stars (Math, Writing, Coding, Science, Sourcer), and Orion as a reliable fallback.
Get Orion on the App Store or read the Orion Lite 4 System Card.