Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

4.2 KB
Raw Blame
[
  {
    "id": "msg-user-1",
    "role": "user",
    "content": "Create three parallel tasks to research AI topics.",
    "parentId": null,
    "createdAt": 1735526559382,
    "updatedAt": 1735526559382
  },
  {
    "id": "msg-assistant-1",
    "role": "assistant",
    "content": "Creating three parallel research tasks.",
    "parentId": "msg-user-1",
    "createdAt": 1735526560163,
    "updatedAt": 1735526585550,
    "model": "gpt-4",
    "provider": "openai",
    "tools": [
      {
        "id": "call_exec_tasks_1",
        "type": "builtin",
        "apiName": "callSubAgents",
        "arguments": "{\"tasks\": [{\"description\": \"Research LLM architectures\"}, {\"description\": \"Research AI agents\"}, {\"description\": \"Research RAG systems\"}]}",
        "identifier": "lobe-agent"
      }
    ]
  },
  {
    "id": "msg-tool-1",
    "role": "tool",
    "content": "Triggered 3 async tasks",
    "parentId": "msg-assistant-1",
    "tool_call_id": "call_exec_tasks_1",
    "createdAt": 1735526588116,
    "updatedAt": 1735526591337,
    "pluginState": {
      "type": "execSubAgents",
      "tasks": [
        { "description": "Research LLM architectures" },
        { "description": "Research AI agents" },
        { "description": "Research RAG systems" }
      ],
      "parentMessageId": "msg-tool-1"
    }
  },
  {
    "id": "msg-task-llm",
    "role": "task",
    "content": "# LLM Architectures\n\nTransformer-based models dominate...",
    "parentId": "msg-tool-1",
    "createdAt": 1735526594643,
    "updatedAt": 1735526756262,
    "taskDetail": {
      "duration": 120000,
      "status": "completed",
      "threadId": "thd_llm",
      "title": "Research LLM architectures",
      "totalCost": 0.015,
      "totalMessages": 15,
      "totalTokens": 100000
    }
  },
  {
    "id": "msg-task-agents",
    "role": "task",
    "content": "# AI Agents\n\nAutonomous agents using LLMs...",
    "parentId": "msg-tool-1",
    "createdAt": 1735526595647,
    "updatedAt": 1735526792430,
    "taskDetail": {
      "duration": 150000,
      "status": "completed",
      "threadId": "thd_agents",
      "title": "Research AI agents",
      "totalCost": 0.018,
      "totalMessages": 20,
      "totalTokens": 120000
    }
  },
  {
    "id": "msg-task-rag",
    "role": "task",
    "content": "# RAG Systems\n\nRetrieval Augmented Generation combines...",
    "parentId": "msg-tool-1",
    "createdAt": 1735526596000,
    "updatedAt": 1735526800000,
    "taskDetail": {
      "duration": 130000,
      "status": "completed",
      "threadId": "thd_rag",
      "title": "Research RAG systems",
      "totalCost": 0.016,
      "totalMessages": 18,
      "totalTokens": 110000
    }
  },
  {
    "id": "msg-assistant-after-task",
    "role": "assistant",
    "content": "All tasks completed. Let me check the analysis files created.",
    "parentId": "msg-task-rag",
    "createdAt": 1735526810000,
    "updatedAt": 1735526815000,
    "agentId": "agent-main",
    "model": "gpt-4",
    "provider": "openai",
    "tools": [
      {
        "id": "call_list_files",
        "type": "builtin",
        "apiName": "listFiles",
        "arguments": "{\"path\": \"/analysis\"}",
        "identifier": "lobe-local-system"
      }
    ],
    "metadata": {
      "totalInputTokens": 100,
      "totalOutputTokens": 50,
      "totalTokens": 150,
      "cost": 0.001
    }
  },
  {
    "id": "msg-tool-list-files",
    "role": "tool",
    "content": "./ANALYSIS_1.md\n./ANALYSIS_2.md\n./ANALYSIS_3.md",
    "parentId": "msg-assistant-after-task",
    "tool_call_id": "call_list_files",
    "createdAt": 1735526816000,
    "updatedAt": 1735526817000,
    "pluginState": {
      "result": {
        "output": "./ANALYSIS_1.md\n./ANALYSIS_2.md\n./ANALYSIS_3.md",
        "success": true
      }
    }
  },
  {
    "id": "msg-assistant-final",
    "role": "assistant",
    "content": "I found 3 analysis files. Let me summarize the findings for you.",
    "parentId": "msg-tool-list-files",
    "createdAt": 1735526820000,
    "updatedAt": 1735526825000,
    "agentId": "agent-main",
    "model": "gpt-4",
    "provider": "openai",
    "metadata": {
      "totalInputTokens": 200,
      "totalOutputTokens": 80,
      "totalTokens": 280,
      "cost": 0.002
    }
  }
]