Site search

Find architecture, research, and terms

Start typing to search the editorial index.

Reference guideTechnical

Developer Guide

Conceptual contracts, implementation boundaries, observability conventions, testing strategy, evidence requirements, and developer resources for MIR.

These pages publish conceptual contracts, reference schemas, and implementation guidance. They do not claim that a MiRuntime SDK, package, hosted runtime, or certification exists.

Engineering principles

  • Keep models replaceable behind capability-aware adapters.
  • Keep lifecycle, policy, approvals, tool execution, and evidence in typed software.
  • Make side effects bounded, idempotent, checkpointed, and recoverable.
  • Preserve context provenance and memory scope.
  • Use UTC timestamps and explicit terminal states.

Implementation pathways

Build sequence

  1. Define intent and success criteria.
  2. Define authority and tool contracts.
  3. Create durable lifecycle state.
  4. Add model adapters.
  5. Assemble scoped context.
  6. Validate proposals.
  7. Execute bounded side effects.
  8. Capture evidence.
  9. Recover or terminate.
  10. Evaluate the completed workflow.

Role-based reading paths

Application developer

Quickstart → Runtime Contract → Tool Contracts → Testing.

Platform engineer

Lifecycle → Model Adapters → Durable Execution → Deployment.

Security/governance engineer

Tool Policy → Evidence → Implementation Checklist → Teleodynamic Profile boundaries.

Research engineer

Teleodynamic Profile → Benchmarks → Reproducibility → Research program.

Runtime contract

Conceptual runtime contract
{
  "contractVersion": "1.0",
  "intent": {
    "objective": "Prepare a dependency update",
    "riskClass": "reversible-change",
    "successCriteria": ["tests-pass", "reviewable-diff"]
  },
  "context": {
    "sources": [],
    "memoryScopes": [],
    "prohibitedDataClasses": []
  },
  "authority": {
    "allowedTools": [],
    "writePolicy": "draft-only",
    "requiredApprovals": ["merge", "deploy"]
  },
  "execution": {
    "state": "running",
    "checkpointPolicy": "before-side-effect",
    "budgets": { "steps": 24, "elapsedSeconds": 900 }
  },
  "evidence": {
    "events": [],
    "artifacts": [],
    "unresolvedUncertainty": []
  }
}

Tool registry and policy

Tool contracts define schema, permissions, side effects, credentials, idempotency, timeout, rollback or compensation, approval, and evidence. Policy outcomes are allow, deny, require approval, transform, or escalate.

Testing stochastic workflows

Test deterministic boundaries exactly and probabilistic behavior through repeated trials, allowed outcome ranges, versioned fixtures, fault injection, policy assertions, and evidence completeness.

Reference downloads

JSON Schema

Conceptual runtime contract

JSON Schema for intent, context, authority, execution state, budgets, recovery, and evidence.

Download
JSON Schema

Conceptual tool contract

JSON Schema for typed inputs and outputs, permissions, side effects, credentials, idempotency, retries, and evidence.

Download
JSON Schema

Conceptual policy decision

JSON Schema for allow, deny, approval, transformation, and escalation decisions evaluated during execution.

Download
JSON Schema

Conceptual evidence event

JSON Schema for ordered runtime events, actors, status, tools, approvals, artifacts, errors, uncertainty, and integrity metadata.

Download
JSON Schema

Run lifecycle schema

JSON Schema for durable run state, sequence, concurrency, checkpoints, and terminal reasons.

Download
JSON Schema

Model adapter capability schema

JSON Schema for provider-neutral route identity, model capabilities, placement, and retry behavior.

Download
JSON Schema

Context package schema

JSON Schema for attributable sources, hashes, permissions, classifications, freshness, and selection reasons.

Download
JSON Schema

Checkpoint schema

JSON Schema for content-addressed checkpoints created before material side effects.

Download
JSON Schema

Evaluation case schema

JSON Schema for benchmark versions, model routes, runtime profiles, repetitions, metrics, and limitations.

Download
JSON Schema

Teleodynamic runtime profile schema

Research-only JSON Schema for bounded goals, viability metrics, reflection, edits, and immutable constraints.

Download
JSON example

Run lifecycle example

Conceptual JSON example for a reversible dependency-update run.

Download
JSON example

Evidence timeline example

Conceptual ordered event timeline from run creation through completion.

Download
JSON example

Teleodynamic profile example

Research-only JSON example with bounded goals, viability metrics, reflection, and a no-op proposal.

Download
JSON

Reference artifact index

Machine-readable inventory of the reference files distributed with this release.

Download

These files are conceptual MiRuntime editorial references, not a product SDK or certification profile.

Source record

References

Suggest a correction
  1. Model Context Protocol project. Model Context Protocol. Published 2025-11-25; last reviewed 2026-06-24 UTC. Protocol specification.

  2. OpenTelemetry project. Cloud Native Computing Foundation. Published Current specification repository; last reviewed 2026-06-24 UTC. Official specification.

  3. National Institute of Standards and Technology. NIST. Published 2023-01-26; last reviewed 2026-06-20 UTC. Government framework.

  4. OWASP Agentic Security Initiative. OWASP. Published Current guidance; last reviewed 2026-06-20 UTC. Security guidance.