Trajectory IR LogoTrajectory IR
0.2.x∨

Welcome to Trajectory IR

Portable, hash-verifiable intermediate representation for agent execution trajectories.

Portable, hash-verifiable intermediate representation for agent execution trajectories.

Trajectory IR is the flight recorder and safety switch for agent runs: seal the model’s plan before side effects, classify tool effects, resume without re-inventing the plan, and export a runtime-independent .tir package anyone can verify by content hash. It sits on top of durable execution engines (Temporal, DBOS, Restate) — it does not replace them, and it is not another agent framework.

Rendering diagram...
  Agent host / framework     (LangGraph, custom loops, MCP hosts, …)
            │
            ▼
  ┌─────────────────────────────┐
  │       Trajectory IR         │  seals · effect classes · .tir · sandbox
  └─────────────────────────────┘
            │
            ▼
  Durable backend              (Temporal · DBOS · Restate)

Failure today → what Trajectory IR adds

Failure todayWhat Trajectory IR adds
Crash mid-tool → retry double-fires a writeBlock-and-gate + durable backend memoization
Resume re-asks the model → silent plan driftSealed DECISION is the plan; resume replays it
History locked in one frameworkPortable thin/fat .tir with hash-checked node IDs
Demo can charge / email / deploy for realSandbox mode blocks dangerous effect classes

Who is this for?

AudienceStart here
Students / newcomersGo Quickstart → Sandbox demo
Agent / platform engineersHow it fits → Concepts
Security / complianceSeals + .tir + Security
ContributorsContributing · Go first for new features
AI coding agentsEngine master spec — implement the spec, don’t invent APIs

Next steps


Status (honest)

  • Spec: spec-v0.2-draft
  • Phase: 1C harden and adopt (Go primary; Python reference / parity)
  • License: Apache-2.0
  • OpenSSF Best Practices
  • CNCF Sandbox: preparing — not claimed as membership
  • Adopters: none listed yet — empty is honest

OpenSSF Best Practices