agx-tui 0.2.1

Step-through debugger for your agent — terminal-native session timeline viewer for Claude Code, Codex, Gemini, LangChain, Vercel AI SDK, and OpenTelemetry GenAI traces
Documentation
{
  "id": "00000000-0000-4000-8000-000000000001",
  "name": "AgentExecutor",
  "run_type": "chain",
  "start_time": "2024-01-01T00:00:00Z",
  "end_time": "2024-01-01T00:00:05Z",
  "inputs": {
    "input": "List files in the current directory and tell me what's there."
  },
  "outputs": {
    "output": "The directory contains README.md, Cargo.toml, and a src/ folder."
  },
  "parent_run_id": null,
  "serialized": {"lc": 1, "type": "constructor", "id": ["langchain", "agents", "AgentExecutor"]},
  "child_runs": [
    {
      "id": "00000000-0000-4000-8000-000000000002",
      "name": "ChatOpenAI",
      "run_type": "chat_model",
      "start_time": "2024-01-01T00:00:00Z",
      "end_time": "2024-01-01T00:00:01Z",
      "parent_run_id": "00000000-0000-4000-8000-000000000001",
      "inputs": {
        "messages": [[
          {"type": "human", "data": {"content": "List files in the current directory and tell me what's there."}}
        ]]
      },
      "outputs": {
        "generations": [[
          {
            "text": "I'll list the files using the list_dir tool.",
            "message": {
              "type": "ai",
              "data": {
                "content": "I'll list the files using the list_dir tool.",
                "tool_calls": [
                  {"name": "list_dir", "args": {"path": "."}, "id": "call_synth_001"}
                ]
              }
            }
          }
        ]],
        "llm_output": {
          "token_usage": {"prompt_tokens": 120, "completion_tokens": 45, "total_tokens": 165},
          "model_name": "gpt-5"
        }
      },
      "extra": {"invocation_params": {"model": "gpt-5", "temperature": 0}}
    },
    {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "list_dir",
      "run_type": "tool",
      "start_time": "2024-01-01T00:00:01Z",
      "end_time": "2024-01-01T00:00:02Z",
      "parent_run_id": "00000000-0000-4000-8000-000000000001",
      "inputs": {"input": {"path": "."}},
      "outputs": {"output": "README.md\nCargo.toml\nsrc/\n"}
    },
    {
      "id": "00000000-0000-4000-8000-000000000004",
      "name": "ChatOpenAI",
      "run_type": "chat_model",
      "start_time": "2024-01-01T00:00:02Z",
      "end_time": "2024-01-01T00:00:03Z",
      "parent_run_id": "00000000-0000-4000-8000-000000000001",
      "inputs": {
        "messages": [[
          {"type": "human", "data": {"content": "..."}},
          {"type": "ai", "data": {"content": "I'll list the files using the list_dir tool."}},
          {"type": "tool", "data": {"content": "README.md\nCargo.toml\nsrc/\n", "tool_call_id": "call_synth_001"}}
        ]]
      },
      "outputs": {
        "generations": [[
          {
            "text": "The directory contains README.md, Cargo.toml, and a src/ folder.",
            "message": {
              "type": "ai",
              "data": {
                "content": "The directory contains README.md, Cargo.toml, and a src/ folder."
              }
            }
          }
        ]],
        "llm_output": {
          "token_usage": {"prompt_tokens": 180, "completion_tokens": 30, "total_tokens": 210},
          "model_name": "gpt-5"
        }
      }
    }
  ]
}