Skip to content

Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.

8.6 KB
Raw Blame
{
  "name": "two-runs",
  "transport": "sse",
  "recordedWith": {
    "copilotkit": "c21eeda029",
    "@ag-ui/client": "1.0.2"
  },
  "exchanges": [
    {
      "at": 57,
      "url": "http://127.0.0.1:4000/api/copilotkit",
      "method": "POST",
      "body": "{\"method\":\"agent/run\",\"params\":{\"agentId\":\"default\"},\"body\":{\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"fb3c9d5b-3612-4754-9574-19bdedd46d01\",\"protocolVersion\":\"1.0\",\"tools\":[],\"context\":[],\"forwardedProps\":{},\"state\":{},\"messages\":[{\"id\":\"beabf54a-850c-42e2-ad1b-7b985c45765a\",\"role\":\"user\",\"content\":\"Name one planet. One word only. Call no tools.\"}]}}",
      "status": 200,
      "contentType": "text/event-stream",
      "chunks": [
        {
          "at": 59,
          "text": "data: {\"type\":\"RUN_STARTED\",\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"fb3c9d5b-3612-4754-9574-19bdedd46d01\",\"protocolVersion\":\"1.0\",\"input\":{\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"fb3c9d5b-3612-4754-9574-19bdedd46d01\",\"protocolVersion\":\"1.0\",\"state\":{},\"messages\":[{\"id\":\"beabf54a-850c-42e2-ad1b-7b985c45765a\",\"role\":\"user\",\"content\":\"Name one planet. One word only. Call no tools.\"}],\"tools\":[],\"context\":[],\"forwardedProps\":{}}}\n\n"
        },
        {
          "at": 584,
          "text": "data: {\"type\":\"TEXT_MESSAGE_START\",\"messageId\":\"msg_04c9b51f991a75b7006ad7f6bc923c87d0ac29d7c4971803f9\",\"role\":\"assistant\"}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"msg_04c9b51f991a75b7006ad7f6bc923c87d0ac29d7c4971803f9\",\"delta\":\"Mars\"}\n\n"
        },
        {
          "at": 743,
          "text": "data: {\"type\":\"TEXT_MESSAGE_END\",\"messageId\":\"msg_04c9b51f991a75b7006ad7f6bc923c87d0ac29d7c4971803f9\"}\n\ndata: {\"type\":\"RUN_FINISHED\",\"metadata\":{\"finishReason\":\"stop\"},\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"fb3c9d5b-3612-4754-9574-19bdedd46d01\",\"usage\":[{\"provider\":\"openai.responses\",\"model\":\"gpt-4.1-mini\",\"inputTokens\":210,\"outputTokens\":3,\"totalTokens\":213,\"reasoningTokens\":0,\"cachedInputTokens\":0}]}\n\n"
        }
      ],
      "end": {
        "at": 744,
        "outcome": "complete"
      }
    },
    {
      "at": 745,
      "url": "http://127.0.0.1:4000/api/copilotkit",
      "method": "POST",
      "body": "{\"method\":\"agent/run\",\"params\":{\"agentId\":\"default\"},\"body\":{\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"9f9149e4-5e08-420d-84ee-cfbce74b2be5\",\"protocolVersion\":\"1.0\",\"tools\":[],\"context\":[],\"forwardedProps\":{},\"state\":{},\"messages\":[{\"id\":\"beabf54a-850c-42e2-ad1b-7b985c45765a\",\"role\":\"user\",\"content\":\"Name one planet. One word only. Call no tools.\"},{\"id\":\"msg_04c9b51f991a75b7006ad7f6bc923c87d0ac29d7c4971803f9\",\"role\":\"assistant\",\"content\":\"Mars\"},{\"id\":\"08487985-14ef-4007-9e37-8648762134dd\",\"role\":\"user\",\"content\":\"Name another one. One word only. Call no tools.\"}]}}",
      "status": 200,
      "contentType": "text/event-stream",
      "chunks": [
        {
          "at": 749,
          "text": "data: {\"type\":\"RUN_STARTED\",\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"9f9149e4-5e08-420d-84ee-cfbce74b2be5\",\"protocolVersion\":\"1.0\",\"input\":{\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"9f9149e4-5e08-420d-84ee-cfbce74b2be5\",\"protocolVersion\":\"1.0\",\"state\":{},\"messages\":[{\"id\":\"08487985-14ef-4007-9e37-8648762134dd\",\"role\":\"user\",\"content\":\"Name another one. One word only. Call no tools.\"}],\"tools\":[],\"context\":[],\"forwardedProps\":{}}}\n\n"
        },
        {
          "at": 1723,
          "text": "data: {\"type\":\"TEXT_MESSAGE_START\",\"messageId\":\"msg_004758eb733e6e10006ad7f6bdb18887d0957d2f697384cba7\",\"role\":\"assistant\"}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"msg_004758eb733e6e10006ad7f6bdb18887d0957d2f697384cba7\",\"delta\":\"Ven\"}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"msg_004758eb733e6e10006ad7f6bdb18887d0957d2f697384cba7\",\"delta\":\"us\"}\n\n"
        },
        {
          "at": 1862,
          "text": "data: {\"type\":\"TEXT_MESSAGE_END\",\"messageId\":\"msg_004758eb733e6e10006ad7f6bdb18887d0957d2f697384cba7\"}\n\ndata: {\"type\":\"RUN_FINISHED\",\"metadata\":{\"finishReason\":\"stop\"},\"threadId\":\"e7b6c023-7ca7-44e5-9fe1-130bca93f838\",\"runId\":\"9f9149e4-5e08-420d-84ee-cfbce74b2be5\",\"usage\":[{\"provider\":\"openai.responses\",\"model\":\"gpt-4.1-mini\",\"inputTokens\":231,\"outputTokens\":4,\"totalTokens\":235,\"reasoningTokens\":0,\"cachedInputTokens\":0}]}\n\n"
        }
      ],
      "end": {
        "at": 1863,
        "outcome": "complete"
      }
    }
  ],
  "frames": [],
  "sink": [
    {
      "trajectoryId": "e1d20228-fd46-47c6-9e00-90168d31d27c",
      "events": [
        {
          "type": "CUSTOM",
          "name": "page",
          "value": {
            "route": "/",
            "url": "http://127.0.0.1:4000/",
            "title": "",
            "referrer": "",
            "seq": 1
          },
          "timestamp": 1792538300037
        },
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "beabf54a-850c-42e2-ad1b-7b985c45765a",
            "runId": null,
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "role": "user",
            "textLength": 46,
            "text": "Name one planet. One word only. Call no tools.",
            "seq": 2
          },
          "timestamp": 1792538300088
        },
        {
          "type": "CUSTOM",
          "name": "agent.run",
          "value": {
            "phase": "started",
            "runId": "fb3c9d5b-3612-4754-9574-19bdedd46d01",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "seq": 3
          },
          "timestamp": 1792538300096
        },
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "msg_04c9b51f991a75b7006ad7f6bc923c87d0ac29d7c4971803f9",
            "runId": "fb3c9d5b-3612-4754-9574-19bdedd46d01",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "role": "assistant",
            "textLength": 4,
            "text": "Mars",
            "seq": 4
          },
          "timestamp": 1792538300781
        },
        {
          "type": "CUSTOM",
          "name": "agent.run",
          "value": {
            "phase": "finished",
            "runId": "fb3c9d5b-3612-4754-9574-19bdedd46d01",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "seq": 5
          },
          "timestamp": 1792538300781
        },
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "08487985-14ef-4007-9e37-8648762134dd",
            "runId": "fb3c9d5b-3612-4754-9574-19bdedd46d01",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "role": "user",
            "textLength": 47,
            "text": "Name another one. One word only. Call no tools.",
            "seq": 6
          },
          "timestamp": 1792538300781
        },
        {
          "type": "CUSTOM",
          "name": "agent.run",
          "value": {
            "phase": "started",
            "runId": "9f9149e4-5e08-420d-84ee-cfbce74b2be5",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "seq": 7
          },
          "timestamp": 1792538300785
        },
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "msg_004758eb733e6e10006ad7f6bdb18887d0957d2f697384cba7",
            "runId": "9f9149e4-5e08-420d-84ee-cfbce74b2be5",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "role": "assistant",
            "textLength": 5,
            "text": "Venus",
            "seq": 8
          },
          "timestamp": 1792538301899
        },
        {
          "type": "CUSTOM",
          "name": "agent.run",
          "value": {
            "phase": "finished",
            "runId": "9f9149e4-5e08-420d-84ee-cfbce74b2be5",
            "threadId": "e7b6c023-7ca7-44e5-9fe1-130bca93f838",
            "agentId": "default",
            "seq": 9
          },
          "timestamp": 1792538301900
        }
      ],
      "dropped": 0
    }
  ]
}