ChronicleSchema

A MessageAction for a reply from an AI assistant. The agent is the assistant, a SoftwareAgent. The model that generated the reply is the instrument, a SoftwareApplication.

The Message is part of a Thread for the session, and the thread is part of the Project the session ran in. The project is keyed by its directory path, which is only unique on one machine, so the key includes the Realm from inRealm.

{
  "@type": "MessageAction",
  "@key": ["@type", "source", "sourceId"],
  "source": "claude-code",
  "sourceId": "0b7e4c2a-9f13-4d6b-8a5e-2c1f7d9b3e40",
  "timestamp": "2026-07-02T10:41:26.000Z",
  "agent": {
    "@type": "SoftwareAgent",
    "@key": ["@type", "source", "handle"],
    "source": "anthropic",
    "handle": "claude",
    "name": "Claude"
  },
  "instrument": {
    "@type": "SoftwareApplication",
    "@key": ["@type", "source", "handle"],
    "source": "anthropic",
    "handle": "claude-sonnet-5",
    "name": "claude-sonnet-5"
  },
  "object": {
    "@type": "Message",
    "@key": ["@type", "source", "sourceId"],
    "source": "claude-code",
    "sourceId": "0b7e4c2a-9f13-4d6b-8a5e-2c1f7d9b3e40",
    "body": "The test fails when the clock crosses midnight UTC. Pinning the date fixes it.",
    "author": [
      {
        "@type": "SoftwareAgent",
        "@key": ["@type", "source", "handle"],
        "source": "anthropic",
        "handle": "claude",
        "name": "Claude"
      }
    ],
    "isPartOf": [
      {
        "@type": "Thread",
        "@key": ["@type", "source", "sourceId"],
        "source": "claude-code",
        "sourceId": "6d2a9e71-3c5b-4f08-b4e2-9a7c1d5f8e26",
        "name": "Fix the flaky date test",
        "isPartOf": [
          {
            "@type": "Project",
            "@key": ["@type", "source", "handle", "inRealm.handle"],
            "source": "claude-code",
            "handle": "/Users/sam/code/garden-planner",
            "name": "/Users/sam/code/garden-planner",
            "inRealm": {
              "@type": "Realm",
              "@key": ["@type", "source", "handle"],
              "source": "hostname",
              "handle": "studio"
            }
          }
        ]
      }
    ]
  }
}

Terms in this example

MessageProjectRealmSoftwareAgentSoftwareApplicationThreadauthorinRealminstrumentisPartOf

Esc

to move to open/ or ⌘K to search