Generates model outputs
Loads weights, schedules inference, manages caches, and decodes tokens.
The runtime layer after the model
Machine Intelligence Runtime is the execution control plane between applications and model inference. It coordinates agents, tools, memory, policy, approvals, recovery, and evidence so probabilistic models can perform controlled, reviewable work.

Category definition
Machine Intelligence Runtime is an emerging architectural category. It composes existing systems rather than renaming them.
Loads weights, schedules inference, manages caches, and decodes tokens.
Provides prompts, loops, planning patterns, and tool declarations.
Controls state, authority, tools, memory, recovery, approvals, and evidence while work happens.
What MIR is not: a synonym for an inference server, a claim that one framework solves every runtime concern, or a settled industry standard.
Four runtime responsibilities
state.objectivePrepare dependency updaterisk: reversible-changeMaintain visibility into state, context, tools, uncertainty, budgets, and pending consequences.
policy.decisionrequire-approvalaction: deploy.productionEnforce schemas, permissions, data rules, budgets, egress, and approval gates before side effects.
checkpoint.restorerecoveredattempt: 2 · version adjustedRetry safely, checkpoint, roll back, compensate, reroute, pause, or escalate.
artifact.patchsha256:8c2…sources · tests · approvalPreserve sources, actions, artifacts, decisions, errors, and unresolved uncertainty.
Interactive reference architecture
Select any layer to inspect its responsibilities, inputs, outputs, failure modes, and what must remain outside the prompt.
Captures user intent and presents reviewable outcomes.
Maintains state, schedules steps, budgets work, and selects recovery paths.
Evaluates identity, risk, data, tools, and required approvals.
Selects scoped, attributable, current information for the run.
Executes typed actions through bounded adapters.
Normalizes model capabilities, streaming, tools, budgets, and errors.
Preserves operational traces and user-facing execution evidence.
Controlled execution demo
This fictional repository update teaches the architecture. It does not simulate a live product.
Scope and provenance are implicit.
The tool receives broad write authority.
No checkpoint, approval state, or evidence package.
Objective and reversible-change risk class recorded.
Manifest, lockfile, policy, and relevant source files only.
No write occurs yet.
Draft-only authority and dependency allowlist enforced.
Checkpoint created; network egress constrained.
External effect requires approval.
Diff, tests, sources, policy decision, and uncertainty.
Managed runtime pattern
Continuity and accountability
context.selectedverified4 repository sources admitted; credentials and unrelated files excluded.
policy.decidedallowedDraft-only write permitted. Deployment denied without approval.
tool.completedcompletedDependency manifest updated in isolated branch; idempotency key recorded.
test.failedrecoveredInitial test failed; runtime restored checkpoint and selected compatible version.
approval.requestedpendingPublish action paused. Diff, tests, and rollback path attached.
artifact.producedverifiedReviewable patch and decision summary sealed into evidence package.
Security and governance
Agentic security requires defense in depth across content, identity, tools, memory, execution, and evidence.
| Threat | Failure path | Controls | Status |
|---|---|---|---|
| Indirect prompt injection | Retrieved content manipulates the agent | Treat external content as untrusted data; isolate instructions; constrain tools; require approval for high-impact actions | Production practice + active research |
| Overprivileged tools | Agent can act beyond the current objective | Default deny, scoped credentials, permission classes, resource-level authorization | Production practice |
| Credential leakage | Secrets enter prompts, logs, or tool output | Vault-issued short-lived credentials; redaction; secret-free evidence | Production practice |
| Data exfiltration | Tool or connector sends sensitive content outward | Egress allowlists, DLP, data minimization, destination binding | Production practice |
| Runaway loops | Agent consumes unbounded time or resources | Step, token, cost, time, and tool budgets; circuit breaker; stop authority | Production practice |
| Poisoned memory | Stale or adversarial memory affects future runs | Provenance, scopes, confidence, review, correction, expiration | Production pattern |
| Silent side effects | External state changes without reviewable trace | Typed actions, checkpoints, approval gates, evidence events | Production practice |
| Cross-agent trust failure | Peer agent is treated as inherently trusted | Mutual identity, bounded delegation, schema validation, independent policy | Evolving practice |
Production controls and research proposals are labeled separately. See the complete runtime threat model.
Runtime intelligence and performance
Task-level performance includes success, recovery, approval delay, tool reliability, context efficiency, cost, energy, evidence completeness, and policy outcomes.
Protocols and ecosystem
Understand MCP, A2A, gateways, model servers, and observability
Use cases
Checkpoints, isolated tools, diffs, approvals, and evidence.
Data boundaries, policy gates, provenance, and qualified review.
Local tools, hybrid model routing, and exportable evidence.
Runtime profiles, registries, identity, observability, and tenant isolation.
Developer preview
The reference contracts are conceptual. They provide stable shapes for implementations built with existing model servers, policy engines, workflow systems, and observability stacks.
{
"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": []
}
}Research hub
The research hub separates primary sources, vendor implementations, research prototypes, editorial synthesis, and forecasts.
Definition, architecture, governance, developer workflows, and research gaps.
Last reviewed 2026-06-20 UTC Editorial synthesisRuntime intelligence, managed execution, protocols, security, performance, and scenarios.
Last reviewed 2026-06-20 UTC Primary-source indexSearch papers, official documentation, government guidance, and protocols by topic and status.
Reviewed sourcesFuture scenarios
Typed tools, scoped credentials, isolated execution, approvals, telemetry, and evidence.
More common schemas for tools, evidence, lifecycle, and deployment profiles are plausible.
Systems allocate test-time compute and diagnose recurring failure under independent validation.
Independent runtimes exchange bounded work and evidence across trust domains.
Help define the runtime layer after the model
MiRuntime documents the architectures, controls, and evidence systems required to govern intelligence while it runs.