Research & Architecture

ROSTR is built on peer-reviewed research in multi-agent orchestration, prompt engineering, and knowledge management. All claims are backed by reproducible benchmarks.

Research Paper

ROSTR: A Multi-Layered Intelligence Framework for Self-Improving Agent Systems

We present ROSTR (Reasoning Orchestration with Structured Task Resolution), a four-layer architectural framework that extends agent runtime systems with structured intelligence primitives. Evaluation across 11 benchmark tasks shows +15.2pp task completion improvement, +11.5pp accuracy gain, and +19.7pp coherence enhancement over baseline agent runtimes.

Patrick Diamitani July 2026 3,200+ words 27 references
Technical Paper

ROSTR: A Multi-Model AI Agent Platform with Phase-Aware Orchestration

Documents the production system architecture, implementation details, and empirical benchmark results from testing five local language models against standardized agent tasks. Key finding: structured orchestration improves task completion by 15 percentage points, and NPAO-based model selection enables optimal quality-latency tradeoffs.

Patrick Diamitani July 2026 Diamitani Industries
Evaluation Report

ROSTR vs. Hermes Baseline: 11-Task Comparative Evaluation

Controlled evaluation comparing ROSTR-enhanced agent performance against unmodified Hermes runtime across GTM, code, content, analytics, ops, productivity, research, and integration domains. Full methodology, scoring rubrics, and per-task breakdowns included.

11 tasks 8 domains Automated + human scoring

Key Results

88.6%
Task Completion
+15.2pp vs baseline
85.1%
Top Model Score
deepseek-r1:14b
1,048
Integrations
via Composio v3
202
Tests Passing
PAL + Hub + Orchestrator

ROSTR + Hermes: Evaluation Results

ROSTR is built as an architectural layer on top of Hermes Agent (Nous Research). The evaluation below shows what ROSTR adds to the Hermes baseline β€” measured across 11 real-world tasks spanning 8 domains.

76.9%
Hermes Baseline
Task completion
88.6%
ROSTR + Hermes
+15.2pp improvement
71.4%
Hermes Coherence
Baseline
85.5%
ROSTR Coherence
+19.7pp improvement
MetricHermes BaselineROSTR + HermesImprovement
Task Completion76.9%88.6%+15.2pp
Accuracy70.5%78.5%+11.5pp
Coherence71.4%85.5%+19.7pp
Decision Quality69.9%79.0%+13.0pp

Evaluated on 11 tasks across GTM, code, content, analytics, ops, productivity, research, and integration domains. Hermes baseline: unmodified runtime with no ROSTR layers. ROSTR: PAL + NPAO + RAG DAL + Hub all active. Full methodology β†’

What ROSTR adds to Hermes
PAL β€” Prompt Abstraction Layer
Compiles raw user input into structured agent manifests. 5-stage pipeline eliminates prompt fragility.
NPAO β€” Decision Engine
4D priority scoring routes each task to the right model and handler. Replaces one-size-fits-all routing.
RAG DAL β€” Knowledge Engine
3-tier multi-pass retrieval with credibility scoring. Grounds responses in verified context.
Hub β€” Persistent State
6-level state inheritance (session→global). Agents learn and compound knowledge across sessions.

Multi-LLM Benchmark (July 2026)

5 tasks per model: Intent Compilation, NPAO Routing, RAG Grounding, Hub Synthesis, Full Pipeline. Scoring: automated criteria matching + structural analysis.

RankModelProviderQualityLatencyValue Score
1deepseek-r1:14bOllama85.1%33s101.6
2qwen2.5-coder:14bOllama84.4%15s127.0
3qwen:latestOllama71.2%3s176.5
4deepseek-coder:6.7bOllama67.9%5s146.9
5qwen3.5:latestOllama57.7%98s57.7

Value Score = Quality Γ— Speed^0.3. Full methodology β†’

PAL Smart Routing β€” Verified Real Outputs

Run locally July 24, 2026. No mocks. PAL determines domain, urgency, and model selection deterministically β€” no LLM call needed.

InputDomainUrgencyModel SelectedTools
Research Stripe, write cold email to VP Salessalesnormalclaude-sonnet-4web_search, crm_api
Critical production bug: auth down, 500s on logindebugcriticalclaude-opus-4code_execution, file_read
Build dashboard: monthly pipeline data by repdeploynormalclaude-sonnet-4code_execution, file_read
Competitive battle card vs Salesforcesalesnormalclaude-sonnet-4web_search, crm_api
Create web app for Artispreneur booking calendarcodenormalclaude-sonnet-4code_execution, file_read

Critical urgency β†’ Opus (quality first). Normal β†’ Sonnet. PAL selects tools by domain: sales gets CRM, debug/code gets code_execution.

System Architecture

User Input
    β†“
PAL Compiler (5 stages: Intent β†’ Context β†’ Enhancement β†’ Routing β†’ Manifest)
    β†“
NPAO Router (4D scoring: Necessity=0.35, Priority=0.25, Anxiety=0.25, Opportunity=0.15)
    β†“
Model Selection β†’ 9 providers (OpenAI, Anthropic, Gemini, OpenRouter, Bedrock, Azure, LM Studio, Ollama, Nous)
    β†“
RAG DAL (3-tier retrieval with credibility scoring)
    β†“
Hub (SQLite WAL, 6-level state: session β†’ project β†’ team β†’ org β†’ agent β†’ global)
    β†“
Composio (1,048 integrations via OAuth, v3 API)
    β†“
Output

Demo Video

Patrick Diamitani demonstrates ROSTR Agent β€” PAL compilation, NPAO routing, and multi-model benchmarks.