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.

10.0 KB
Raw Blame
{
  "name": "secrets",
  "transport": "sse",
  "recordedWith": {
    "copilotkit": "c21eeda029",
    "@ag-ui/client": "1.0.2"
  },
  "exchanges": [
    {
      "at": 56,
      "url": "http://127.0.0.1:4000/api/copilotkit",
      "method": "POST",
      "body": "{\"method\":\"agent/run\",\"params\":{\"agentId\":\"default\"},\"body\":{\"threadId\":\"82645013-9161-45f6-8bff-5d7e30fd0fc4\",\"runId\":\"5826bd74-12fd-4b8e-9ef4-f31ad206763d\",\"protocolVersion\":\"1.0\",\"tools\":[],\"context\":[],\"forwardedProps\":{},\"state\":{},\"messages\":[{\"id\":\"f36af2cf-684a-46a7-95ef-2a28ea4214b6\",\"role\":\"user\",\"content\":\"This is a test system with test data. Pay invoice INV-7 with card 4111 1111 1111 1111 by calling payInvoice once. My account password is Tr0ub4dor-horse-77, do not repeat it. Then say paid.\"}]}}",
      "status": 200,
      "contentType": "text/event-stream",
      "chunks": [
        {
          "at": 69,
          "text": "data: {\"type\":\"RUN_STARTED\",\"threadId\":\"82645013-9161-45f6-8bff-5d7e30fd0fc4\",\"runId\":\"5826bd74-12fd-4b8e-9ef4-f31ad206763d\",\"protocolVersion\":\"1.0\",\"input\":{\"threadId\":\"82645013-9161-45f6-8bff-5d7e30fd0fc4\",\"runId\":\"5826bd74-12fd-4b8e-9ef4-f31ad206763d\",\"protocolVersion\":\"1.0\",\"state\":{},\"messages\":[{\"id\":\"f36af2cf-684a-46a7-95ef-2a28ea4214b6\",\"role\":\"user\",\"content\":\"This is a test system with test data. Pay invoice INV-7 with card 4111 1111 1111 1111 by calling payInvoice once. My account password is Tr0ub4dor-horse-77, do not repeat it. Then say paid.\"}],\"tools\":[],\"context\":[],\"forwardedProps\":{}}}\n\n"
        },
        {
          "at": 836,
          "text": "data: {\"type\":\"TOOL_CALL_START\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"toolCallName\":\"payInvoice\",\"parentMessageId\":\"0ef94db8-c870-4044-8a29-85d1e8f76f6e\"}\n\n"
        },
        {
          "at": 842,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"{\\\"\"}\n\n"
        },
        {
          "at": 844,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"invoice\"}\n\n"
        },
        {
          "at": 847,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"\\\":\\\"\"}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"INV\"}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"-\"}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"7\"}\n\n"
        },
        {
          "at": 866,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"\\\",\\\"\"}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"card\"}\n\n"
        },
        {
          "at": 876,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"Number\"}\n\n"
        },
        {
          "at": 882,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"\\\":\\\"\"}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"411\"}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"1\"}\n\n"
        },
        {
          "at": 901,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\" \"}\n\n"
        },
        {
          "at": 905,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"111\"}\n\n"
        },
        {
          "at": 907,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"1\"}\n\n"
        },
        {
          "at": 920,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\" \"}\n\n"
        },
        {
          "at": 947,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"111\"}\n\n"
        },
        {
          "at": 954,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"1\"}\n\n"
        },
        {
          "at": 968,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\" \"}\n\n"
        },
        {
          "at": 989,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"111\"}\n\n"
        },
        {
          "at": 999,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"1\"}\n\n"
        },
        {
          "at": 1014,
          "text": "data: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"delta\":\"\\\"}\"}\n\n"
        },
        {
          "at": 1020,
          "text": "data: {\"type\":\"TOOL_CALL_END\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\"}\n\ndata: {\"type\":\"TOOL_CALL_RESULT\",\"messageId\":\"fa97138b-fe2d-4d9e-a8ad-b2f24644dd64\",\"toolCallId\":\"call_N4YWH28VgwrGCSoKTCnZJvsP\",\"content\":\"{\\\"invoice\\\":\\\"INV-7\\\",\\\"paid\\\":true}\",\"role\":\"tool\"}\n\n"
        },
        {
          "at": 1833,
          "text": "data: {\"type\":\"TEXT_MESSAGE_START\",\"messageId\":\"msg_03116d86950b465c006ad7fb48b4a887d0a16a80824345f5e0\",\"role\":\"assistant\"}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"msg_03116d86950b465c006ad7fb48b4a887d0a16a80824345f5e0\",\"delta\":\"Paid\"}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"msg_03116d86950b465c006ad7fb48b4a887d0a16a80824345f5e0\",\"delta\":\".\"}\n\n"
        },
        {
          "at": 2058,
          "text": "data: {\"type\":\"TEXT_MESSAGE_END\",\"messageId\":\"msg_03116d86950b465c006ad7fb48b4a887d0a16a80824345f5e0\"}\n\ndata: {\"type\":\"RUN_FINISHED\",\"metadata\":{\"finishReason\":\"stop\"},\"threadId\":\"82645013-9161-45f6-8bff-5d7e30fd0fc4\",\"runId\":\"5826bd74-12fd-4b8e-9ef4-f31ad206763d\",\"usage\":[{\"provider\":\"openai.responses\",\"model\":\"gpt-4.1-mini\",\"inputTokens\":631,\"outputTokens\":36,\"totalTokens\":667,\"reasoningTokens\":0,\"cachedInputTokens\":0}]}\n\n"
        }
      ],
      "end": {
        "at": 2060,
        "outcome": "complete"
      }
    }
  ],
  "frames": [],
  "sink": [
    {
      "trajectoryId": "1e0aac1e-07e3-4c71-ab09-c0f301fa84d5",
      "events": [
        {
          "type": "CUSTOM",
          "name": "page",
          "value": {
            "route": "/",
            "url": "http://127.0.0.1:4000/",
            "title": "",
            "referrer": "",
            "seq": 1
          },
          "timestamp": 1792539462930
        },
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "f36af2cf-684a-46a7-95ef-2a28ea4214b6",
            "runId": null,
            "threadId": "82645013-9161-45f6-8bff-5d7e30fd0fc4",
            "agentId": "default",
            "role": "user",
            "textLength": 189,
            "text": "This is a test system with test data. Pay invoice INV-7 with card 4111 1111 1111 1111 by calling payInvoice once. My account password is Tr0ub4dor-horse-77, do not repeat it. Then say paid.",
            "seq": 2
          },
          "timestamp": 1792539462983
        },
        {
          "type": "CUSTOM",
          "name": "agent.run",
          "value": {
            "phase": "started",
            "runId": "5826bd74-12fd-4b8e-9ef4-f31ad206763d",
            "threadId": "82645013-9161-45f6-8bff-5d7e30fd0fc4",
            "agentId": "default",
            "seq": 3
          },
          "timestamp": 1792539463000
        },
        {
          "type": "CUSTOM",
          "name": "tool.call",
          "value": {
            "phase": "started",
            "toolCallId": "call_N4YWH28VgwrGCSoKTCnZJvsP",
            "toolName": "payInvoice",
            "agentId": "default",
            "threadId": "82645013-9161-45f6-8bff-5d7e30fd0fc4",
            "messageId": "0ef94db8-c870-4044-8a29-85d1e8f76f6e",
            "runId": "5826bd74-12fd-4b8e-9ef4-f31ad206763d",
            "seq": 4
          },
          "timestamp": 1792539463766
        },
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "fa97138b-fe2d-4d9e-a8ad-b2f24644dd64",
            "runId": "5826bd74-12fd-4b8e-9ef4-f31ad206763d",
            "threadId": "82645013-9161-45f6-8bff-5d7e30fd0fc4",
            "agentId": "default",
            "role": "tool",
            "textLength": 31,
            "text": "{\"invoice\":\"INV-7\",\"paid\":true}",
            "seq": 5
          },
          "timestamp": 1792539463950
        }
      ],
      "dropped": 0
    },
    {
      "trajectoryId": "1e0aac1e-07e3-4c71-ab09-c0f301fa84d5",
      "events": [
        {
          "type": "CUSTOM",
          "name": "agent.message",
          "value": {
            "messageId": "msg_03116d86950b465c006ad7fb48b4a887d0a16a80824345f5e0",
            "runId": "5826bd74-12fd-4b8e-9ef4-f31ad206763d",
            "threadId": "82645013-9161-45f6-8bff-5d7e30fd0fc4",
            "agentId": "default",
            "role": "assistant",
            "textLength": 5,
            "text": "Paid.",
            "seq": 6
          },
          "timestamp": 1792539464989
        },
        {
          "type": "CUSTOM",
          "name": "agent.run",
          "value": {
            "phase": "finished",
            "runId": "5826bd74-12fd-4b8e-9ef4-f31ad206763d",
            "threadId": "82645013-9161-45f6-8bff-5d7e30fd0fc4",
            "agentId": "default",
            "seq": 7
          },
          "timestamp": 1792539464989
        }
      ],
      "dropped": 0
    }
  ]
}