From ed1a54f3759ec671823f024efa64197fc239e14e Mon Sep 17 00:00:00 2001 From: Felix Su Date: Sun, 27 Jul 2025 21:06:13 -0700 Subject: [PATCH 1/2] All notebookes updates --- .../tutorials/00_sync/000_hello_acp/dev.ipynb | 108 +- .../tutorials/00_sync/010_multiturn/dev.ipynb | 117 +-- .../tutorials/00_sync/020_streaming/dev.ipynb | 70 +- .../00_base/000_hello_acp/dev.ipynb | 101 +- .../00_base/010_multiturn/dev.ipynb | 131 +-- .../00_base/020_streaming/dev.ipynb | 144 ++- .../10_agentic/00_base/030_tracing/dev.ipynb | 95 +- .../00_base/040_other_sdks/dev.ipynb | 429 ++++---- .../00_base/080_batch_events/dev.ipynb | 70 +- .../10_temporal/000_hello_acp/dev.ipynb | 47 +- .../10_temporal/010_agent_chat/dev.ipynb | 444 +++++---- .../10_temporal/020_state_machine/dev.ipynb | 925 +++++++++++++----- pyproject.toml | 1 + .../lib/cli/templates/default/dev.ipynb.j2 | 31 +- .../lib/cli/templates/sync/dev.ipynb.j2 | 72 +- .../lib/cli/templates/temporal/dev.ipynb.j2 | 31 +- src/agentex/resources/agents.py | 514 +++++++++- src/agentex/types/agent_rpc_response.py | 36 +- uv.lock | 40 +- 19 files changed, 2070 insertions(+), 1336 deletions(-) diff --git a/examples/tutorials/00_sync/000_hello_acp/dev.ipynb b/examples/tutorials/00_sync/000_hello_acp/dev.ipynb index 610d65b2..09e15076 100644 --- a/examples/tutorials/00_sync/000_hello_acp/dev.ipynb +++ b/examples/tutorials/00_sync/000_hello_acp/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "9f6e6ef0", "metadata": {}, "outputs": [], @@ -50,22 +50,13 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "b03b0d37", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Hello! I've received your message. Here's a generic response, but in future tutorials we'll see how you can get me to intelligently respond to your message. This is what I heard you say: Hello what can you do?\n" - ] - } - ], + "outputs": [], "source": [ "# Test non streaming response\n", - "from typing import List, cast\n", - "from agentex.types import TaskMessage, TextContent\n", + "from agentex.types import TextContent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -75,52 +66,35 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_message(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": False\n", " }\n", ")\n", "\n", - "# # Extract and print just the text content from the response\n", - "# # The response is expected to be a dict with a \"result\" key containing a list of message dicts\n", - "if rpc_response and rpc_response.result:\n", + "if not rpc_response or not rpc_response.result:\n", + " raise ValueError(\"No result in response\")\n", "\n", - " # We know that the result of the message/send when stream is set to False will be a list of TaskMessage objects\n", - " task_message_list = cast(List[TaskMessage], rpc_response.result)\n", - " for task_message in rpc_response.result:\n", - " if isinstance(task_message, TaskMessage):\n", - " content = task_message.content\n", - " if isinstance(content, TextContent):\n", - " text = content.content\n", - " print(text)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in response.\")\n" + "# Extract and print just the text content from the response\n", + "for task_message in rpc_response.result:\n", + " content = task_message.content\n", + " if isinstance(content, TextContent):\n", + " text = content.content\n", + " print(text)\n" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "79688331", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Hello! I've received your message. Here's a generic response, but in future tutorials we'll see how you can get me to intelligently respond to your message. This is what I heard you say: Hello what can you do?\n" - ] - } - ], + "outputs": [], "source": [ "# Test streaming response\n", - "import json\n", - "from agentex.types import AgentRpcResponse\n", - "from agentex.types.agent_rpc_result import StreamTaskMessageDelta, StreamTaskMessageFull\n", + "from agentex.types.task_message_update import StreamTaskMessageDelta, StreamTaskMessageFull\n", "from agentex.types.text_delta import TextDelta\n", - "from agentex.types.task_message_update import TaskMessageUpdate\n", "\n", "\n", "# The result object of message/send will be a TaskMessageUpdate which is a union of the following types:\n", @@ -136,41 +110,29 @@ "# Whenn processing StreamTaskMessageDelta, if you are expecting more than TextDeltas, such as DataDelta, ToolRequestDelta, or ToolResponseDelta, you can process them as well\n", "# Whenn processing StreamTaskMessageFull, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "with client.agents.with_streaming_response.rpc_by_name(\n", + "for agent_rpc_response_chunk in client.agents.send_message_stream(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": True\n", " }\n", - ") as response:\n", - " for agent_rpc_response_str in response.iter_text():\n", - " chunk_rpc_response = AgentRpcResponse.model_validate(json.loads(agent_rpc_response_str))\n", - " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", - " task_message_update = cast(TaskMessageUpdate, chunk_rpc_response.result)\n", - "\n", - " # Print oly the text deltas as they arrive or any full messages\n", - " if isinstance(task_message_update, StreamTaskMessageDelta):\n", - " delta = task_message_update.delta\n", - " if isinstance(delta, TextDelta):\n", - " print(delta.text_delta, end=\"\", flush=True)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", - " elif isinstance(task_message_update, StreamTaskMessageFull):\n", - " content = task_message_update.content\n", - " if isinstance(content, TextContent):\n", - " print(content.content)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in full message.\")\n" + "):\n", + " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", + " task_message_update = agent_rpc_response_chunk.result\n", + " # Print oly the text deltas as they arrive or any full messages\n", + " if isinstance(task_message_update, StreamTaskMessageDelta):\n", + " delta = task_message_update.delta\n", + " if isinstance(delta, TextDelta):\n", + " print(delta.text_delta, end=\"\", flush=True)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", + " elif isinstance(task_message_update, StreamTaskMessageFull):\n", + " content = task_message_update.content\n", + " if isinstance(content, TextContent):\n", + " print(content.content)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in full message.\")\n" ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "568673bf", - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/examples/tutorials/00_sync/010_multiturn/dev.ipynb b/examples/tutorials/00_sync/010_multiturn/dev.ipynb index 46ab9fdd..a24d2725 100644 --- a/examples/tutorials/00_sync/010_multiturn/dev.ipynb +++ b/examples/tutorials/00_sync/010_multiturn/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "9f6e6ef0", "metadata": {}, "outputs": [], @@ -50,30 +50,13 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "b03b0d37", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Hello! I can assist you with a variety of tasks, including:\n", - "\n", - "1. Answering questions on a wide range of topics, including science, history, technology, and more.\n", - "2. Providing explanations or summaries of complex concepts.\n", - "3. Offering writing assistance, such as proofreading, editing, or generating ideas for essays and articles.\n", - "4. Helping with problem-solving in areas like math, coding, or logic puzzles.\n", - "5. Engaging in conversation to provide companionship or entertainment.\n", - "\n", - "If there's something specific you need help with, feel free to ask!\n" - ] - } - ], + "outputs": [], "source": [ "# Test non streaming response\n", - "from typing import List, cast\n", - "from agentex.types import TaskMessage, TextContent\n", + "from agentex.types import TextContent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -83,61 +66,35 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_message(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": False\n", " }\n", ")\n", "\n", - "# # Extract and print just the text content from the response\n", - "# # The response is expected to be a dict with a \"result\" key containing a list of message dicts\n", - "if rpc_response and rpc_response.result:\n", + "if not rpc_response or not rpc_response.result:\n", + " raise ValueError(\"No result in response\")\n", "\n", - " # We know that the result of the message/send when stream is set to False will be a list of TaskMessage objects\n", - " task_message_list = cast(List[TaskMessage], rpc_response.result)\n", - " for task_message in rpc_response.result:\n", - " if isinstance(task_message, TaskMessage):\n", - " content = task_message.content\n", - " if isinstance(content, TextContent):\n", - " text = content.content\n", - " print(text)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in response.\")\n" + "# Extract and print just the text content from the response\n", + "for task_message in rpc_response.result:\n", + " content = task_message.content\n", + " if isinstance(content, TextContent):\n", + " text = content.content\n", + " print(text)\n" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "79688331", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Hello! I can assist you with a wide range of tasks, including:\n", - "\n", - "1. **Answering questions**: I can provide information on a variety of topics, including history, science, technology, and more.\n", - "2. **Learning and education**: I can help explain concepts, provide summaries, and assist with studying.\n", - "3. **Writing assistance**: I can help you draft, edit, or brainstorm ideas for essays, reports, and creative writing.\n", - "4. **Programming help**: I can assist with coding questions, debugging, and providing explanations of programming concepts.\n", - "5. **Language translation**: I can translate text between several languages.\n", - "6. **General advice**: I can offer suggestions on topics like time management, study techniques, and more.\n", - "\n", - "Feel free to ask me anything specific you need help with!\n" - ] - } - ], + "outputs": [], "source": [ "# Test streaming response\n", - "import json\n", - "from agentex.types import AgentRpcResponse\n", - "from agentex.types.agent_rpc_result import StreamTaskMessageDelta, StreamTaskMessageFull\n", + "from agentex.types.task_message_update import StreamTaskMessageDelta, StreamTaskMessageFull\n", "from agentex.types.text_delta import TextDelta\n", - "from agentex.types.task_message_update import TaskMessageUpdate\n", "\n", "\n", "# The result object of message/send will be a TaskMessageUpdate which is a union of the following types:\n", @@ -153,32 +110,28 @@ "# Whenn processing StreamTaskMessageDelta, if you are expecting more than TextDeltas, such as DataDelta, ToolRequestDelta, or ToolResponseDelta, you can process them as well\n", "# Whenn processing StreamTaskMessageFull, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "with client.agents.with_streaming_response.rpc_by_name(\n", + "for agent_rpc_response_chunk in client.agents.send_message_stream(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": True\n", " }\n", - ") as response:\n", - " for agent_rpc_response_str in response.iter_text():\n", - " chunk_rpc_response = AgentRpcResponse.model_validate(json.loads(agent_rpc_response_str))\n", - " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", - " task_message_update = cast(TaskMessageUpdate, chunk_rpc_response.result)\n", - "\n", - " # Print oly the text deltas as they arrive or any full messages\n", - " if isinstance(task_message_update, StreamTaskMessageDelta):\n", - " delta = task_message_update.delta\n", - " if isinstance(delta, TextDelta):\n", - " print(delta.text_delta, end=\"\", flush=True)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", - " elif isinstance(task_message_update, StreamTaskMessageFull):\n", - " content = task_message_update.content\n", - " if isinstance(content, TextContent):\n", - " print(content.content)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in full message.\")\n" + "):\n", + " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", + " task_message_update = agent_rpc_response_chunk.result\n", + " # Print oly the text deltas as they arrive or any full messages\n", + " if isinstance(task_message_update, StreamTaskMessageDelta):\n", + " delta = task_message_update.delta\n", + " if isinstance(delta, TextDelta):\n", + " print(delta.text_delta, end=\"\", flush=True)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", + " elif isinstance(task_message_update, StreamTaskMessageFull):\n", + " content = task_message_update.content\n", + " if isinstance(content, TextContent):\n", + " print(content.content)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in full message.\")\n" ] }, { diff --git a/examples/tutorials/00_sync/020_streaming/dev.ipynb b/examples/tutorials/00_sync/020_streaming/dev.ipynb index 63ee2d87..454dd2d9 100644 --- a/examples/tutorials/00_sync/020_streaming/dev.ipynb +++ b/examples/tutorials/00_sync/020_streaming/dev.ipynb @@ -56,8 +56,7 @@ "outputs": [], "source": [ "# Test non streaming response\n", - "from typing import List, cast\n", - "from agentex.types import TaskMessage, TextContent\n", + "from agentex.types import TextContent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -67,29 +66,23 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_message(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": False\n", " }\n", ")\n", "\n", - "# # Extract and print just the text content from the response\n", - "# # The response is expected to be a dict with a \"result\" key containing a list of message dicts\n", - "if rpc_response and rpc_response.result:\n", + "if not rpc_response or not rpc_response.result:\n", + " raise ValueError(\"No result in response\")\n", "\n", - " # We know that the result of the message/send when stream is set to False will be a list of TaskMessage objects\n", - " task_message_list = cast(List[TaskMessage], rpc_response.result)\n", - " for task_message in rpc_response.result:\n", - " if isinstance(task_message, TaskMessage):\n", - " content = task_message.content\n", - " if isinstance(content, TextContent):\n", - " text = content.content\n", - " print(text)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in response.\")\n" + "# Extract and print just the text content from the response\n", + "for task_message in rpc_response.result:\n", + " content = task_message.content\n", + " if isinstance(content, TextContent):\n", + " text = content.content\n", + " print(text)\n" ] }, { @@ -100,11 +93,8 @@ "outputs": [], "source": [ "# Test streaming response\n", - "import json\n", - "from agentex.types import AgentRpcResponse\n", - "from agentex.types.agent_rpc_result import StreamTaskMessageDelta, StreamTaskMessageFull\n", + "from agentex.types.task_message_update import StreamTaskMessageDelta, StreamTaskMessageFull\n", "from agentex.types.text_delta import TextDelta\n", - "from agentex.types.task_message_update import TaskMessageUpdate\n", "\n", "\n", "# The result object of message/send will be a TaskMessageUpdate which is a union of the following types:\n", @@ -120,32 +110,28 @@ "# Whenn processing StreamTaskMessageDelta, if you are expecting more than TextDeltas, such as DataDelta, ToolRequestDelta, or ToolResponseDelta, you can process them as well\n", "# Whenn processing StreamTaskMessageFull, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "with client.agents.with_streaming_response.rpc_by_name(\n", + "for agent_rpc_response_chunk in client.agents.send_message_stream(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": True\n", " }\n", - ") as response:\n", - " for agent_rpc_response_str in response.iter_text():\n", - " chunk_rpc_response = AgentRpcResponse.model_validate(json.loads(agent_rpc_response_str))\n", - " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", - " task_message_update = cast(TaskMessageUpdate, chunk_rpc_response.result)\n", - "\n", - " # Print oly the text deltas as they arrive or any full messages\n", - " if isinstance(task_message_update, StreamTaskMessageDelta):\n", - " delta = task_message_update.delta\n", - " if isinstance(delta, TextDelta):\n", - " print(delta.text_delta, end=\"\", flush=True)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", - " elif isinstance(task_message_update, StreamTaskMessageFull):\n", - " content = task_message_update.content\n", - " if isinstance(content, TextContent):\n", - " print(content.content)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in full message.\")\n" + "):\n", + " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", + " task_message_update = agent_rpc_response_chunk.result\n", + " # Print oly the text deltas as they arrive or any full messages\n", + " if isinstance(task_message_update, StreamTaskMessageDelta):\n", + " delta = task_message_update.delta\n", + " if isinstance(delta, TextDelta):\n", + " print(delta.text_delta, end=\"\", flush=True)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", + " elif isinstance(task_message_update, StreamTaskMessageFull):\n", + " content = task_message_update.content\n", + " if isinstance(content, TextContent):\n", + " print(content.content)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in full message.\")\n" ] } ], diff --git a/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb b/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb index b2d726c9..32341a7e 100644 --- a/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,59 +24,34 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "9f6e6ef0", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='4a6ff681-8875-4a60-9e21-7308193dc327', created_at=datetime.datetime(2025, 7, 27, 1, 16, 2, 616, tzinfo=TzInfo(UTC)), name='110f7a13-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 1, 16, 2, 616, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "b03b0d37", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='b235c5c6-b2f8-40b8-be60-a873c88f4d21', agent_id='93fa9758-abca-421e-a3ed-9f08a9881662', sequence_id=209, task_id='4a6ff681-8875-4a60-9e21-7308193dc327', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 1, 16, 2, 491008, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,72 +61,26 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "a6927cc0", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/27/2025 01:16:02] ─────────────────────────╮\n",
-       " Hello what can you do?                                                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 01:16:02] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 01:16:02] ─────────────────────────╮\n",
-       " Hello! I've received your message. I can't respond right now, but in future  \n",
-       " tutorials we'll see how you can get me to intelligently respond to your      \n",
-       " message.                                                                     \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 01:16:02] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Hello! I've received your message. I can't respond right now, but in future \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m tutorials we'll see how you can get me to intelligently respond to your \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m message. \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 5 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", diff --git a/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb b/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb index 1ef9b85f..cc927439 100644 --- a/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,59 +24,34 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "9f6e6ef0", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='e5b17323-4b7b-4043-874a-33a64aec8ab1', created_at=datetime.datetime(2025, 7, 27, 1, 16, 34, 635866, tzinfo=TzInfo(UTC)), name='36c97177-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 1, 16, 34, 635866, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "b03b0d37", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='a1835392-e2d7-43a2-a476-aeca90084653', agent_id='079830a3-8402-4b82-a4f6-bac497f87a10', sequence_id=211, task_id='e5b17323-4b7b-4043-874a-33a64aec8ab1', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 1, 16, 35, 496828, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,100 +61,26 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "a6927cc0", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/27/2025 01:16:35] ─────────────────────────╮\n",
-       " Hello what can you do?                                                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 01:16:35] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 01:16:38] ─────────────────────────╮\n",
-       " Hello! I can assist you with a variety of tasks, including:                  \n",
-       "                                                                              \n",
-       "  1 Answering Questions: I can provide information on a wide range of topics, \n",
-       "    including science, history, technology, and more.                         \n",
-       "  2 Providing Explanations: I can explain complex concepts in simpler terms.  \n",
-       "  3 Writing Assistance: I can help with writing essays, articles, or creative \n",
-       "    writing, including brainstorming ideas and editing.                       \n",
-       "  4 Language Help: I can assist with language learning, grammar questions,    \n",
-       "    and translations.                                                         \n",
-       "  5 Recommendations: I can offer suggestions for books, movies, or other      \n",
-       "    resources based on your interests.                                        \n",
-       "  6 Problem Solving: I can help you work through problems, whether they’re    \n",
-       "    academic or practical in nature.                                          \n",
-       "  7 General Advice: I can offer tips and guidance on various topics, such as  \n",
-       "    study techniques or productivity.                                         \n",
-       "                                                                              \n",
-       " Feel free to ask me anything specific that you need help with!               \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 01:16:38] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Hello! I can assist you with a variety of tasks, including: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mAnswering Questions\u001b[0m: I can provide information on a wide range of topics, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mincluding science, history, technology, and more. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProviding Explanations\u001b[0m: I can explain complex concepts in simpler terms. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mWriting Assistance\u001b[0m: I can help with writing essays, articles, or creative \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwriting, including brainstorming ideas and editing. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mLanguage Help\u001b[0m: I can assist with language learning, grammar questions, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mand translations. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mRecommendations\u001b[0m: I can offer suggestions for books, movies, or other \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mresources based on your interests. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mProblem Solving\u001b[0m: I can help you work through problems, whether they’re \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0macademic or practical in nature. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mGeneral Advice\u001b[0m: I can offer tips and guidance on various topics, such as \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mstudy techniques or productivity. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m Feel free to ask me anything specific that you need help with! \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 5 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -195,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f8e6c0f4", + "id": "4864e354", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb b/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb index 530e2a27..6ce04698 100644 --- a/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,43 +24,50 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "9f6e6ef0", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Task(id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)), name='454cb225-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)))\n" + ] + } + ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "b03b0d37", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Event(id='8b547636-205b-4f5e-9356-797de5b45de8', agent_id='ef21f2e7-5bbe-440a-824b-7e89f462a781', sequence_id=244, task_id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 689616, tzinfo=TzInfo(UTC)))\n" + ] + } + ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -70,26 +77,107 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "a6927cc0", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
╭───────────────────────── USER [07/28/2025 03:56:47] ─────────────────────────╮\n",
+       " Hello what can you do?                                                       \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 03:56:47] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", + "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, + { + "data": { + "text/html": [ + "
╭──────────────────────── AGENT [07/28/2025 03:56:47] ─────────────────────────╮\n",
+       " Hello! I can assist you with a variety of tasks, including:                  \n",
+       "                                                                              \n",
+       "  1 Answering Questions: I can provide information on a wide range of topics, \n",
+       "    from science and history to technology and culture.                       \n",
+       "  2 Providing Explanations: I can explain concepts or topics in detail,       \n",
+       "    whether they are academic, technical, or general knowledge.               \n",
+       "  3 Offering Suggestions: I can give recommendations, such as book            \n",
+       "    suggestions, movie picks, or travel destinations based on your interests. \n",
+       "  4 Writing Assistance: I can help with writing tasks, including drafting     \n",
+       "    emails, essays, or creative writing prompts.                              \n",
+       "  5 Language Translation: I can translate text between several languages.     \n",
+       "  6 Problem Solving: I can assist with problem-solving in areas like math,    \n",
+       "    coding, or brainstorming ideas.                                           \n",
+       "  7 Learning Resources: I can suggest resources for further learning on a     \n",
+       "    variety of subjects.                                                      \n",
+       "                                                                              \n",
+       " If there's something specific you want help with, feel free to ask!          \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 03:56:47] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m Hello! I can assist you with a variety of tasks, including: \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mAnswering Questions\u001b[0m: I can provide information on a wide range of topics, \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfrom science and history to technology and culture. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProviding Explanations\u001b[0m: I can explain concepts or topics in detail, \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwhether they are academic, technical, or general knowledge. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mOffering Suggestions\u001b[0m: I can give recommendations, such as book \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msuggestions, movie picks, or travel destinations based on your interests. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mWriting Assistance\u001b[0m: I can help with writing tasks, including drafting \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0memails, essays, or creative writing prompts. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mLanguage Translation\u001b[0m: I can translate text between several languages. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mProblem Solving\u001b[0m: I can assist with problem-solving in areas like math, \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcoding, or brainstorming ideas. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mLearning Resources\u001b[0m: I can suggest resources for further learning on a \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvariety of subjects. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m If there's something specific you want help with, feel free to ask! \u001b[32m│\u001b[0m\n", + "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Streaming timed out after 5 seconds - returning collected messages\n" + ] + } + ], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -101,6 +189,14 @@ " timeout=5,\n", ")" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4864e354", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { diff --git a/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb b/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb index 56312e50..324e3d0a 100644 --- a/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -32,30 +32,23 @@ "name": "stdout", "output_type": "stream", "text": [ - "Task(id='e52ad928-8d6f-431f-a865-c632dfd925bd', created_at=datetime.datetime(2025, 7, 27, 1, 16, 54, 390130, tzinfo=TzInfo(UTC)), name='4c21818b-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 1, 16, 54, 390130, tzinfo=TzInfo(UTC)))\n" + "Task(id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)), name='454cb225-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, @@ -69,14 +62,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "Event(id='8777dbbf-5a48-40ee-9d95-5476223ac759', agent_id='d1771757-da6c-43a3-b6bd-63679456790e', sequence_id=212, task_id='e52ad928-8d6f-431f-a865-c632dfd925bd', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 1, 16, 54, 847712, tzinfo=TzInfo(UTC)))\n" + "Event(id='8b547636-205b-4f5e-9356-797de5b45de8', agent_id='ef21f2e7-5bbe-440a-824b-7e89f462a781', sequence_id=244, task_id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 689616, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,16 +77,15 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, @@ -108,13 +98,13 @@ { "data": { "text/html": [ - "
╭───────────────────────── USER [07/27/2025 01:16:54] ─────────────────────────╮\n",
+       "
╭───────────────────────── USER [07/28/2025 03:56:47] ─────────────────────────╮\n",
        " Hello what can you do?                                                       \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 01:16:54] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 03:56:47] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] @@ -132,50 +122,46 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 01:16:54] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 03:56:47] ─────────────────────────╮\n",
        " Hello! I can assist you with a variety of tasks, including:                  \n",
        "                                                                              \n",
        "  1 Answering Questions: I can provide information on a wide range of topics, \n",
-       "    including history, science, technology, literature, and general           \n",
-       "    knowledge.                                                                \n",
-       "  2 Providing Explanations: I can explain concepts, summarize information, or \n",
-       "    help clarify difficult topics.                                            \n",
-       "  3 Writing Assistance: I can help you draft emails, essays, articles, or     \n",
-       "    creative writing pieces. I can also assist with proofreading and editing. \n",
-       "  4 Learning and Study Aid: I can help with study tips, summarizing           \n",
-       "    educational materials, and answering homework questions.                  \n",
-       "  5 Recommendations: I can suggest books, movies, recipes, or activities      \n",
-       "    based on your interests.                                                  \n",
-       "  6 Technical Help: I can provide assistance with basic troubleshooting for   \n",
-       "    software or digital tools.                                                \n",
-       "  7 Conversation: If you just want to chat or discuss a specific topic, I'm   \n",
-       "    here for that too!                                                        \n",
+       "    from science and history to technology and culture.                       \n",
+       "  2 Providing Explanations: I can explain concepts or topics in detail,       \n",
+       "    whether they are academic, technical, or general knowledge.               \n",
+       "  3 Offering Suggestions: I can give recommendations, such as book            \n",
+       "    suggestions, movie picks, or travel destinations based on your interests. \n",
+       "  4 Writing Assistance: I can help with writing tasks, including drafting     \n",
+       "    emails, essays, or creative writing prompts.                              \n",
+       "  5 Language Translation: I can translate text between several languages.     \n",
+       "  6 Problem Solving: I can assist with problem-solving in areas like math,    \n",
+       "    coding, or brainstorming ideas.                                           \n",
+       "  7 Learning Resources: I can suggest resources for further learning on a     \n",
+       "    variety of subjects.                                                      \n",
        "                                                                              \n",
-       " Let me know how I can assist you today!                                      \n",
+       " If there's something specific you want help with, feel free to ask!          \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 01:16:54] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 03:56:47] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", "\u001b[32m│\u001b[0m Hello! I can assist you with a variety of tasks, including: \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mAnswering Questions\u001b[0m: I can provide information on a wide range of topics, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mincluding history, science, technology, literature, and general \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mknowledge. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProviding Explanations\u001b[0m: I can explain concepts, summarize information, or \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mhelp clarify difficult topics. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mWriting Assistance\u001b[0m: I can help you draft emails, essays, articles, or \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcreative writing pieces. I can also assist with proofreading and editing. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mLearning and Study Aid\u001b[0m: I can help with study tips, summarizing \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0meducational materials, and answering homework questions. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mRecommendations\u001b[0m: I can suggest books, movies, recipes, or activities \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mbased on your interests. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mTechnical Help\u001b[0m: I can provide assistance with basic troubleshooting for \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msoftware or digital tools. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mConversation\u001b[0m: If you just want to chat or discuss a specific topic, I'm \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mhere for that too! \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfrom science and history to technology and culture. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProviding Explanations\u001b[0m: I can explain concepts or topics in detail, \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwhether they are academic, technical, or general knowledge. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mOffering Suggestions\u001b[0m: I can give recommendations, such as book \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msuggestions, movie picks, or travel destinations based on your interests. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mWriting Assistance\u001b[0m: I can help with writing tasks, including drafting \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0memails, essays, or creative writing prompts. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mLanguage Translation\u001b[0m: I can translate text between several languages. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mProblem Solving\u001b[0m: I can assist with problem-solving in areas like math, \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcoding, or brainstorming ideas. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mLearning Resources\u001b[0m: I can suggest resources for further learning on a \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvariety of subjects. \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m Let me know how I can assist you today! \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m If there's something specific you want help with, feel free to ask! \u001b[32m│\u001b[0m\n", "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] }, @@ -191,6 +177,7 @@ } ], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -206,7 +193,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ad2405b9", + "id": "4864e354", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb b/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb index 05dc443b..6cdd347d 100644 --- a/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb @@ -32,30 +32,23 @@ "name": "stdout", "output_type": "stream", "text": [ - "Task(id='75c695e6-ba24-4a45-9843-2f6c70a16d79', created_at=datetime.datetime(2025, 7, 27, 1, 25, 7, 352235, tzinfo=TzInfo(UTC)), name='c1b4a675-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 1, 25, 7, 352235, tzinfo=TzInfo(UTC)))\n" + "Task(id='06d6c79f-e74e-42af-a8ca-36d5ed991822', created_at=datetime.datetime(2025, 7, 28, 3, 58, 3, 842049, tzinfo=TzInfo(UTC)), name='7a80a27a-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 3, 58, 3, 842049, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, @@ -69,14 +62,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "Event(id='de2e5231-53c7-488c-9ecb-9f2605dea9f6', agent_id='cd4b9256-144b-4aef-949b-f9000995013b', sequence_id=217, task_id='75c695e6-ba24-4a45-9843-2f6c70a16d79', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 1, 25, 7, 716885, tzinfo=TzInfo(UTC)))\n" + "Event(id='8b5edcdb-ca36-423d-88e5-0f3f7b42f2e5', agent_id='cd4b9256-144b-4aef-949b-f9000995013b', sequence_id=245, task_id='06d6c79f-e74e-42af-a8ca-36d5ed991822', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 3, 58, 4, 299604, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,35 +77,34 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello tell me the latest news about AI and AI startups\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "id": "a6927cc0", "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
╭───────────────────────── USER [07/27/2025 01:25:07] ─────────────────────────╮\n",
+       "
╭───────────────────────── USER [07/28/2025 03:58:04] ─────────────────────────╮\n",
        " Hello tell me the latest news about AI and AI startups                       \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 01:25:07] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 03:58:04] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", "\u001b[96m│\u001b[0m Hello tell me the latest news about AI and AI startups \u001b[96m│\u001b[0m\n", "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] @@ -132,34 +122,32 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 01:25:20] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 03:58:16] ─────────────────────────╮\n",
        " 🔧 Tool Request: web_search                                                  \n",
        "                                                                              \n",
        " Arguments:                                                                   \n",
        "                                                                              \n",
        "                                                                              \n",
        "  {                                                                           \n",
-       "    \"input\": \"latest news AI AI startups\",                                    \n",
-       "    \"model\": \"gpt-4o\",                                                        \n",
-       "    \"type\": \"web_search_preview\",                                             \n",
-       "    \"search_context_size\": \"high\"                                             \n",
+       "    \"input\": \"latest news about AI and AI startups\",                          \n",
+       "    \"model\": \"gpt-4o-mini\",                                                   \n",
+       "    \"type\": \"web_search_preview\"                                              \n",
        "  }                                                                           \n",
        "                                                                              \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/27/2025 01:25:20] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", + "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 03:58:16] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news AI AI startups\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"search_context_size\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"high\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news about AI and AI startups\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o-mini\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" @@ -178,7 +166,7 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 01:25:20] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 03:58:16] ─────────────────────────╮\n",
        "Tool Response: web_search                                                 \n",
        "                                                                              \n",
        " Response:                                                                    \n",
@@ -186,70 +174,72 @@
        "                                                                              \n",
        "  {                                                                           \n",
        "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"The artificial intelligence (AI) startup landscape has           \n",
-       "  experienced significant developments recently, marked by substantial fundi  \n",
-       "  rounds, strategic partnerships, and notable acquisitions.\\n\\n**Major Fundi  \n",
-       "  Rounds:**\\n\\n- **Perplexity AI**: This AI search startup secured $100       \n",
-       "  million in its latest funding round, elevating its valuation to $18 billio  \n",
-       "  The company's rapid growth underscores robust investor interest in the      \n",
-       "  competitive AI search market.                                               \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Thinking Machines**: Founded by former OpenAI CTO Mira Murati, Thinking   \n",
-       "  Machines raised $2 billion, achieving a valuation of $10 billion. The       \n",
-       "  startup focuses on developing multimodal AI capable of processing various   \n",
-       "  forms of data.                                                              \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Anthropic**: Reports indicate that Anthropic is in discussions with       \n",
-       "  investors for funding that could value the company at $100 billion,         \n",
-       "  following a previous valuation of $61.5 billion after a $3.5 billion        \n",
-       "  fundraise earlier this year.                                                \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n**Stra  \n",
-       "  gic Investments and Partnerships:**\\n\\n- **Nvidia's Role**: Nvidia has      \n",
-       "  solidified its position as a key player in the AI sector, participating in  \n",
-       "  numerous funding rounds and supporting the growth of several AI startups.   \n",
-       "  Notably, Nvidia invested in Reka AI, contributing to its unicorn status, a  \n",
-       "  has been involved in funding rounds for companies like OpenAI, xAI, and     \n",
-       "  Scale AI.                                                                   \n",
-       "  ([elpais.com](https://elpais.com/economia/2025-07-26/nvidia-el-mayor-gigan  \n",
-       "  -bursatil-de-la-historia-que-crea-unicornios-con-la-magia-de-la-ia.html?ut  \n",
-       "  source=openai))\\n\\n- **Amazon and Anthropic**: Amazon increased its         \n",
-       "  investment in AI startup Anthropic by an additional $4 billion, bringing i  \n",
-       "  total investment to $8 billion. This partnership designates Amazon Web      \n",
-       "  Services (AWS) as Anthropic's primary training partner, highlighting        \n",
-       "  Amazon's commitment to advancing AI technologies.                           \n",
-       "  ([apnews.com](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?  \n",
-       "  m_source=openai))\\n\\n**Market Trends:**\\n\\n- **Surge in AI Startup          \n",
-       "  Funding**: In the first half of 2025, U.S. startup funding surged by 75.6%  \n",
-       "  reaching $162.8 billion, driven largely by the AI boom. AI-related          \n",
-       "  investments constituted 64.1% of the total deal value during this period.   \n",
+       "    \"text\": \"Artificial intelligence (AI) continues to be a driving force in  \n",
+       "  the startup ecosystem, with significant investments and strategic           \n",
+       "  partnerships shaping the landscape.\\n\\n**Surge in AI Startup Funding**\\n\\n  \n",
+       "  the first half of 2025, U.S. AI startups experienced a substantial funding  \n",
+       "  surge, with investments reaching $162.8 billion\\u2014a 75.6% increase from  \n",
+       "  the previous year. This growth was propelled by major tech firms'           \n",
+       "  investments, including OpenAI's $40 billion funding round and Meta's $14.3  \n",
+       "  billion investment in Scale AI. Notably, AI-related investments accounted   \n",
+       "  for 64.1% of total deal value during this period.                           \n",
        "  ([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding  \n",
        "  urge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=  \n",
-       "  enai))\\n\\n- **Global Investment Landscape**: AI startups accounted for 53%  \n",
-       "  of all global venture capital investments in the first half of 2025,        \n",
-       "  reflecting the significant momentum and investor confidence in the AI       \n",
-       "  sector.                                                                     \n",
+       "  enai))\\n\\n**Dominance of AI in Venture Capital**\\n\\nAI startups have becom  \n",
+       "  dominant in global venture capital funding, securing 53% of all investment  \n",
+       "  worldwide and 64% in the U.S. in the first half of 2025. This trend reflec  \n",
+       "  a transformative shift in tech investment, with AI's potential driving      \n",
+       "  significant capital allocation.                                             \n",
        "  ([axios.com](https://www.axios.com/2025/07/03/ai-startups-vc-investments?u  \n",
-       "  _source=openai))\\n\\n**Notable Acquisitions:**\\n\\n- **OpenAI and Jony Ive's  \n",
-       "  Startup**: OpenAI is set to acquire Jony Ive's AI devices startup, io, in   \n",
-       "  $6.4 billion all-equity deal. This acquisition marks OpenAI's largest to    \n",
-       "  date and signifies its expansion into AI hardware.                          \n",
-       "  ([economictimes.indiatimes.com](https://economictimes.indiatimes.com/topic  \n",
-       "  i-startups?utm_source=openai))\\n\\nThese developments illustrate the dynami  \n",
-       "  and rapidly evolving nature of the AI startup ecosystem, characterized by   \n",
-       "  significant financial investments, strategic collaborations, and a strong   \n",
-       "  focus on innovation.\\n\\n\\n## Recent Developments in AI Startups:\\n- [Nvidi  \n",
-       "  el mayor gigante burs\\u00e1til de la historia que crea unicornios con la    \n",
-       "  magia de la                                                                 \n",
-       "  IA](https://elpais.com/economia/2025-07-26/nvidia-el-mayor-gigante-bursati  \n",
-       "  de-la-historia-que-crea-unicornios-con-la-magia-de-la-ia.html?utm_source=o  \n",
-       "  nai)\\n- [US AI startups see funding surge while more VC funds struggle to   \n",
-       "  raise, data                                                                 \n",
+       "  _source=openai))\\n\\n**Strategic Partnerships and Investments**\\n\\n- **Amaz  \n",
+       "  and Anthropic**: Amazon increased its investment in AI startup Anthropic b  \n",
+       "  an additional $4 billion, bringing its total investment to $8 billion.      \n",
+       "  Despite this substantial backing, Amazon remains a minority investor. The   \n",
+       "  partnership aims to foster innovation and responsible AI development, with  \n",
+       "  Anthropic collaborating closely with Amazon Web Services (AWS) and utilizi  \n",
+       "  AWS chips for AI model advancement.                                         \n",
+       "  ([apnews.com](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?  \n",
+       "  m_source=openai))\\n\\n- **Applied Intuition**: In June 2025, Applied         \n",
+       "  Intuition achieved a $15 billion valuation after completing a $600 million  \n",
+       "  Series F funding round and tender offer. Investors include Andreessen       \n",
+       "  Horowitz, Fidelity Investments, Kleiner Perkins, Microsoft's venture capit  \n",
+       "  arm M12, and Porsche Investments Management.                                \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Applied_Intuition?utm_so  \n",
+       "  ce=openai))\\n\\n- **Mistral AI**: The French AI startup Mistral AI secured   \n",
+       "  \\u20ac600 million ($645 million) funding round in June 2024, elevating its  \n",
+       "  valuation to \\u20ac5.8 billion ($6.2 billion). Led by venture capital firm  \n",
+       "  General Catalyst, this round aims to support the company's expansion.       \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
+       "  ai))\\n\\n**Emerging AI Startups**\\n\\n- **Neysa**: Founded in 2023 by Sharad  \n",
+       "  Sanghi and Anindya Das, Neysa is an Indian technology startup providing a   \n",
+       "  cloud platform for AI acceleration and high-performance computing           \n",
+       "  infrastructure services. The company raised $20 million in a seed funding   \n",
+       "  round in February 2024, followed by a $30 million round in October 2024,    \n",
+       "  bringing its total funding to $50 million.                                  \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)  \n",
+       "  n\\n- **Axelera AI**: Established in 2021, Axelera AI is a Netherlands-base  \n",
+       "  chip company developing AI processing units for various applications,       \n",
+       "  including robotics, drones, and medical devices. In 2025, it received a     \n",
+       "  \\u20ac61.6 million grant to develop its Titania chip for generative AI and  \n",
+       "  computer vision processing.                                                 \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Axelera_AI?utm_source=op  \n",
+       "  ai))\\n\\n**AI's Impact on Various Sectors**\\n\\nAI is increasingly being      \n",
+       "  utilized to streamline processes across different industries. For instance  \n",
+       "  in the nuclear sector, AI is being applied to accelerate reactor licensing  \n",
+       "  and construction, with partnerships like Microsoft's collaboration with th  \n",
+       "  Department of Energy\\u2019s Idaho National Lab and Westinghouse's           \n",
+       "  partnership with Google. These initiatives aim to enhance nuclear           \n",
+       "  development while maintaining human oversight.                              \n",
+       "  ([axios.com](https://www.axios.com/newsletters/axios-generate-5dcf1a30-624  \n",
+       "  11f0-933f-c56d5ef52713?utm_source=openai))\\n\\n\\n## Recent Developments in   \n",
+       "  Startups:\\n- [US AI startups see funding surge while more VC funds struggl  \n",
+       "  to raise, data                                                              \n",
        "  shows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w  \n",
        "  le-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\  \n",
-       "   [Amazon to invest an additional $4 billion in AI startup                   \n",
+       "   [Axios Pro Rata: AI eats                                                   \n",
+       "  VC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93  \n",
+       "  -212d8860b6aa?utm_source=openai)\\n- [Amazon to invest an additional $4      \n",
+       "  billion in AI startup                                                       \n",
        "  Anthropic](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?utm  \n",
        "  ource=openai) \",                                                            \n",
        "    \"annotations\": null,                                                      \n",
@@ -260,7 +250,7 @@
        "
\n" ], "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/27/2025 01:25:20] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", + "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 03:58:16] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", @@ -268,70 +258,72 @@ "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"The artificial intelligence (AI) startup landscape has \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mexperienced significant developments recently, marked by substantial fundi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mrounds, strategic partnerships, and notable acquisitions.\\n\\n**Major Fundi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mRounds:**\\n\\n- **Perplexity AI**: This AI search startup secured $100 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmillion in its latest funding round, elevating its valuation to $18 billio\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mThe company's rapid growth underscores robust investor interest in the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompetitive AI search market. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Thinking Machines**: Founded by former OpenAI CTO Mira Murati, Thinking \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mMachines raised $2 billion, achieving a valuation of $10 billion. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartup focuses on developing multimodal AI capable of processing various \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mforms of data. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Anthropic**: Reports indicate that Anthropic is in discussions with \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestors for funding that could value the company at $100 billion, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfollowing a previous valuation of $61.5 billion after a $3.5 billion \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfundraise earlier this year. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n**Stra\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mgic Investments and Partnerships:**\\n\\n- **Nvidia's Role**: Nvidia has \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msolidified its position as a key player in the AI sector, participating in\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnumerous funding rounds and supporting the growth of several AI startups. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mNotably, Nvidia invested in Reka AI, contributing to its unicorn status, a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhas been involved in funding rounds for companies like OpenAI, xAI, and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mScale AI. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([elpais.com](https://elpais.com/economia/2025-07-26/nvidia-el-mayor-gigan\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-bursatil-de-la-historia-que-crea-unicornios-con-la-magia-de-la-ia.html?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\n- **Amazon and Anthropic**: Amazon increased its \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestment in AI startup Anthropic by an additional $4 billion, bringing i\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtotal investment to $8 billion. This partnership designates Amazon Web \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mServices (AWS) as Anthropic's primary training partner, highlighting \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAmazon's commitment to advancing AI technologies. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([apnews.com](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mm_source=openai))\\n\\n**Market Trends:**\\n\\n- **Surge in AI Startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFunding**: In the first half of 2025, U.S. startup funding surged by 75.6%\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mreaching $162.8 billion, driven largely by the AI boom. AI-related \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestments constituted 64.1% of the total deal value during this period. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"Artificial intelligence (AI) continues to be a driving force in\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe startup ecosystem, with significant investments and strategic \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnerships shaping the landscape.\\n\\n**Surge in AI Startup Funding**\\n\\n\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe first half of 2025, U.S. AI startups experienced a substantial funding\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msurge, with investments reaching $162.8 billion\\u2014a 75.6% increase from\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe previous year. This growth was propelled by major tech firms' \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestments, including OpenAI's $40 billion funding round and Meta's $14.3\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion investment in Scale AI. Notably, AI-related investments accounted \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfor 64.1% of total deal value during this period. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34murge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai))\\n\\n- **Global Investment Landscape**: AI startups accounted for 53%\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mof all global venture capital investments in the first half of 2025, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mreflecting the significant momentum and investor confidence in the AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msector. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai))\\n\\n**Dominance of AI in Venture Capital**\\n\\nAI startups have becom\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdominant in global venture capital funding, securing 53% of all investment\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mworldwide and 64% in the U.S. in the first half of 2025. This trend reflec\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34ma transformative shift in tech investment, with AI's potential driving \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msignificant capital allocation. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/2025/07/03/ai-startups-vc-investments?u\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m_source=openai))\\n\\n**Notable Acquisitions:**\\n\\n- **OpenAI and Jony Ive's\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mStartup**: OpenAI is set to acquire Jony Ive's AI devices startup, io, in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m$6.4 billion all-equity deal. This acquisition marks OpenAI's largest to \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdate and signifies its expansion into AI hardware. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([economictimes.indiatimes.com](https://economictimes.indiatimes.com/topic\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi-startups?utm_source=openai))\\n\\nThese developments illustrate the dynami\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand rapidly evolving nature of the AI startup ecosystem, characterized by \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msignificant financial investments, strategic collaborations, and a strong \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfocus on innovation.\\n\\n\\n## Recent Developments in AI Startups:\\n- [Nvidi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mel mayor gigante burs\\u00e1til de la historia que crea unicornios con la \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmagia de la \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mIA](https://elpais.com/economia/2025-07-26/nvidia-el-mayor-gigante-bursati\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mde-la-historia-que-crea-unicornios-con-la-magia-de-la-ia.html?utm_source=o\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnai)\\n- [US AI startups see funding surge while more VC funds struggle to \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mraise, data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m_source=openai))\\n\\n**Strategic Partnerships and Investments**\\n\\n- **Amaz\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand Anthropic**: Amazon increased its investment in AI startup Anthropic b\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34man additional $4 billion, bringing its total investment to $8 billion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mDespite this substantial backing, Amazon remains a minority investor. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnership aims to foster innovation and responsible AI development, with\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAnthropic collaborating closely with Amazon Web Services (AWS) and utilizi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAWS chips for AI model advancement. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([apnews.com](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mm_source=openai))\\n\\n- **Applied Intuition**: In June 2025, Applied \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mIntuition achieved a $15 billion valuation after completing a $600 million\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSeries F funding round and tender offer. Investors include Andreessen \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mHorowitz, Fidelity Investments, Kleiner Perkins, Microsoft's venture capit\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34marm M12, and Porsche Investments Management. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Applied_Intuition?utm_so\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mce=openai))\\n\\n- **Mistral AI**: The French AI startup Mistral AI secured \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\u20ac600 million ($645 million) funding round in June 2024, elevating its\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluation to \\u20ac5.8 billion ($6.2 billion). Led by venture capital firm\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mGeneral Catalyst, this round aims to support the company's expansion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n**Emerging AI Startups**\\n\\n- **Neysa**: Founded in 2023 by Sharad\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSanghi and Anindya Das, Neysa is an Indian technology startup providing a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcloud platform for AI acceleration and high-performance computing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minfrastructure services. The company raised $20 million in a seed funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround in February 2024, followed by a $30 million round in October 2024, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbringing its total funding to $50 million. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n- **Axelera AI**: Established in 2021, Axelera AI is a Netherlands-base\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mchip company developing AI processing units for various applications, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mincluding robotics, drones, and medical devices. In 2025, it received a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\u20ac61.6 million grant to develop its Titania chip for generative AI and\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcomputer vision processing. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Axelera_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n**AI's Impact on Various Sectors**\\n\\nAI is increasingly being \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mutilized to streamline processes across different industries. For instance\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34min the nuclear sector, AI is being applied to accelerate reactor licensing\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand construction, with partnerships like Microsoft's collaboration with th\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mDepartment of Energy\\u2019s Idaho National Lab and Westinghouse's \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnership with Google. These initiatives aim to enhance nuclear \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelopment while maintaining human oversight. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/newsletters/axios-generate-5dcf1a30-624\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m11f0-933f-c56d5ef52713?utm_source=openai))\\n\\n\\n## Recent Developments in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mStartups:\\n- [US AI startups see funding surge while more VC funds struggl\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mto raise, data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mshows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mle-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m [Amazon to invest an additional $4 billion in AI startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m [Axios Pro Rata: AI eats \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mVC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-212d8860b6aa?utm_source=openai)\\n- [Amazon to invest an additional $4 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion in AI startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAnthropic](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?utm\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mource=openai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", @@ -354,88 +346,72 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 01:25:21] ─────────────────────────╮\n",
-       " Here are some of the latest updates in the AI and AI startups ecosystem:     \n",
-       "                                                                              \n",
-       "                             Major Funding Rounds                             \n",
-       "                                                                              \n",
-       " Perplexity AI: The AI search startup raised $100 million, boosting its    \n",
-       "    valuation to $18 billion, reflecting strong investor interest in AI       \n",
-       "    search technologies.                                                      \n",
-       " Thinking Machines: Founded by former OpenAI CTO Mira Murati, it secured   \n",
-       "    $2 billion, valuing the company at $10 billion. The startup is working on \n",
-       "    multimodal AI.                                                            \n",
-       " Anthropic: Currently in discussions for a funding round that could value  \n",
-       "    it at $100 billion, following a $3.5 billion raise earlier this year.     \n",
-       "                                                                              \n",
-       "                    Strategic Investments and Partnerships                    \n",
-       "                                                                              \n",
-       " Nvidia: A key AI sector player, Nvidia has participated in various        \n",
-       "    funding rounds, including those for OpenAI, xAI, and Scale AI, and        \n",
-       "    invested in Reka AI, leading to its unicorn status.                       \n",
-       " Amazon and Anthropic: Amazon has increased its investment in AI startup   \n",
-       "    Anthropic by $4 billion, totaling $8 billion. Amazon Web Services (AWS)   \n",
-       "    is Anthropic’s primary training partner.                                  \n",
+       "
╭──────────────────────── AGENT [07/28/2025 03:58:17] ─────────────────────────╮\n",
+       " Here are some of the latest developments in the world of AI and AI startups: \n",
        "                                                                              \n",
-       "                                Market Trends                                 \n",
+       "  1 Surge in AI Startup Funding:                                              \n",
+       " In the first half of 2025, U.S. AI startups saw a funding surge with   \n",
+       "       investments hitting $162.8 billion. This growth was driven by major    \n",
+       "       investments from tech firms such as OpenAI and Meta. AI-related        \n",
+       "       investments made up 64.1% of the total deal value in this period.      \n",
+       "  2 Dominance in Venture Capital:                                             \n",
+       " AI startups have secured 53% of global venture capital funding, with   \n",
+       "       64% in the U.S., underscoring AI's increasing significance in tech     \n",
+       "       investment.                                                            \n",
+       "  3 Strategic Partnerships and Investments:                                   \n",
+       " Amazon and Anthropic: Amazon increased its investment in Anthropic to  \n",
+       "       $8 billion. This partnership focuses on innovation and responsible AI  \n",
+       "       development.                                                           \n",
+       " Applied Intuition: Achieved a $15 billion valuation after a $600       \n",
+       "       million funding round.                                                 \n",
+       " Mistral AI: Raised €600 million, aiming to support expansion.          \n",
+       "  4 Emerging AI Startups:                                                     \n",
+       " Neysa: An Indian startup providing cloud platforms for AI, raised $50  \n",
+       "       million.                                                               \n",
+       " Axelera AI: Netherlands-based, received a €61.6 million grant for its  \n",
+       "       AI processing units.                                                   \n",
+       "  5 AI's Impact on Various Sectors:                                           \n",
+       " AI is being used to expedite processes in industries like nuclear      \n",
+       "       energy, where partnerships aim to accelerate reactor licensing and     \n",
+       "       construction.                                                          \n",
        "                                                                              \n",
-       " U.S. Startup Funding: In the first half of 2025, AI-driven funding surged \n",
-       "    by 75.6% to $162.8 billion, with AI-related investments forming a         \n",
-       "    significant portion.                                                      \n",
-       " Global VC Investments: AI startups made up 53% of all global venture      \n",
-       "    capital investments in the first half of 2025.                            \n",
-       "                                                                              \n",
-       "                             Notable Acquisitions                             \n",
-       "                                                                              \n",
-       " OpenAI: Set to acquire Jony Ive's AI devices startup, io, for $6.4        \n",
-       "    billion in an all-equity deal, marking a move into AI hardware.           \n",
-       "                                                                              \n",
-       " These updates reveal a vibrant and rapidly evolving AI startup landscape,    \n",
-       " characterized by significant financial investments, strategic                \n",
-       " collaborations, and innovative development.                                  \n",
+       " For more detailed articles and specific company information, you can check   \n",
+       " the sources like Reuters, Axios, and AP News.                                \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 01:25:21] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Here are some of the latest updates in the AI and AI startups ecosystem: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mMajor Funding Rounds\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPerplexity AI\u001b[0m: The AI search startup raised $100 million, boosting its \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvaluation to $18 billion, reflecting strong investor interest in AI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msearch technologies. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mThinking Machines\u001b[0m: Founded by former OpenAI CTO Mira Murati, it secured \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m$2 billion, valuing the company at $10 billion. The startup is working on \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mmultimodal AI. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAnthropic\u001b[0m: Currently in discussions for a funding round that could value \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mit at $100 billion, following a $3.5 billion raise earlier this year. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mStrategic Investments and Partnerships\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mNvidia\u001b[0m: A key AI sector player, Nvidia has participated in various \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfunding rounds, including those for OpenAI, xAI, and Scale AI, and \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minvested in Reka AI, leading to its unicorn status. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAmazon and Anthropic\u001b[0m: Amazon has increased its investment in AI startup \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mAnthropic by $4 billion, totaling $8 billion. Amazon Web Services (AWS) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mis Anthropic’s primary training partner. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mMarket Trends\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mU.S. Startup Funding\u001b[0m: In the first half of 2025, AI-driven funding surged \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mby 75.6% to $162.8 billion, with AI-related investments forming a \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msignificant portion. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mGlobal VC Investments\u001b[0m: AI startups made up 53% of all global venture \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcapital investments in the first half of 2025. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mNotable Acquisitions\u001b[0m \u001b[32m│\u001b[0m\n", + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 03:58:17] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m Here are some of the latest developments in the world of AI and AI startups: \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mOpenAI\u001b[0m: Set to acquire Jony Ive's AI devices startup, io, for $6.4 \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mbillion in an all-equity deal, marking a move into AI hardware. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mSurge in AI Startup Funding\u001b[0m: \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIn the first half of 2025, U.S. AI startups saw a funding surge with \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestments hitting $162.8 billion. This growth was driven by major \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestments from tech firms such as OpenAI and Meta. AI-related \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestments made up 64.1% of the total deal value in this period. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mDominance in Venture Capital\u001b[0m: \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAI startups have secured 53% of global venture capital funding, with \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0m64% in the U.S., underscoring AI's increasing significance in tech \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestment. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mStrategic Partnerships and Investments\u001b[0m: \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mAmazon and Anthropic\u001b[0m: Amazon increased its investment in Anthropic to \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0m$8 billion. This partnership focuses on innovation and responsible AI \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdevelopment. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mApplied Intuition\u001b[0m: Achieved a $15 billion valuation after a $600 \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmillion funding round. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mMistral AI\u001b[0m: Raised €600 million, aiming to support expansion. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mEmerging AI Startups\u001b[0m: \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mNeysa\u001b[0m: An Indian startup providing cloud platforms for AI, raised $50 \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmillion. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mAxelera AI\u001b[0m: Netherlands-based, received a €61.6 million grant for its \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mAI processing units. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mAI's Impact on Various Sectors\u001b[0m: \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAI is being used to expedite processes in industries like nuclear \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0menergy, where partnerships aim to accelerate reactor licensing and \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mconstruction. \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m These updates reveal a vibrant and rapidly evolving AI startup landscape, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m characterized by significant financial investments, strategic \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m collaborations, and innovative development. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m For more detailed articles and specific company information, you can check \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m the sources like Reuters, Axios, and AP News. \u001b[32m│\u001b[0m\n", "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] }, @@ -451,6 +427,7 @@ } ], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -466,7 +443,7 @@ { "cell_type": "code", "execution_count": null, - "id": "593a0a47", + "id": "4864e354", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb b/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb index e2551a5d..4b92b95b 100644 --- a/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb @@ -32,36 +32,29 @@ "name": "stdout", "output_type": "stream", "text": [ - "Task(id='83aeec42-3e63-4652-aff5-506252e7cb67', created_at=datetime.datetime(2025, 7, 27, 5, 56, 44, 321516, tzinfo=TzInfo(UTC)), name='776014ce-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 5, 56, 44, 321516, tzinfo=TzInfo(UTC)))\n" + "Task(id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 678078, tzinfo=TzInfo(UTC)), name='257301f4-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 678078, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "id": "b03b0d37", "metadata": {}, "outputs": [ @@ -69,17 +62,16 @@ "name": "stdout", "output_type": "stream", "text": [ - "Event(id='f83319aa-6f63-4495-be1e-6ca52595e865', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=225, task_id='83aeec42-3e63-4652-aff5-506252e7cb67', content=TextContent(author='user', content='Hello, what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 0, 8, 557860, tzinfo=TzInfo(UTC)))\n", - "Event(id='be4b68b3-991a-4dfe-8be5-31f1cc032ef1', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=226, task_id='83aeec42-3e63-4652-aff5-506252e7cb67', content=TextContent(author='user', content='Can you tell me a joke?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 0, 8, 615897, tzinfo=TzInfo(UTC)))\n", - "Event(id='3001a88f-de80-44bf-b2ff-686428da043b', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=227, task_id='83aeec42-3e63-4652-aff5-506252e7cb67', content=TextContent(author='user', content='What is the capital of France?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 0, 8, 665333, tzinfo=TzInfo(UTC)))\n", - "Event(id='49ca99da-1c88-41f3-abea-91845cd927d5', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=228, task_id='83aeec42-3e63-4652-aff5-506252e7cb67', content=TextContent(author='user', content='Write a short story about a cat', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 0, 8, 704690, tzinfo=TzInfo(UTC)))\n", - "Event(id='da567964-5fa6-419d-a573-66e673f18669', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=229, task_id='83aeec42-3e63-4652-aff5-506252e7cb67', content=TextContent(author='user', content='Tell me how an LLM works', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 0, 8, 748329, tzinfo=TzInfo(UTC)))\n" + "Event(id='56a214e2-f11a-456d-a65c-ef4128f068b1', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=246, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 834958, tzinfo=TzInfo(UTC)))\n", + "Event(id='94b21c62-4ad9-46d7-904d-4a2cf034b55e', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=247, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 886831, tzinfo=TzInfo(UTC)))\n", + "Event(id='5143e12a-7a66-44ad-94cb-bdcfae32770c', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=248, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 940474, tzinfo=TzInfo(UTC)))\n", + "Event(id='ac2cdee3-00eb-4294-8be8-cb30c35664e3', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=249, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 983842, tzinfo=TzInfo(UTC)))\n", + "Event(id='fba14bc1-af91-41e5-bc83-f892d0e2d8a2', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=250, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 29, 24825, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", + "# Send an event to the agent\n", "from agentex.types import Event\n", "from agentex.types.agent_rpc_params import ParamsSendEventRequest\n", "\n", @@ -117,13 +109,15 @@ "events: list[Event] = []\n", "\n", "for event_message in concurrent_event_messages:\n", - " rpc_response = client.agents.rpc_by_name(\n", + " rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", - " params=event_message\n", + " params={\n", + " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello tell me the latest news about AI and AI startups\"},\n", + " \"task_id\": task.id,\n", + " }\n", " )\n", "\n", - " event = cast(Event, rpc_response.result)\n", + " event = rpc_response.result\n", " events.append(event)\n", "\n", "for event in events:\n", @@ -132,23 +126,23 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 5, "id": "a6927cc0", "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:00:18] ─────────────────────────╮\n",
-       " Processed event IDs: ['f83319aa-6f63-4495-be1e-6ca52595e865',                \n",
-       " 'be4b68b3-991a-4dfe-8be5-31f1cc032ef1']                                      \n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:00:38] ─────────────────────────╮\n",
+       " Processed event IDs: ['56a214e2-f11a-456d-a65c-ef4128f068b1',                \n",
+       " '94b21c62-4ad9-46d7-904d-4a2cf034b55e']                                      \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 06:00:18] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Processed event IDs: ['f83319aa-6f63-4495-be1e-6ca52595e865', \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m 'be4b68b3-991a-4dfe-8be5-31f1cc032ef1'] \u001b[32m│\u001b[0m\n", + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:00:38] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m Processed event IDs: ['56a214e2-f11a-456d-a65c-ef4128f068b1', \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m '94b21c62-4ad9-46d7-904d-4a2cf034b55e'] \u001b[32m│\u001b[0m\n", "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] }, @@ -158,18 +152,18 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:00:33] ─────────────────────────╮\n",
-       " Processed event IDs: ['3001a88f-de80-44bf-b2ff-686428da043b',                \n",
-       " '49ca99da-1c88-41f3-abea-91845cd927d5',                                      \n",
-       " 'da567964-5fa6-419d-a573-66e673f18669']                                      \n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:00:54] ─────────────────────────╮\n",
+       " Processed event IDs: ['5143e12a-7a66-44ad-94cb-bdcfae32770c',                \n",
+       " 'ac2cdee3-00eb-4294-8be8-cb30c35664e3',                                      \n",
+       " 'fba14bc1-af91-41e5-bc83-f892d0e2d8a2']                                      \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 06:00:33] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Processed event IDs: ['3001a88f-de80-44bf-b2ff-686428da043b', \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m '49ca99da-1c88-41f3-abea-91845cd927d5', \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m 'da567964-5fa6-419d-a573-66e673f18669'] \u001b[32m│\u001b[0m\n", + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:00:54] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m Processed event IDs: ['5143e12a-7a66-44ad-94cb-bdcfae32770c', \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m 'ac2cdee3-00eb-4294-8be8-cb30c35664e3', \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m 'fba14bc1-af91-41e5-bc83-f892d0e2d8a2'] \u001b[32m│\u001b[0m\n", "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] }, diff --git a/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb b/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb index a7806201..12a98870 100644 --- a/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb +++ b/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "id": "9f6e6ef0", "metadata": {}, "outputs": [ @@ -32,36 +32,29 @@ "name": "stdout", "output_type": "stream", "text": [ - "Task(id='908547e1-5796-48c4-8b72-b02366025584', created_at=datetime.datetime(2025, 7, 27, 6, 2, 40, 117494, tzinfo=TzInfo(UTC)), name='4f1591db-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 6, 2, 40, 117494, tzinfo=TzInfo(UTC)))\n" + "Task(id='74a31c55-5e45-4f9c-8f47-bf7f38d32c82', created_at=datetime.datetime(2025, 7, 28, 4, 1, 52, 55193, tzinfo=TzInfo(UTC)), name='56a28d29-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 1, 52, 55193, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "id": "b03b0d37", "metadata": {}, "outputs": [ @@ -69,14 +62,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "Event(id='84a84d4c-d3e7-4e58-801c-ac1bafcefcff', agent_id='1f6cd429-4e4a-4884-b449-72a1f2740393', sequence_id=230, task_id='908547e1-5796-48c4-8b72-b02366025584', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 2, 46, 253653, tzinfo=TzInfo(UTC)))\n" + "Event(id='8819190c-045a-4baf-b576-3238d815e037', agent_id='1f6cd429-4e4a-4884-b449-72a1f2740393', sequence_id=251, task_id='74a31c55-5e45-4f9c-8f47-bf7f38d32c82', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 1, 52, 532616, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,35 +77,34 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "id": "a6927cc0", "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
╭───────────────────────── USER [07/27/2025 06:02:46] ─────────────────────────╮\n",
+       "
╭───────────────────────── USER [07/28/2025 04:01:52] ─────────────────────────╮\n",
        " Hello what can you do?                                                       \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 06:02:46] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:01:52] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] @@ -125,7 +115,7 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:02:46] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:01:52] ─────────────────────────╮\n",
        " Hello! I've received your message. I can't respond right now, but in future  \n",
        " tutorials we'll see how you can get me to intelligently respond to your      \n",
        " message.                                                                     \n",
@@ -133,7 +123,7 @@
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 06:02:46] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:01:52] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", "\u001b[32m│\u001b[0m Hello! I've received your message. I can't respond right now, but in future \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m tutorials we'll see how you can get me to intelligently respond to your \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m message. \u001b[32m│\u001b[0m\n", @@ -152,6 +142,7 @@ } ], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -167,7 +158,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b60701ae", + "id": "4864e354", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb b/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb index 7721747f..b4e10aac 100644 --- a/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb +++ b/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "AGENT_NAME = \"at010-agent-chat\"" + "AGENT_NAME = \"ab040-other-sdks\"" ] }, { @@ -32,30 +32,23 @@ "name": "stdout", "output_type": "stream", "text": [ - "Task(id='4f06d705-24e8-4008-ad90-693072386cc5', created_at=datetime.datetime(2025, 7, 27, 6, 4, 37, 584907, tzinfo=TzInfo(UTC)), name='f282773f-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 6, 4, 37, 584907, tzinfo=TzInfo(UTC)))\n" + "Task(id='49df6e10-10b1-4f8a-8217-9561dcac40c5', created_at=datetime.datetime(2025, 7, 28, 4, 2, 24, 337495, tzinfo=TzInfo(UTC)), name='54be2c13-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 2, 24, 337495, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, @@ -69,14 +62,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "Event(id='ce9ba762-9db3-4779-906c-9acec68c1f9e', agent_id='04a102f4-984c-4deb-8402-b9d491074a4a', sequence_id=232, task_id='4f06d705-24e8-4008-ad90-693072386cc5', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 4, 38, 128727, tzinfo=TzInfo(UTC)))\n" + "Event(id='27df566e-6c92-4f86-a7fc-a2b6a1f28018', agent_id='cd4b9256-144b-4aef-949b-f9000995013b', sequence_id=252, task_id='49df6e10-10b1-4f8a-8217-9561dcac40c5', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 2, 24, 776038, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,35 +77,34 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello tell me the latest news about AI and AI startups\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "a6927cc0", "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
╭───────────────────────── USER [07/27/2025 06:04:38] ─────────────────────────╮\n",
+       "
╭───────────────────────── USER [07/28/2025 04:02:24] ─────────────────────────╮\n",
        " Hello tell me the latest news about AI and AI startups                       \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 06:04:38] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:02:24] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", "\u001b[96m│\u001b[0m Hello tell me the latest news about AI and AI startups \u001b[96m│\u001b[0m\n", "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] @@ -122,10 +112,17 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:04:47] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:02:35] ─────────────────────────╮\n",
        " 🔧 Tool Request: web_search                                                  \n",
        "                                                                              \n",
        " Arguments:                                                                   \n",
@@ -141,7 +138,7 @@
        "
\n" ], "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/27/2025 06:04:47] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", + "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:02:35] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", @@ -159,10 +156,17 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:04:47] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:02:35] ─────────────────────────╮\n",
        "Tool Response: web_search                                                 \n",
        "                                                                              \n",
        " Response:                                                                    \n",
@@ -170,71 +174,75 @@
        "                                                                              \n",
        "  {                                                                           \n",
        "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"Artificial intelligence (AI) continues to be a dynamic and       \n",
-       "  rapidly evolving sector, with significant developments in both global       \n",
-       "  initiatives and startup activities.\\n\\n**Global AI Initiatives**\\n\\nChina   \n",
-       "  has proposed the establishment of a new international organization aimed a  \n",
-       "  promoting global cooperation in AI. This initiative seeks to provide an     \n",
-       "  alternative to U.S.-led efforts and foster inclusive development of AI      \n",
-       "  technologies. Premier Li Qiang announced the proposal at the World          \n",
-       "  Artificial Intelligence Conference in Shanghai, emphasizing equitable acce  \n",
-       "  to AI for all nations, particularly those in the Global South. The plan     \n",
-       "  includes hosting the organization's headquarters in Shanghai and involves   \n",
-       "  collaboration among governments, industry leaders, and academics worldwide  \n",
-       "  ([reuters.com](https://www.reuters.com/world/china/china-proposes-new-glob  \n",
-       "  -ai-cooperation-organisation-2025-07-26/?utm_source=openai))\\n\\n**AI Start  \n",
-       "  Funding and Developments**\\n\\nThe AI startup ecosystem is experiencing      \n",
-       "  unprecedented growth, with substantial investments and valuations:\\n\\n-     \n",
-       "  **Perplexity**: This AI search startup has achieved a valuation of $18      \n",
-       "  billion following a $100 million funding round, reflecting strong investor  \n",
-       "  confidence in the competitive AI search market.                             \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Thinking Machines**: Founded by former OpenAI CTO Mira Murati, Thinking   \n",
-       "  Machines has raised $2 billion, valuing the startup at $10 billion. The     \n",
-       "  company plans to unveil its first product soon, featuring a significant     \n",
-       "  open-source component to support researchers and startups developing custo  \n",
-       "  models.                                                                     \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Anthropic**: Reports indicate that Anthropic is being approached by       \n",
-       "  investors whose funding offers could value the startup at $100 billion,     \n",
-       "  highlighting the growing interest in AI safety and ethics.                  \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Mistral AI**: The French AI startup, specializing in open-weight large    \n",
-       "  language models, secured \\u20ac600 million in funding in June 2024,         \n",
-       "  elevating its valuation to \\u20ac5.8 billion. This positions Mistral as a   \n",
-       "  significant player in the global AI race, particularly outside the San      \n",
-       "  Francisco Bay Area.                                                         \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
-       "  ai))\\n\\n- **Applied Intuition**: In June 2025, Applied Intuition achieved   \n",
-       "  $15 billion valuation after completing a $600 million Series F funding      \n",
-       "  round. The company specializes in AI software for autonomous systems and h  \n",
-       "  partnered with automotive manufacturers like Porsche and Audi to develop    \n",
-       "  next-generation advanced driver-assistance systems (ADAS).                  \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Applied_Intuition?utm_so  \n",
-       "  ce=openai))\\n\\n**AI in Venture Capital**\\n\\nAI startups are increasingly    \n",
-       "  dominating venture capital investments:\\n\\n- In the first half of 2025, AI  \n",
-       "  startups accounted for 53% of all global venture capital investments,       \n",
-       "  according to PitchBook.                                                     \n",
-       "  ([axios.com](https://www.axios.com/2025/07/03/ai-startups-vc-investments?u  \n",
-       "  _source=openai))\\n\\n- Despite this surge, capital has become concentrated,  \n",
-       "  with over a third of U.S. VC funds in Q2 going to just five companies.      \n",
-       "  ([axios.com](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e8  \n",
-       "  44f2-9308-212d8860b6aa?utm_source=openai))\\n\\nThese developments underscor  \n",
-       "  the transformative impact of AI across various sectors and highlight the    \n",
-       "  sector's rapid growth and investment potential.\\n\\n\\n## Recent Development  \n",
-       "  in AI Startups and Global Initiatives:\\n- [China proposes new global AI     \n",
-       "  cooperation                                                                 \n",
-       "  organisation](https://www.reuters.com/world/china/china-proposes-new-globa  \n",
-       "  ai-cooperation-organisation-2025-07-26/?utm_source=openai)\\n- [US AI        \n",
-       "  startups see funding surge while more VC funds struggle to raise, data      \n",
+       "    \"text\": \"As of July 28, 2025, the artificial intelligence (AI) sector     \n",
+       "  continues to experience significant growth and innovation. Here are some o  \n",
+       "  the latest developments:\\n\\n**Surge in AI Startup Funding**\\n\\nIn the firs  \n",
+       "  half of 2025, U.S. startup funding increased by 75.6%, reaching $162.8      \n",
+       "  billion\\u2014the second-highest on record. This surge is largely driven by  \n",
+       "  AI investments, which constituted 64.1% of total deal value during this     \n",
+       "  period. Major tech firms have been pivotal in this trend, with OpenAI       \n",
+       "  securing a $40 billion funding round and Meta investing $14.3 billion in    \n",
+       "  Scale AI.                                                                   \n",
+       "  ([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding  \n",
+       "  urge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=  \n",
+       "  enai))\\n\\n**Legal Disputes in AI Development**\\n\\nTech startup iyO Inc. ha  \n",
+       "  filed a lawsuit against former executive Dan Sargent, alleging the leak of  \n",
+       "  confidential product designs. This follows a previous trademark infringeme  \n",
+       "  lawsuit against OpenAI and designer Jony Ive over a similar-sounding AI     \n",
+       "  interface venture. The legal battles underscore the competitive and         \n",
+       "  secretive nature of AI development.                                         \n",
+       "  ([apnews.com](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?  \n",
+       "  m_source=openai))\\n\\n**Meta's Potential Investment in Scale AI**\\n\\nMeta    \n",
+       "  Platforms is reportedly in discussions to invest over $10 billion in Scale  \n",
+       "  AI, a data labeling startup. This potential investment highlights the       \n",
+       "  growing importance of data infrastructure in AI development. Scale AI,      \n",
+       "  founded in 2016, has previously received backing from major tech companies  \n",
+       "  such as Nvidia and Amazon.                                                  \n",
+       "  ([reuters.com](https://www.reuters.com/business/meta-talks-scale-ai-invest  \n",
+       "  nt-that-could-top-10-billion-bloomberg-news-reports-2025-06-08/?utm_source  \n",
+       "  penai))\\n\\n**Emerald AI's Energy-Efficient Data Centers**\\n\\nNvidia,        \n",
+       "  alongside Radical Ventures and AMPLO, has invested in Emerald AI, a startu  \n",
+       "  aiming to revolutionize data center energy use. Emerald AI's software alig  \n",
+       "  AI computation loads with regional electricity grid demands, allowing data  \n",
+       "  centers to support energy infrastructure rather than burden it. A recent    \n",
+       "  field test demonstrated the software's ability to dynamically shift         \n",
+       "  workloads in real time.                                                     \n",
+       "  ([axios.com](https://www.axios.com/2025/07/01/nvidia-startup-data-center-p  \n",
+       "  er?utm_source=openai))\\n\\n**Thinking Machines Lab's Rapid                   \n",
+       "  Growth**\\n\\nFounded in February 2025 by Mira Murati, former CTO of OpenAI,  \n",
+       "  Thinking Machines Lab has quickly gained traction. By July, the company     \n",
+       "  secured a $2 billion early-stage funding round led by Andreessen Horowitz,  \n",
+       "  valuing it at $12 billion. The startup has attracted talent from            \n",
+       "  competitors, including OpenAI co-founder John Schulman.                     \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Thinking_Machines_Lab?ut  \n",
+       "  source=openai))\\n\\n**Base44's Acquisition by Wix**\\n\\nIsraeli startup       \n",
+       "  Base44, founded in January 2025, developed an AI-powered platform enabling  \n",
+       "  the creation of web and mobile applications through a natural language      \n",
+       "  conversational interface. By June 2025, Base44 had over 100,000 users and   \n",
+       "  secured partnerships with companies like eToro and Similarweb. In June 202  \n",
+       "  Wix.com acquired Base44 for approximately $80 million, integrating its      \n",
+       "  technology into Wix's product suite.                                        \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Base44?utm_source=openai  \n",
+       "  \\n\\n**Harvey's $300 Million Series D Funding**\\n\\nLegal AI firm Harvey      \n",
+       "  raised $300 million in a Series D funding round led by Sequoia Capital,     \n",
+       "  valuing the company at $3 billion. The funding round also included          \n",
+       "  participation from OpenAI, Kleiner Perkins, and Sequoia Capital. Harvey     \n",
+       "  specializes in using AI to answer legal questions, streamlining legal       \n",
+       "  research and documentation processes.                                       \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Harvey_%28software%29?ut  \n",
+       "  source=openai))\\n\\nThese developments reflect the dynamic and rapidly       \n",
+       "  evolving landscape of AI startups, highlighting significant investments,    \n",
+       "  strategic acquisitions, and innovative applications across various          \n",
+       "  sectors.\\n\\n\\n## Recent Developments in AI Startups:\\n- [US AI startups se  \n",
+       "  funding surge while more VC funds struggle to raise, data                   \n",
        "  shows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w  \n",
        "  le-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\  \n",
-       "   [Axios Pro Rata: AI eats                                                   \n",
-       "  VC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93  \n",
-       "  -212d8860b6aa?utm_source=openai) \",                                         \n",
+       "   [AI device startup that sued OpenAI and Jony Ive is now suing its own      \n",
+       "  ex-employee over trade                                                      \n",
+       "  secrets](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?utm_s  \n",
+       "  rce=openai)\\n- [Nvidia stakes new startup that flips script on data center  \n",
+       "  power](https://www.axios.com/2025/07/01/nvidia-startup-data-center-power?u  \n",
+       "  _source=openai) \",                                                          \n",
        "    \"annotations\": null,                                                      \n",
        "    \"meta\": null                                                              \n",
        "  }                                                                           \n",
@@ -243,7 +251,7 @@
        "
\n" ], "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/27/2025 06:04:47] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", + "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:02:35] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", @@ -251,71 +259,75 @@ "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"Artificial intelligence (AI) continues to be a dynamic and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mrapidly evolving sector, with significant developments in both global \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minitiatives and startup activities.\\n\\n**Global AI Initiatives**\\n\\nChina \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhas proposed the establishment of a new international organization aimed a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpromoting global cooperation in AI. This initiative seeks to provide an \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34malternative to U.S.-led efforts and foster inclusive development of AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtechnologies. Premier Li Qiang announced the proposal at the World \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mArtificial Intelligence Conference in Shanghai, emphasizing equitable acce\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mto AI for all nations, particularly those in the Global South. The plan \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mincludes hosting the organization's headquarters in Shanghai and involves \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcollaboration among governments, industry leaders, and academics worldwide\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/world/china/china-proposes-new-glob\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-ai-cooperation-organisation-2025-07-26/?utm_source=openai))\\n\\n**AI Start\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFunding and Developments**\\n\\nThe AI startup ecosystem is experiencing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34munprecedented growth, with substantial investments and valuations:\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Perplexity**: This AI search startup has achieved a valuation of $18 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion following a $100 million funding round, reflecting strong investor\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mconfidence in the competitive AI search market. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Thinking Machines**: Founded by former OpenAI CTO Mira Murati, Thinking \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mMachines has raised $2 billion, valuing the startup at $10 billion. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompany plans to unveil its first product soon, featuring a significant \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mopen-source component to support researchers and startups developing custo\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmodels. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Anthropic**: Reports indicate that Anthropic is being approached by \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestors whose funding offers could value the startup at $100 billion, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhighlighting the growing interest in AI safety and ethics. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Mistral AI**: The French AI startup, specializing in open-weight large \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlanguage models, secured \\u20ac600 million in funding in June 2024, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34melevating its valuation to \\u20ac5.8 billion. This positions Mistral as a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msignificant player in the global AI race, particularly outside the San \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFrancisco Bay Area. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n- **Applied Intuition**: In June 2025, Applied Intuition achieved \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m$15 billion valuation after completing a $600 million Series F funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround. The company specializes in AI software for autonomous systems and h\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnered with automotive manufacturers like Porsche and Audi to develop \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnext-generation advanced driver-assistance systems (ADAS). \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Applied_Intuition?utm_so\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mce=openai))\\n\\n**AI in Venture Capital**\\n\\nAI startups are increasingly \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdominating venture capital investments:\\n\\n- In the first half of 2025, AI\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartups accounted for 53% of all global venture capital investments, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34maccording to PitchBook. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/2025/07/03/ai-startups-vc-investments?u\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m_source=openai))\\n\\n- Despite this surge, capital has become concentrated,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mwith over a third of U.S. VC funds in Q2 going to just five companies. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e8\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m44f2-9308-212d8860b6aa?utm_source=openai))\\n\\nThese developments underscor\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe transformative impact of AI across various sectors and highlight the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msector's rapid growth and investment potential.\\n\\n\\n## Recent Development\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34min AI Startups and Global Initiatives:\\n- [China proposes new global AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcooperation \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganisation](https://www.reuters.com/world/china/china-proposes-new-globa\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai-cooperation-organisation-2025-07-26/?utm_source=openai)\\n- [US AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartups see funding surge while more VC funds struggle to raise, data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"As of July 28, 2025, the artificial intelligence (AI) sector \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcontinues to experience significant growth and innovation. Here are some o\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe latest developments:\\n\\n**Surge in AI Startup Funding**\\n\\nIn the firs\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhalf of 2025, U.S. startup funding increased by 75.6%, reaching $162.8 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion\\u2014the second-highest on record. This surge is largely driven by\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI investments, which constituted 64.1% of total deal value during this \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mperiod. Major tech firms have been pivotal in this trend, with OpenAI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecuring a $40 billion funding round and Meta investing $14.3 billion in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mScale AI. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34murge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai))\\n\\n**Legal Disputes in AI Development**\\n\\nTech startup iyO Inc. ha\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfiled a lawsuit against former executive Dan Sargent, alleging the leak of\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mconfidential product designs. This follows a previous trademark infringeme\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlawsuit against OpenAI and designer Jony Ive over a similar-sounding AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minterface venture. The legal battles underscore the competitive and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecretive nature of AI development. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([apnews.com](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mm_source=openai))\\n\\n**Meta's Potential Investment in Scale AI**\\n\\nMeta \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mPlatforms is reportedly in discussions to invest over $10 billion in Scale\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI, a data labeling startup. This potential investment highlights the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mgrowing importance of data infrastructure in AI development. Scale AI, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfounded in 2016, has previously received backing from major tech companies\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msuch as Nvidia and Amazon. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/meta-talks-scale-ai-invest\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnt-that-could-top-10-billion-bloomberg-news-reports-2025-06-08/?utm_source\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpenai))\\n\\n**Emerald AI's Energy-Efficient Data Centers**\\n\\nNvidia, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34malongside Radical Ventures and AMPLO, has invested in Emerald AI, a startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34maiming to revolutionize data center energy use. Emerald AI's software alig\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI computation loads with regional electricity grid demands, allowing data\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcenters to support energy infrastructure rather than burden it. A recent \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfield test demonstrated the software's ability to dynamically shift \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mworkloads in real time. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/2025/07/01/nvidia-startup-data-center-p\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mer?utm_source=openai))\\n\\n**Thinking Machines Lab's Rapid \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mGrowth**\\n\\nFounded in February 2025 by Mira Murati, former CTO of OpenAI,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mThinking Machines Lab has quickly gained traction. By July, the company \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecured a $2 billion early-stage funding round led by Andreessen Horowitz,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluing it at $12 billion. The startup has attracted talent from \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompetitors, including OpenAI co-founder John Schulman. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Thinking_Machines_Lab?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\n**Base44's Acquisition by Wix**\\n\\nIsraeli startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mBase44, founded in January 2025, developed an AI-powered platform enabling\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe creation of web and mobile applications through a natural language \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mconversational interface. By June 2025, Base44 had over 100,000 users and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecured partnerships with companies like eToro and Similarweb. In June 202\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mWix.com acquired Base44 for approximately $80 million, integrating its \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtechnology into Wix's product suite. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Base44?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n**Harvey's $300 Million Series D Funding**\\n\\nLegal AI firm Harvey \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mraised $300 million in a Series D funding round led by Sequoia Capital, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluing the company at $3 billion. The funding round also included \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mparticipation from OpenAI, Kleiner Perkins, and Sequoia Capital. Harvey \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mspecializes in using AI to answer legal questions, streamlining legal \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mresearch and documentation processes. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Harvey_%28software%29?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\nThese developments reflect the dynamic and rapidly \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mevolving landscape of AI startups, highlighting significant investments, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstrategic acquisitions, and innovative applications across various \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msectors.\\n\\n\\n## Recent Developments in AI Startups:\\n- [US AI startups se\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfunding surge while more VC funds struggle to raise, data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mshows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mle-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m [Axios Pro Rata: AI eats \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mVC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-212d8860b6aa?utm_source=openai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m [AI device startup that sued OpenAI and Jony Ive is now suing its own \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mex-employee over trade \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecrets](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?utm_s\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mrce=openai)\\n- [Nvidia stakes new startup that flips script on data center\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpower](https://www.axios.com/2025/07/01/nvidia-startup-data-center-power?u\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m_source=openai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", @@ -336,86 +348,84 @@ { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:04:49] ─────────────────────────╮\n",
-       " Here's the latest news about AI and AI startups:                             \n",
-       "                                                                              \n",
-       "                            Global AI Initiatives                             \n",
-       "                                                                              \n",
-       " China's Proposal: China has proposed the creation of a new international  \n",
-       "    organization for AI cooperation. This aims to promote global              \n",
-       "    collaboration, with headquarters potentially in Shanghai. The goal is to  \n",
-       "    ensure equitable AI access and development, particularly benefiting       \n",
-       "    nations in the Global South. (Source)                                     \n",
-       "                                                                              \n",
-       "                           AI Startup Developments                            \n",
-       "                                                                              \n",
-       " Perplexity: An AI search startup, Perplexity, is valued at $18 billion    \n",
-       "    after a $100 million funding round. (Source)                              \n",
-       " Thinking Machines: Founded by former OpenAI CTO Mira Murati, this startup \n",
-       "    raised $2 billion, reaching a $10 billion valuation. It plans to launch   \n",
-       "    its first product with a significant open-source component. (Source)      \n",
-       " Anthropic: Investors are reportedly interested in valuing this AI         \n",
-       "    safety-focused startup at $100 billion. (Source)                          \n",
-       " Mistral AI: This French startup raised €600 million, achieving a          \n",
-       "    valuation of €5.8 billion. It focuses on open-weight large language       \n",
-       "    models. (Source)                                                          \n",
-       " Applied Intuition: Specializing in AI for autonomous systems, it reached  \n",
-       "    a $15 billion valuation after a $600 million funding round. (Source)      \n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:02:35] ─────────────────────────╮\n",
+       " Here's the latest news on AI and AI startups as of July 28, 2025:            \n",
        "                                                                              \n",
-       "                            AI in Venture Capital                             \n",
+       "  1 Surge in AI Startup Funding: U.S. startup funding has increased           \n",
+       "    significantly, with AI investments representing a major portion. This     \n",
+       "    includes a massive $40 billion round for OpenAI and $14.3 billion from    \n",
+       "    Meta for Scale AI. Read more.                                             \n",
+       "  2 Legal Disputes in AI Development: Tech startup iyO Inc. is in legal       \n",
+       "    battles regarding leaked product designs and trademark issues with OpenAI \n",
+       "    and Jony Ive. Learn more.                                                 \n",
+       "  3 Meta's Investment in Scale AI: Meta is considering a $10 billion          \n",
+       "    investment in Scale AI, underlining the importance of data infrastructure \n",
+       "    in AI. Details here.                                                      \n",
+       "  4 Emerald AI's Energy-Efficient Solutions: Nvidia and other investors are   \n",
+       "    backing Emerald AI to improve data center energy use in alignment with    \n",
+       "    electricity grid demands. Find out more.                                  \n",
+       "  5 Thinking Machines Lab's Rapid Growth: Founded by Mira Murati, this        \n",
+       "    startup quickly drew $2 billion in funding, attracting talent from major  \n",
+       "    competitors. Read more about it.                                          \n",
+       "  6 Base44's Acquisition by Wix: Base44, known for its AI-powered platform    \n",
+       "    for creating applications through conversational interfaces, was acquired \n",
+       "    by Wix for about $80 million. More information.                           \n",
+       "  7 Harvey's Series D Funding: Legal AI firm Harvey raised $300 million, led  \n",
+       "    by Sequoia Capital, to advance its AI capabilities for legal processes.   \n",
+       "    Explore further.                                                          \n",
        "                                                                              \n",
-       " Investment Surge: In 2025, AI startups accounted for 53% of global        \n",
-       "    venture capital investments. However, more than a third of U.S. VC funds  \n",
-       "    were directed to just five companies. (Source)                            \n",
-       "                                                                              \n",
-       " These highlights reveal the dynamic growth and transformative impact of AI   \n",
-       " across sectors globally.                                                     \n",
+       " These highlights demonstrate the vibrant and rapidly evolving nature of AI   \n",
+       " startups, with substantial investments, strategic developments, and          \n",
+       " innovative applications across various sectors.                              \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 06:04:49] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Here's the latest news about AI and AI startups: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mGlobal AI Initiatives\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mChina's Proposal:\u001b[0m China has proposed the creation of a new international \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0morganization for AI cooperation. This aims to promote global \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcollaboration, with headquarters potentially in Shanghai. The goal is to \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mensure equitable AI access and development, particularly benefiting \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mnations in the Global South. (\u001b]8;id=31401;https://www.reuters.com/world/china/china-proposes-new-global-ai-cooperation-organisation-2025-07-26/?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mAI Startup Developments\u001b[0m \u001b[32m│\u001b[0m\n", + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:02:35] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m Here's the latest news on AI and AI startups as of July 28, 2025: \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPerplexity:\u001b[0m An AI search startup, Perplexity, is valued at $18 billion \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mafter a $100 million funding round. (\u001b]8;id=615514;https://www.pymnts.com/news/artificial-intelligence/2025/this-week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mThinking Machines:\u001b[0m Founded by former OpenAI CTO Mira Murati, this startup \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mraised $2 billion, reaching a $10 billion valuation. It plans to launch \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mits first product with a significant open-source component. (\u001b]8;id=877122;https://www.pymnts.com/news/artificial-intelligence/2025/this-week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAnthropic:\u001b[0m Investors are reportedly interested in valuing this AI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msafety-focused startup at $100 billion. (\u001b]8;id=634141;https://www.pymnts.com/news/artificial-intelligence/2025/this-week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMistral AI:\u001b[0m This French startup raised €600 million, achieving a \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvaluation of €5.8 billion. It focuses on open-weight large language \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mmodels. (\u001b]8;id=894816;https://en.wikipedia.org/wiki/Mistral_AI?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mApplied Intuition:\u001b[0m Specializing in AI for autonomous systems, it reached \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0ma $15 billion valuation after a $600 million funding round. (\u001b]8;id=900026;https://en.wikipedia.org/wiki/Applied_Intuition?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mSurge in AI Startup Funding\u001b[0m: U.S. startup funding has increased \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msignificantly, with AI investments representing a major portion. This \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mincludes a massive $40 billion round for OpenAI and $14.3 billion from \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mMeta for Scale AI. \u001b]8;id=137415;https://www.reuters.com/business/us-ai-startups-see-funding-surge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai\u001b\\\u001b[4;34mRead more\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mLegal Disputes in AI Development\u001b[0m: Tech startup iyO Inc. is in legal \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mbattles regarding leaked product designs and trademark issues with OpenAI \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mand Jony Ive. \u001b]8;id=245135;https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?utm_source=openai\u001b\\\u001b[4;34mLearn more\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mMeta's Investment in Scale AI\u001b[0m: Meta is considering a $10 billion \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minvestment in Scale AI, underlining the importance of data infrastructure \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0min AI. \u001b]8;id=369642;https://www.reuters.com/business/meta-talks-scale-ai-investment-that-could-top-10-billion-bloomberg-news-reports-2025-06-08/?utm_source=openai\u001b\\\u001b[4;34mDetails here\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mEmerald AI's Energy-Efficient Solutions\u001b[0m: Nvidia and other investors are \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mbacking Emerald AI to improve data center energy use in alignment with \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0melectricity grid demands. \u001b]8;id=234177;https://www.axios.com/2025/07/01/nvidia-startup-data-center-power?utm_source=openai\u001b\\\u001b[4;34mFind out more\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mThinking Machines Lab's Rapid Growth\u001b[0m: Founded by Mira Murati, this \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mstartup quickly drew $2 billion in funding, attracting talent from major \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcompetitors. \u001b]8;id=709301;https://en.wikipedia.org/wiki/Thinking_Machines_Lab?utm_source=openai\u001b\\\u001b[4;34mRead more about it\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mBase44's Acquisition by Wix\u001b[0m: Base44, known for its AI-powered platform \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfor creating applications through conversational interfaces, was acquired \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mby Wix for about $80 million. \u001b]8;id=806967;https://en.wikipedia.org/wiki/Base44?utm_source=openai\u001b\\\u001b[4;34mMore information\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mHarvey's Series D Funding\u001b[0m: Legal AI firm Harvey raised $300 million, led \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mby Sequoia Capital, to advance its AI capabilities for legal processes. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b]8;id=247028;https://en.wikipedia.org/wiki/Harvey_%28software%29?utm_source=openai\u001b\\\u001b[4;34mExplore further\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mAI in Venture Capital\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mInvestment Surge:\u001b[0m In 2025, AI startups accounted for 53% of global \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mventure capital investments. However, more than a third of U.S. VC funds \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwere directed to just five companies. (\u001b]8;id=854031;https://www.axios.com/2025/07/03/ai-startups-vc-investments?utm_source=openai\u001b\\\u001b[4;34mSource\u001b[0m\u001b]8;;\u001b\\) \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m These highlights reveal the dynamic growth and transformative impact of AI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m across sectors globally. \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m These highlights demonstrate the vibrant and rapidly evolving nature of AI \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m startups, with substantial investments, strategic developments, and \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m innovative applications across various sectors. \u001b[32m│\u001b[0m\n", "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] }, "metadata": {}, "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Streaming timed out after 20 seconds - returning collected messages\n" + ] } ], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -431,7 +441,7 @@ { "cell_type": "code", "execution_count": null, - "id": "557ce4b1", + "id": "4864e354", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb b/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb index e6c2841c..7e6a1527 100644 --- a/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb +++ b/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "id": "36834357", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "d1c309d6", "metadata": {}, "outputs": [], @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "id": "9f6e6ef0", "metadata": {}, "outputs": [ @@ -32,36 +32,29 @@ "name": "stdout", "output_type": "stream", "text": [ - "Task(id='09121bce-e4d6-452d-82be-7bb9de75a24e', created_at=datetime.datetime(2025, 7, 27, 6, 3, 27, 74360, tzinfo=TzInfo(UTC)), name='2191ef3a-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 27, 6, 3, 27, 74360, tzinfo=TzInfo(UTC)))\n" + "Task(id='3d30c728-2634-4ec2-a132-dc0ac143e484', created_at=datetime.datetime(2025, 7, 28, 4, 3, 11, 172316, tzinfo=TzInfo(UTC)), name='4759e77b-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 3, 11, 172316, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "id": "b03b0d37", "metadata": {}, "outputs": [ @@ -69,14 +62,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "Event(id='b379c00e-b30a-4808-b0fe-4c6ffa6acd5b', agent_id='8e8d7d03-214f-4163-97b4-ce687ce9923f', sequence_id=231, task_id='09121bce-e4d6-452d-82be-7bb9de75a24e', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 27, 6, 3, 27, 572883, tzinfo=TzInfo(UTC)))\n" + "Event(id='14a48389-0c6e-4001-9c11-8e4e6edf9390', agent_id='8e8d7d03-214f-4163-97b4-ce687ce9923f', sequence_id=253, task_id='3d30c728-2634-4ec2-a132-dc0ac143e484', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 3, 11, 382344, tzinfo=TzInfo(UTC)))\n" ] } ], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -86,35 +77,34 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello tell me the latest news about AI and AI startups\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 5, "id": "a6927cc0", "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
╭───────────────────────── USER [07/27/2025 06:03:27] ─────────────────────────╮\n",
+       "
╭───────────────────────── USER [07/28/2025 04:03:11] ─────────────────────────╮\n",
        " Hello tell me the latest news about AI and AI startups                       \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/27/2025 06:03:27] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:03:11] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", "\u001b[96m│\u001b[0m Hello tell me the latest news about AI and AI startups \u001b[96m│\u001b[0m\n", "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] @@ -122,45 +112,161 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, + { + "data": { + "text/html": [ + "
╭──────────────────────── AGENT [07/28/2025 04:03:11] ─────────────────────────╮\n",
+       " What specific areas of AI or types of startups are you most interested in?   \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:03:11] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m What specific areas of AI or types of startups are you most interested in? \u001b[32m│\u001b[0m\n", + "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Streaming timed out after 20 seconds - returning collected messages\n" + ] + } + ], + "source": [ + "# Subscribe to the async task messages produced by the agent\n", + "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", + "\n", + "task_messages = subscribe_to_async_task_messages(\n", + " client=client,\n", + " task=task, \n", + " only_after_timestamp=event.created_at, \n", + " print_messages=True,\n", + " rich_print=True,\n", + " timeout=5,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "4864e354", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Event(id='d52b0a3e-bb39-4898-a313-d342cfe29dee', agent_id='8e8d7d03-214f-4163-97b4-ce687ce9923f', sequence_id=254, task_id='3d30c728-2634-4ec2-a132-dc0ac143e484', content=TextContent(author='user', content='I want to know what viral news came up and which startups failed, got acquired, or became very successful or popular in the last 3 months', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 4, 58, 62398, tzinfo=TzInfo(UTC)))\n" + ] + } + ], + "source": [ + "# Send a follow up event to the agent in response to the agent's follow up question\n", + "\n", + "rpc_response = client.agents.send_event(\n", + " agent_name=AGENT_NAME,\n", + " params={\n", + " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"I want to know what viral news came up and which startups failed, got acquired, or became very successful or popular in the last 3 months\"},\n", + " \"task_id\": task.id,\n", + " }\n", + ")\n", + "\n", + "event = rpc_response.result\n", + "print(event)" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "863fa6f3", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
╭───────────────────────── USER [07/28/2025 04:04:58] ─────────────────────────╮\n",
+       " I want to know what viral news came up and which startups failed, got        \n",
+       " acquired, or became very successful or popular in the last 3 months          \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:04:58] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", + "\u001b[96m│\u001b[0m I want to know what viral news came up and which startups failed, got \u001b[96m│\u001b[0m\n", + "\u001b[96m│\u001b[0m acquired, or became very successful or popular in the last 3 months \u001b[96m│\u001b[0m\n", + "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
╭──────────────────────── AGENT [07/28/2025 04:04:58] ─────────────────────────╮\n",
+       " Starting deep research process based on your query and follow-up             \n",
+       " responses...                                                                 \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:04:58] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", + "\u001b[32m│\u001b[0m Starting deep research process based on your query and follow-up \u001b[32m│\u001b[0m\n", + "\u001b[32m│\u001b[0m responses... \u001b[32m│\u001b[0m\n", + "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:03:31] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:05:13] ─────────────────────────╮\n",
        " 🔧 Tool Request: web_search                                                  \n",
        "                                                                              \n",
        " Arguments:                                                                   \n",
        "                                                                              \n",
        "                                                                              \n",
        "  {                                                                           \n",
-       "    \"input\": \"latest news about AI and AI startups\",                          \n",
-       "    \"user_location\": {                                                        \n",
-       "      \"type\": \"approximate\",                                                  \n",
-       "      \"city\": \"New York\",                                                     \n",
-       "      \"country\": \"USA\",                                                       \n",
-       "      \"region\": \"NY\",                                                         \n",
-       "      \"timezone\": \"America/New_York\"                                          \n",
-       "    }                                                                         \n",
+       "    \"input\": \"latest news AI startups October 2023\",                          \n",
+       "    \"model\": \"gpt-4o\",                                                        \n",
+       "    \"type\": \"web_search_preview\"                                              \n",
        "  }                                                                           \n",
        "                                                                              \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/27/2025 06:03:31] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", + "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:13] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news about AI and AI startups\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"user_location\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"approximate\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"city\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"New York\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"country\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"USA\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"region\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"NY\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"timezone\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"America/New_York\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news AI startups October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" @@ -169,10 +275,17 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:03:31] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:05:13] ─────────────────────────╮\n",
        "Tool Response: web_search                                                 \n",
        "                                                                              \n",
        " Response:                                                                    \n",
@@ -180,10 +293,67 @@
        "                                                                              \n",
        "  {                                                                           \n",
        "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"Error executing tool web_search: Error code: 400 - {'error':     \n",
-       "  {'message': \\\"Invalid input USA: 'country' must be an ISO 3166-1 code       \n",
-       "  (https://en.wikipedia.org/wiki/ISO_3166-1).\\\", 'type':                      \n",
-       "  'invalid_request_error', 'param': 'tools', 'code': None}}\",                 \n",
+       "    \"text\": \"In October 2023, the AI startup landscape witnessed significant  \n",
+       "  developments, including substantial funding rounds, strategic partnerships  \n",
+       "  and innovative product launches. Here are some of the notable               \n",
+       "  highlights:\\n\\n**Major Funding Rounds:**\\n\\n- **Mistral AI:** The           \n",
+       "  Paris-based generative AI startup, co-founded by former researchers from    \n",
+       "  Meta Platforms and Alphabet, raised \\u20ac385 million in October 2023. Thi  \n",
+       "  funding aimed to position Mistral AI as Europe's counterpart to OpenAI.     \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
+       "  ai))\\n\\n- **Perplexity:** Specializing in conversational AI search engines  \n",
+       "  Perplexity secured new funding led by venture capital firm IVP, elevating   \n",
+       "  its valuation to $500 million.                                              \n",
+       "  ([techstartups.com](https://techstartups.com/2023/10/24/?utm_source=openai  \n",
+       "  \\n\\n- **EdgeCortix:** The Tokyo-based AI hardware company raised $20 milli  \n",
+       "  in a funding round led by SBI Investment and Global Hands-On VC. EdgeCorti  \n",
+       "  focuses on scalable, run-time reconfigurable neural network processor IP f  \n",
+       "  edge inference.                                                             \n",
+       "  ([semiengineering.com](https://semiengineering.com/startup-funding-october  \n",
+       "  023/?utm_source=openai))\\n\\n- **Lemurian Labs:** This Toronto-based startu  \n",
+       "  developing hardware and software accelerated computing platforms for AI     \n",
+       "  applications secured $9 million in seed funding.                            \n",
+       "  ([semiengineering.com](https://semiengineering.com/startup-funding-october  \n",
+       "  023/?utm_source=openai))\\n\\n**Strategic Partnerships and                    \n",
+       "  Acquisitions:**\\n\\n- **Flatfile's Acquisition of ChatCSV:** Denver-based    \n",
+       "  Flatfile acquired ChatCSV, an AI startup known for its AI chat app used by  \n",
+       "  organizations like P&G and McKinsey. This acquisition aims to enhance       \n",
+       "  Flatfile's AI-powered data exchange platform.                               \n",
+       "  ([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai  \n",
+       "  \\n\\n- **WasteVision AI and Keymakr Collaboration:** Announced on October 6  \n",
+       "  2023, WasteVision AI partnered with Keymakr to revolutionize waste          \n",
+       "  management through technological advancements, focusing on innovative       \n",
+       "  solutions for waste sorting and detection.                                  \n",
+       "  ([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other  \n",
+       "  i-news-during-september-and-october?utm_source=openai))\\n\\n**Product        \n",
+       "  Launches and Innovations:**\\n\\n- **Qwak's Vector Store:** On September 28,  \n",
+       "  2023, Israeli MLOps startup Qwak unveiled its Vector Store, a feature       \n",
+       "  designed to transform how data science teams manage vector storage,         \n",
+       "  retrieval, and embedding operations, streamlining these processes.          \n",
+       "  ([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other  \n",
+       "  i-news-during-september-and-october?utm_source=openai))\\n\\n- **Giga ML's    \n",
+       "  On-Premise LLMs:** Bengaluru-based Giga ML introduced on-premise deploymen  \n",
+       "  and fine-tuning services for large language models (LLMs), allowing         \n",
+       "  enterprises to utilize LLMs internally without relying on cloud-based       \n",
+       "  services, addressing privacy and compliance concerns.                       \n",
+       "  ([upliftedstories.com](https://upliftedstories.com/2023/11/06/startups-tha  \n",
+       "  caught-our-eyes-in-october-2023/?utm_source=openai))\\n\\n**Industry          \n",
+       "  Trends:**\\n\\nThe AI sector continued to attract significant investments,    \n",
+       "  with startups focusing on diverse applications ranging from generative AI   \n",
+       "  and hardware acceleration to industry-specific solutions. The trend of      \n",
+       "  substantial funding rounds and strategic partnerships underscores the       \n",
+       "  growing importance and rapid evolution of AI technologies across various    \n",
+       "  industries.\\n\\n\\n## Key AI Startup Developments in October 2023:\\n- [AI     \n",
+       "  startup funding more than doubles in Q2, Crunchbase data                    \n",
+       "  shows](https://www.reuters.com/technology/artificial-intelligence/ai-start  \n",
+       "  -funding-more-than-doubles-q2-crunchbase-data-shows-2024-07-09/?utm_source  \n",
+       "  penai)\\n- [Exclusive: Redactive AI raises $7.5M seed                        \n",
+       "  round](https://www.axios.com/2024/07/02/exclusive-redactive-ai-75m-felicis  \n",
+       "  lackbird?utm_source=openai)\\n- [AI startup Etched raises $120 million to    \n",
+       "  develop specialized                                                         \n",
+       "  chip](https://www.reuters.com/technology/artificial-intelligence/ai-startu  \n",
+       "  etched-raises-120-million-develop-specialized-chip-2024-06-25/?utm_source=  \n",
+       "  enai) \",                                                                    \n",
        "    \"annotations\": null,                                                      \n",
        "    \"meta\": null                                                              \n",
        "  }                                                                           \n",
@@ -192,7 +362,7 @@
        "
\n" ], "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/27/2025 06:03:31] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", + "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:13] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", @@ -200,10 +370,67 @@ "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"Error executing tool web_search: Error code: 400 - {'error': \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m{'message': \\\"Invalid input USA: 'country' must be an ISO 3166-1 code \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m(https://en.wikipedia.org/wiki/ISO_3166-1).\\\", 'type': \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m'invalid_request_error', 'param': 'tools', 'code': None}}\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, the AI startup landscape witnessed significant\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelopments, including substantial funding rounds, strategic partnerships\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand innovative product launches. Here are some of the notable \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhighlights:\\n\\n**Major Funding Rounds:**\\n\\n- **Mistral AI:** The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mParis-based generative AI startup, co-founded by former researchers from \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mMeta Platforms and Alphabet, raised \\u20ac385 million in October 2023. Thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfunding aimed to position Mistral AI as Europe's counterpart to OpenAI. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n- **Perplexity:** Specializing in conversational AI search engines\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mPerplexity secured new funding led by venture capital firm IVP, elevating \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mits valuation to $500 million. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([techstartups.com](https://techstartups.com/2023/10/24/?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n- **EdgeCortix:** The Tokyo-based AI hardware company raised $20 milli\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34min a funding round led by SBI Investment and Global Hands-On VC. EdgeCorti\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfocuses on scalable, run-time reconfigurable neural network processor IP f\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34medge inference. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([semiengineering.com](https://semiengineering.com/startup-funding-october\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m023/?utm_source=openai))\\n\\n- **Lemurian Labs:** This Toronto-based startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdeveloping hardware and software accelerated computing platforms for AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mapplications secured $9 million in seed funding. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([semiengineering.com](https://semiengineering.com/startup-funding-october\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m023/?utm_source=openai))\\n\\n**Strategic Partnerships and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAcquisitions:**\\n\\n- **Flatfile's Acquisition of ChatCSV:** Denver-based \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFlatfile acquired ChatCSV, an AI startup known for its AI chat app used by\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganizations like P&G and McKinsey. This acquisition aims to enhance \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFlatfile's AI-powered data exchange platform. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n- **WasteVision AI and Keymakr Collaboration:** Announced on October 6\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m2023, WasteVision AI partnered with Keymakr to revolutionize waste \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmanagement through technological advancements, focusing on innovative \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msolutions for waste sorting and detection. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi-news-during-september-and-october?utm_source=openai))\\n\\n**Product \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mLaunches and Innovations:**\\n\\n- **Qwak's Vector Store:** On September 28,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m2023, Israeli MLOps startup Qwak unveiled its Vector Store, a feature \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdesigned to transform how data science teams manage vector storage, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mretrieval, and embedding operations, streamlining these processes. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi-news-during-september-and-october?utm_source=openai))\\n\\n- **Giga ML's \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mOn-Premise LLMs:** Bengaluru-based Giga ML introduced on-premise deploymen\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand fine-tuning services for large language models (LLMs), allowing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menterprises to utilize LLMs internally without relying on cloud-based \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mservices, addressing privacy and compliance concerns. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([upliftedstories.com](https://upliftedstories.com/2023/11/06/startups-tha\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcaught-our-eyes-in-october-2023/?utm_source=openai))\\n\\n**Industry \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mTrends:**\\n\\nThe AI sector continued to attract significant investments, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mwith startups focusing on diverse applications ranging from generative AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand hardware acceleration to industry-specific solutions. The trend of \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msubstantial funding rounds and strategic partnerships underscores the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mgrowing importance and rapid evolution of AI technologies across various \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mindustries.\\n\\n\\n## Key AI Startup Developments in October 2023:\\n- [AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartup funding more than doubles in Q2, Crunchbase data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mshows](https://www.reuters.com/technology/artificial-intelligence/ai-start\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-funding-more-than-doubles-q2-crunchbase-data-shows-2024-07-09/?utm_source\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpenai)\\n- [Exclusive: Redactive AI raises $7.5M seed \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround](https://www.axios.com/2024/07/02/exclusive-redactive-ai-75m-felicis\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlackbird?utm_source=openai)\\n- [AI startup Etched raises $120 million to \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelop specialized \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mchip](https://www.reuters.com/technology/artificial-intelligence/ai-startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34metched-raises-120-million-develop-specialized-chip-2024-06-25/?utm_source=\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", @@ -214,45 +441,42 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:03:39] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:05:22] ─────────────────────────╮\n",
        " 🔧 Tool Request: web_search                                                  \n",
        "                                                                              \n",
        " Arguments:                                                                   \n",
        "                                                                              \n",
        "                                                                              \n",
        "  {                                                                           \n",
-       "    \"input\": \"latest news about AI and AI startups\",                          \n",
-       "    \"user_location\": {                                                        \n",
-       "      \"type\": \"approximate\",                                                  \n",
-       "      \"city\": \"New York\",                                                     \n",
-       "      \"country\": \"US\",                                                        \n",
-       "      \"region\": \"NY\",                                                         \n",
-       "      \"timezone\": \"America/New_York\"                                          \n",
-       "    }                                                                         \n",
+       "    \"input\": \"AI startup acquisitions October 2023\",                          \n",
+       "    \"model\": \"gpt-4o\",                                                        \n",
+       "    \"type\": \"web_search_preview\"                                              \n",
        "  }                                                                           \n",
        "                                                                              \n",
        "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/27/2025 06:03:39] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", + "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:22] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news about AI and AI startups\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"user_location\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"approximate\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"city\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"New York\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"country\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"US\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"region\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"NY\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"timezone\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"America/New_York\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"AI startup acquisitions October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" @@ -261,10 +485,17 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:03:39] ─────────────────────────╮\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:05:22] ─────────────────────────╮\n",
        "Tool Response: web_search                                                 \n",
        "                                                                              \n",
        " Response:                                                                    \n",
@@ -272,61 +503,32 @@
        "                                                                              \n",
        "  {                                                                           \n",
        "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"Artificial intelligence (AI) continues to be a dynamic sector,   \n",
-       "  with numerous startups making significant strides in technology developmen  \n",
-       "  and securing substantial funding. Here's an overview of recent              \n",
-       "  developments:\\n\\n**Major Funding Rounds:**\\n\\n- **Perplexity AI:** This AI  \n",
-       "  search startup has achieved a valuation of $18 billion following a $100     \n",
-       "  million funding round, reflecting strong investor interest in the           \n",
-       "  competitive AI search market.                                               \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Thinking Machines:** Founded by former OpenAI CTO Mira Murati, this       \n",
-       "  startup raised $2 billion, valuing the company at $10 billion.              \n",
-       "  ([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi  \n",
-       "  week-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n-       \n",
-       "  **Harvey:** Specializing in AI-driven legal solutions, Harvey secured $300  \n",
-       "  million in a Series D funding round, bringing its valuation to $3 billion.  \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Harvey_%28software%29?ut  \n",
-       "  source=openai))\\n\\n**Notable Acquisitions:**\\n\\n- **Amazon's Acquisition o  \n",
-       "  Bee:** Amazon announced plans to acquire Bee, a San Francisco-based startu  \n",
-       "  developing AI-powered wearable technology. Bee's flagship product is a $50  \n",
-       "  AI-enabled wristband capable of transcribing conversations and generating   \n",
-       "  summaries or to-do lists from the recordings.                               \n",
-       "  ([reuters.com](https://www.reuters.com/business/retail-consumer/amazon-buy  \n",
-       "  tartup-focused-ai-wearables-2025-07-22/?utm_source=openai))\\n\\n**Industry   \n",
-       "  Trends:**\\n\\n- **AI Dominates Venture Capital Funding:** In the first half  \n",
-       "  of 2025, AI startups accounted for 53% of global venture capital            \n",
-       "  investments, with 64% in the U.S., indicating a transformative period for   \n",
-       "  tech investment.                                                            \n",
-       "  ([axios.com](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e8  \n",
-       "  44f2-9308-212d8860b6aa?utm_source=openai))\\n\\n- **China's AI Cooperation    \n",
-       "  Initiative:** China proposed the creation of a new international            \n",
-       "  organization to promote global cooperation on AI, aiming to provide an      \n",
-       "  alternative to U.S.-led initiatives and foster inclusive development of th  \n",
-       "  technology.                                                                 \n",
-       "  ([reuters.com](https://www.reuters.com/world/china/china-proposes-new-glob  \n",
-       "  -ai-cooperation-organisation-2025-07-26/?utm_source=openai))\\n\\n**Emerging  \n",
-       "  Startups:**\\n\\n- **Mistral AI:** Founded in 2023, Mistral AI specializes i  \n",
-       "  open-weight large language models and has secured significant funding,      \n",
-       "  including a \\u20ac600 million round in June 2024, elevating its valuation   \n",
-       "  \\u20ac5.8 billion.                                                          \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
-       "  ai))\\n\\n- **Neysa:** Established in 2023, Neysa provides a cloud platform   \n",
-       "  for AI acceleration and high-performance computing infrastructure services  \n",
-       "  raising a total of $50 million across two major funding rounds.             \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)  \n",
-       "  n\\n\\n## Recent Developments in AI Startups:\\n- [Amazon to buy startup       \n",
-       "  focused on AI                                                               \n",
-       "  wearables](https://www.reuters.com/business/retail-consumer/amazon-buy-sta  \n",
-       "  up-focused-ai-wearables-2025-07-22/?utm_source=openai), Published on        \n",
-       "  Tuesday, July 22\\n- [Axios Pro Rata: AI eats                                \n",
-       "  VC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93  \n",
-       "  -212d8860b6aa?utm_source=openai), Published on Thursday, July 03\\n- [China  \n",
-       "  proposes new global AI cooperation                                          \n",
-       "  organisation](https://www.reuters.com/world/china/china-proposes-new-globa  \n",
-       "  ai-cooperation-organisation-2025-07-26/?utm_source=openai), Published on    \n",
-       "  Saturday, July 26 \",                                                        \n",
+       "    \"text\": \"In October 2023, several notable acquisitions occurred in the A  \n",
+       "  startup sector:\\n\\n1. **Databricks Acquires Arcion**: Databricks, a data    \n",
+       "  analytics company, acquired Arcion, a data replication startup, for $100    \n",
+       "  million. This marked Databricks' first acquisition since purchasing         \n",
+       "  MosaicML, an AI infrastructure startup specializing in training large       \n",
+       "  language models.                                                            \n",
+       "  ([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open  \n",
+       "  ))\\n\\n2. **Simpplr Acquires Socrates.ai**: Simpplr, an employee experience  \n",
+       "  platform based in Redwood City, CA, acquired Socrates.ai, a generative      \n",
+       "  AI-powered virtual employee assistant. The acquisition aims to expand       \n",
+       "  Simpplr's strategic presence, with Socrates.ai becoming an integral part o  \n",
+       "  its digital workplace solutions. The financial terms were not disclosed.    \n",
+       "  ([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open  \n",
+       "  ))\\n\\n3. **Flatfile Acquires ChatCSV**: Denver-based startup Flatfile       \n",
+       "  acquired ChatCSV, an AI startup known for its AI chat app used by           \n",
+       "  organizations like P&G, McKinsey, Zapier, Quora, and Vimeo. The acquisitio  \n",
+       "  is expected to enhance Flatfile's AI-powered data exchange platform. The    \n",
+       "  financial details were not disclosed.                                       \n",
+       "  ([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai  \n",
+       "  \\n\\n4. **AMD Acquires Nod.ai**: In October, AMD acquired Nod.ai to enhance  \n",
+       "  its AI software performance. The financial terms of the deal were not       \n",
+       "  disclosed.                                                                  \n",
+       "  ([damor.dev](https://damor.dev/top-ai-acquisitions-of-2023/?utm_source=ope  \n",
+       "  i))\\n\\nThese acquisitions reflect the ongoing trend of larger tech compani  \n",
+       "  integrating AI capabilities to enhance their product offerings and maintai  \n",
+       "  competitive advantages. \",                                                  \n",
        "    \"annotations\": null,                                                      \n",
        "    \"meta\": null                                                              \n",
        "  }                                                                           \n",
@@ -335,7 +537,7 @@
        "
\n" ], "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/27/2025 06:03:39] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", + "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:22] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", @@ -343,61 +545,32 @@ "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"Artificial intelligence (AI) continues to be a dynamic sector, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mwith numerous startups making significant strides in technology developmen\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand securing substantial funding. Here's an overview of recent \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelopments:\\n\\n**Major Funding Rounds:**\\n\\n- **Perplexity AI:** This AI\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msearch startup has achieved a valuation of $18 billion following a $100 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmillion funding round, reflecting strong investor interest in the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompetitive AI search market. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Thinking Machines:** Founded by former OpenAI CTO Mira Murati, this \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartup raised $2 billion, valuing the company at $10 billion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([pymnts.com](https://www.pymnts.com/news/artificial-intelligence/2025/thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mweek-in-ai-ai-startups-hit-fundraising-gold/?utm_source=openai))\\n\\n- \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m**Harvey:** Specializing in AI-driven legal solutions, Harvey secured $300\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmillion in a Series D funding round, bringing its valuation to $3 billion.\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Harvey_%28software%29?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\n**Notable Acquisitions:**\\n\\n- **Amazon's Acquisition o\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mBee:** Amazon announced plans to acquire Bee, a San Francisco-based startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdeveloping AI-powered wearable technology. Bee's flagship product is a $50\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI-enabled wristband capable of transcribing conversations and generating \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msummaries or to-do lists from the recordings. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/retail-consumer/amazon-buy\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtartup-focused-ai-wearables-2025-07-22/?utm_source=openai))\\n\\n**Industry \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mTrends:**\\n\\n- **AI Dominates Venture Capital Funding:** In the first half\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mof 2025, AI startups accounted for 53% of global venture capital \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestments, with 64% in the U.S., indicating a transformative period for \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtech investment. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e8\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m44f2-9308-212d8860b6aa?utm_source=openai))\\n\\n- **China's AI Cooperation \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mInitiative:** China proposed the creation of a new international \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganization to promote global cooperation on AI, aiming to provide an \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34malternative to U.S.-led initiatives and foster inclusive development of th\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtechnology. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/world/china/china-proposes-new-glob\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-ai-cooperation-organisation-2025-07-26/?utm_source=openai))\\n\\n**Emerging\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mStartups:**\\n\\n- **Mistral AI:** Founded in 2023, Mistral AI specializes i\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mopen-weight large language models and has secured significant funding, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mincluding a \\u20ac600 million round in June 2024, elevating its valuation \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\u20ac5.8 billion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n- **Neysa:** Established in 2023, Neysa provides a cloud platform \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfor AI acceleration and high-performance computing infrastructure services\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mraising a total of $50 million across two major funding rounds. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n\\n## Recent Developments in AI Startups:\\n- [Amazon to buy startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfocused on AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mwearables](https://www.reuters.com/business/retail-consumer/amazon-buy-sta\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mup-focused-ai-wearables-2025-07-22/?utm_source=openai), Published on \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mTuesday, July 22\\n- [Axios Pro Rata: AI eats \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mVC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-212d8860b6aa?utm_source=openai), Published on Thursday, July 03\\n- [China\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mproposes new global AI cooperation \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganisation](https://www.reuters.com/world/china/china-proposes-new-globa\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai-cooperation-organisation-2025-07-26/?utm_source=openai), Published on \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSaturday, July 26 \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, several notable acquisitions occurred in the A\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartup sector:\\n\\n1. **Databricks Acquires Arcion**: Databricks, a data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34manalytics company, acquired Arcion, a data replication startup, for $100 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmillion. This marked Databricks' first acquisition since purchasing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mMosaicML, an AI infrastructure startup specializing in training large \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlanguage models. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m))\\n\\n2. **Simpplr Acquires Socrates.ai**: Simpplr, an employee experience\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mplatform based in Redwood City, CA, acquired Socrates.ai, a generative \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI-powered virtual employee assistant. The acquisition aims to expand \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSimpplr's strategic presence, with Socrates.ai becoming an integral part o\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mits digital workplace solutions. The financial terms were not disclosed. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m))\\n\\n3. **Flatfile Acquires ChatCSV**: Denver-based startup Flatfile \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34macquired ChatCSV, an AI startup known for its AI chat app used by \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganizations like P&G, McKinsey, Zapier, Quora, and Vimeo. The acquisitio\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mis expected to enhance Flatfile's AI-powered data exchange platform. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfinancial details were not disclosed. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n4. **AMD Acquires Nod.ai**: In October, AMD acquired Nod.ai to enhance\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mits AI software performance. The financial terms of the deal were not \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdisclosed. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([damor.dev](https://damor.dev/top-ai-acquisitions-of-2023/?utm_source=ope\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi))\\n\\nThese acquisitions reflect the ongoing trend of larger tech compani\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mintegrating AI capabilities to enhance their product offerings and maintai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompetitive advantages. \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", @@ -408,94 +581,45 @@ "metadata": {}, "output_type": "display_data" }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, { "data": { "text/html": [ - "
╭──────────────────────── AGENT [07/27/2025 06:03:40] ─────────────────────────╮\n",
-       " Here's the latest news about AI and AI startups:                             \n",
-       "                                                                              \n",
-       "                            Major Funding Rounds:                             \n",
-       "                                                                              \n",
-       " Perplexity AI: This AI search startup has secured a $100 million funding  \n",
-       "    round, bringing its valuation to $18 billion. This reflects the strong    \n",
-       "    interest in AI search technology.                                         \n",
-       " Thinking Machines: Founded by former OpenAI CTO Mira Murati, this startup \n",
-       "    raised $2 billion, with a valuation reaching $10 billion.                 \n",
-       " Harvey: Specializing in AI-driven legal solutions, Harvey raised $300     \n",
-       "    million in a Series D round, resulting in a valuation of $3 billion.      \n",
-       "                                                                              \n",
-       "                            Notable Acquisitions:                             \n",
-       "                                                                              \n",
-       " Amazon's Acquisition of Bee: Amazon plans to acquire Bee, a San           \n",
-       "    Francisco-based startup focused on AI-powered wearables. Bee’s flagship   \n",
-       "    product is an AI-enabled wristband priced at $50 that can transcribe      \n",
-       "    conversations and generate summaries or to-do lists.                      \n",
-       "                                                                              \n",
-       "                               Industry Trends:                               \n",
-       "                                                                              \n",
-       " AI Venture Capital Dominance: In the first half of 2025, AI startups      \n",
-       "    accounted for 53% of global venture capital investments, with a           \n",
-       "    significant portion (64%) in the U.S.                                     \n",
-       " China's AI Cooperation Initiative: China has proposed creating a new      \n",
-       "    international organization to promote global AI cooperation, aiming to    \n",
-       "    foster inclusive development and provide an alternative to U.S.-led       \n",
-       "    initiatives.                                                              \n",
-       "                                                                              \n",
-       "                              Emerging Startups:                              \n",
-       "                                                                              \n",
-       " Mistral AI: Specializing in open-weight large language models, Mistral AI \n",
-       "    has secured significant funding, including €600 million in June 2024,     \n",
-       "    with a valuation now at €5.8 billion.                                     \n",
-       " Neysa: Offering a cloud platform for AI acceleration, Neysa has raised a  \n",
-       "    total of $50 million across two major funding rounds.                     \n",
-       "                                                                              \n",
-       " For more details, you may visit their respective announcements on sites like \n",
-       " Reuters, Wikipedia, and Axios.                                               \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
╭──────────────────────── AGENT [07/28/2025 04:05:29] ─────────────────────────╮\n",
+       " 🔧 Tool Request: web_search                                                  \n",
+       "                                                                              \n",
+       " Arguments:                                                                   \n",
+       "                                                                              \n",
+       "                                                                              \n",
+       "  {                                                                           \n",
+       "    \"input\": \"AI startup failures October 2023\",                              \n",
+       "    \"model\": \"gpt-4o\",                                                        \n",
+       "    \"type\": \"web_search_preview\"                                              \n",
+       "  }                                                                           \n",
+       "                                                                              \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
        "
\n" ], "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/27/2025 06:03:40] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Here's the latest news about AI and AI startups: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mMajor Funding Rounds:\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPerplexity AI\u001b[0m: This AI search startup has secured a $100 million funding \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mround, bringing its valuation to $18 billion. This reflects the strong \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minterest in AI search technology. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mThinking Machines\u001b[0m: Founded by former OpenAI CTO Mira Murati, this startup \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mraised $2 billion, with a valuation reaching $10 billion. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mHarvey\u001b[0m: Specializing in AI-driven legal solutions, Harvey raised $300 \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mmillion in a Series D round, resulting in a valuation of $3 billion. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mNotable Acquisitions:\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAmazon's Acquisition of Bee\u001b[0m: Amazon plans to acquire Bee, a San \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mFrancisco-based startup focused on AI-powered wearables. Bee’s flagship \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mproduct is an AI-enabled wristband priced at $50 that can transcribe \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mconversations and generate summaries or to-do lists. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mIndustry Trends:\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAI Venture Capital Dominance\u001b[0m: In the first half of 2025, AI startups \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0maccounted for 53% of global venture capital investments, with a \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msignificant portion (64%) in the U.S. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mChina's AI Cooperation Initiative\u001b[0m: China has proposed creating a new \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minternational organization to promote global AI cooperation, aiming to \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfoster inclusive development and provide an alternative to U.S.-led \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minitiatives. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1mEmerging Startups:\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMistral AI\u001b[0m: Specializing in open-weight large language models, Mistral AI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mhas secured significant funding, including €600 million in June 2024, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwith a valuation now at €5.8 billion. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mNeysa\u001b[0m: Offering a cloud platform for AI acceleration, Neysa has raised a \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mtotal of $50 million across two major funding rounds. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m For more details, you may visit their respective announcements on sites like \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m Reuters, Wikipedia, and Axios. \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:29] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", + "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"AI startup failures October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" ] }, "metadata": {}, @@ -505,11 +629,276 @@ "name": "stdout", "output_type": "stream", "text": [ - "Streaming timed out after 20 seconds - returning collected messages\n" + " \r" + ] + }, + { + "data": { + "text/html": [ + "
╭──────────────────────── AGENT [07/28/2025 04:05:29] ─────────────────────────╮\n",
+       "Tool Response: web_search                                                 \n",
+       "                                                                              \n",
+       " Response:                                                                    \n",
+       "                                                                              \n",
+       "                                                                              \n",
+       "  {                                                                           \n",
+       "    \"type\": \"text\",                                                           \n",
+       "    \"text\": \"In October 2023, several AI startups faced significant challeng  \n",
+       "  leading to their closures. Notable examples include:\\n\\n**Olive AI**:       \n",
+       "  Founded in 2012, Olive AI aimed to revolutionize healthcare through         \n",
+       "  automation. Despite raising approximately $902 million and achieving a      \n",
+       "  valuation of $4 billion by 2021, the company struggled with rapid growth a  \n",
+       "  strategic missteps. These issues led to multiple layoffs and, ultimately,   \n",
+       "  the cessation of operations in October 2023.                                \n",
+       "  ([aimresearch.co](https://aimresearch.co/market-industry/big-players-misst  \n",
+       "  s-of-turning-billion-dollar-startups-to-failures?utm_source=openai))\\n\\n**  \n",
+       "  tifact**: Launched in February 2023 by Instagram co-founders Kevin Systrom  \n",
+       "  and Mike Krieger, Artifact was an AI-driven news app designed to personali  \n",
+       "  news curation. Despite an initial surge of 100,000 downloads, user          \n",
+       "  engagement declined, with only 12,000 new installs by October 2023. The     \n",
+       "  app's expansion into additional features diluted its core value propositio  \n",
+       "  leading to its shutdown.                                                    \n",
+       "  ([newsletter.failory.com](https://newsletter.failory.com/p/2024-s-biggest-  \n",
+       "  artup-crashes?utm_source=openai))\\n\\nThese cases highlight the challenges   \n",
+       "  startups can face, including rapid scaling, market demand misalignment, an  \n",
+       "  the complexities of integrating AI into practical applications. \",          \n",
+       "    \"annotations\": null,                                                      \n",
+       "    \"meta\": null                                                              \n",
+       "  }                                                                           \n",
+       "                                                                              \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:29] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", + "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, several AI startups faced significant challeng\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mleading to their closures. Notable examples include:\\n\\n**Olive AI**: \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFounded in 2012, Olive AI aimed to revolutionize healthcare through \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mautomation. Despite raising approximately $902 million and achieving a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluation of $4 billion by 2021, the company struggled with rapid growth a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstrategic missteps. These issues led to multiple layoffs and, ultimately, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe cessation of operations in October 2023. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([aimresearch.co](https://aimresearch.co/market-industry/big-players-misst\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34ms-of-turning-billion-dollar-startups-to-failures?utm_source=openai))\\n\\n**\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtifact**: Launched in February 2023 by Instagram co-founders Kevin Systrom\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand Mike Krieger, Artifact was an AI-driven news app designed to personali\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnews curation. Despite an initial surge of 100,000 downloads, user \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mengagement declined, with only 12,000 new installs by October 2023. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mapp's expansion into additional features diluted its core value propositio\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mleading to its shutdown. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([newsletter.failory.com](https://newsletter.failory.com/p/2024-s-biggest-\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34martup-crashes?utm_source=openai))\\n\\nThese cases highlight the challenges \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartups can face, including rapid scaling, market demand misalignment, an\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe complexities of integrating AI into practical applications. \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, + { + "data": { + "text/html": [ + "
╭──────────────────────── AGENT [07/28/2025 04:05:41] ─────────────────────────╮\n",
+       " 🔧 Tool Request: web_search                                                  \n",
+       "                                                                              \n",
+       " Arguments:                                                                   \n",
+       "                                                                              \n",
+       "                                                                              \n",
+       "  {                                                                           \n",
+       "    \"input\": \"successful AI startups October 2023\",                           \n",
+       "    \"model\": \"gpt-4o\",                                                        \n",
+       "    \"type\": \"web_search_preview\"                                              \n",
+       "  }                                                                           \n",
+       "                                                                              \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:41] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", + "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"successful AI startups October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", + "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \r" + ] + }, + { + "data": { + "text/html": [ + "
╭──────────────────────── AGENT [07/28/2025 04:05:41] ─────────────────────────╮\n",
+       "Tool Response: web_search                                                 \n",
+       "                                                                              \n",
+       " Response:                                                                    \n",
+       "                                                                              \n",
+       "                                                                              \n",
+       "  {                                                                           \n",
+       "    \"type\": \"text\",                                                           \n",
+       "    \"text\": \"In October 2023, several AI startups achieved significant        \n",
+       "  milestones, reflecting the dynamic growth in the artificial intelligence    \n",
+       "  sector. Notable examples include:\\n\\n**Mistral AI**: A French AI startup    \n",
+       "  specializing in open-weight large language models. In October 2023, Mistra  \n",
+       "  AI raised \\u20ac385 million ($428 million) in a funding round led by        \n",
+       "  Andreessen Horowitz, BNP Paribas, and Salesforce, valuing the company at    \n",
+       "  over $2 billion.                                                            \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
+       "  ai))\\n\\n**Unitary**: A UK-based company focused on AI-driven content        \n",
+       "  moderation. In October 2023, Unitary secured a $15 million Series A fundin  \n",
+       "  round led by Creandum, with participation from Paladin Capital and Plural.  \n",
+       "  Their AI system processes six million videos daily, enhancing online safet  \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Unitary_%28company%29?ut  \n",
+       "  source=openai))\\n\\n**Neurons**: Based in Denmark, Neurons provides AI       \n",
+       "  solutions to optimize advertisements and increase conversions. By October   \n",
+       "  2023, the company had an annual revenue of \\u20ac4 million and plans to     \n",
+       "  secure \\u20ac10 million in funding, with \\u20ac5 million already committed  \n",
+       "  Investors include Fairpoint Capital and EIFO.                               \n",
+       "  ([vestbee.com](https://www.vestbee.com/blog/articles/startups-of-the-month  \n",
+       "  ctober-2023?utm_source=openai))\\n\\n**Neysa**: An Indian startup offering a  \n",
+       "  cloud platform for AI acceleration and high-performance computing           \n",
+       "  infrastructure. In October 2023, Neysa raised $30 million in a funding rou  \n",
+       "  led by NTTVC, Z47, and Nexus Venture Partners, bringing its total funding   \n",
+       "  $50 million.                                                                \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)  \n",
+       "  n\\n**Imbue**: Formerly known as Generally Intelligent, Imbue focuses on     \n",
+       "  developing AI systems with reasoning capabilities. In October 2023, the     \n",
+       "  company secured an additional $12 million from Amazon\\u2019s Alexa Fund an  \n",
+       "  former Google CEO Eric Schmidt, following a $200 million Series B funding   \n",
+       "  September.                                                                  \n",
+       "  ([iguides.org](https://www.iguides.org/top-ai-startups/?utm_source=openai)  \n",
+       "  n\\n**Cohere**: Specializing in large language models for enterprise AI,     \n",
+       "  Cohere's technology is embedded into products from companies like Oracle a  \n",
+       "  Salesforce. In 2023, Cohere was valued at about $2 billion following a      \n",
+       "  funding round.                                                              \n",
+       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Cohere?utm_source=openai  \n",
+       "  \\n\\nThese developments underscore the rapid advancement and investment in   \n",
+       "  technologies during that period. \",                                         \n",
+       "    \"annotations\": null,                                                      \n",
+       "    \"meta\": null                                                              \n",
+       "  }                                                                           \n",
+       "                                                                              \n",
+       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:41] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", + "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, several AI startups achieved significant \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmilestones, reflecting the dynamic growth in the artificial intelligence \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msector. Notable examples include:\\n\\n**Mistral AI**: A French AI startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mspecializing in open-weight large language models. In October 2023, Mistra\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI raised \\u20ac385 million ($428 million) in a funding round led by \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAndreessen Horowitz, BNP Paribas, and Salesforce, valuing the company at \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mover $2 billion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n**Unitary**: A UK-based company focused on AI-driven content \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmoderation. In October 2023, Unitary secured a $15 million Series A fundin\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround led by Creandum, with participation from Paladin Capital and Plural.\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mTheir AI system processes six million videos daily, enhancing online safet\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Unitary_%28company%29?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\n**Neurons**: Based in Denmark, Neurons provides AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msolutions to optimize advertisements and increase conversions. By October \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m2023, the company had an annual revenue of \\u20ac4 million and plans to \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecure \\u20ac10 million in funding, with \\u20ac5 million already committed\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mInvestors include Fairpoint Capital and EIFO. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([vestbee.com](https://www.vestbee.com/blog/articles/startups-of-the-month\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mctober-2023?utm_source=openai))\\n\\n**Neysa**: An Indian startup offering a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcloud platform for AI acceleration and high-performance computing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minfrastructure. In October 2023, Neysa raised $30 million in a funding rou\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mled by NTTVC, Z47, and Nexus Venture Partners, bringing its total funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m$50 million. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n**Imbue**: Formerly known as Generally Intelligent, Imbue focuses on \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdeveloping AI systems with reasoning capabilities. In October 2023, the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompany secured an additional $12 million from Amazon\\u2019s Alexa Fund an\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mformer Google CEO Eric Schmidt, following a $200 million Series B funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSeptember. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([iguides.org](https://www.iguides.org/top-ai-startups/?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n**Cohere**: Specializing in large language models for enterprise AI, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mCohere's technology is embedded into products from companies like Oracle a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSalesforce. In 2023, Cohere was valued at about $2 billion following a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfunding round. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Cohere?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\nThese developments underscore the rapid advancement and investment in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtechnologies during that period. \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", + "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "ename": "KeyboardInterrupt", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[31m---------------------------------------------------------------------------\u001b[39m", + "\u001b[31mKeyboardInterrupt\u001b[39m Traceback (most recent call last)", + "\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[7]\u001b[39m\u001b[32m, line 4\u001b[39m\n\u001b[32m 1\u001b[39m \u001b[38;5;66;03m# Subscribe to the async task messages produced by the agent\u001b[39;00m\n\u001b[32m 2\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34;01magentex\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mlib\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mutils\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mdev_tools\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m subscribe_to_async_task_messages\n\u001b[32m----> \u001b[39m\u001b[32m4\u001b[39m task_messages = \u001b[43msubscribe_to_async_task_messages\u001b[49m\u001b[43m(\u001b[49m\n\u001b[32m 5\u001b[39m \u001b[43m \u001b[49m\u001b[43mclient\u001b[49m\u001b[43m=\u001b[49m\u001b[43mclient\u001b[49m\u001b[43m,\u001b[49m\n\u001b[32m 6\u001b[39m \u001b[43m \u001b[49m\u001b[43mtask\u001b[49m\u001b[43m=\u001b[49m\u001b[43mtask\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\n\u001b[32m 7\u001b[39m \u001b[43m \u001b[49m\u001b[43monly_after_timestamp\u001b[49m\u001b[43m=\u001b[49m\u001b[43mevent\u001b[49m\u001b[43m.\u001b[49m\u001b[43mcreated_at\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\n\u001b[32m 8\u001b[39m \u001b[43m \u001b[49m\u001b[43mprint_messages\u001b[49m\u001b[43m=\u001b[49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[32m 9\u001b[39m \u001b[43m \u001b[49m\u001b[43mrich_print\u001b[49m\u001b[43m=\u001b[49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[32m 10\u001b[39m \u001b[43m \u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m=\u001b[49m\u001b[32;43m30\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;66;43;03m# Notice the longer timeout to give time for the agent to respond\u001b[39;49;00m\n\u001b[32m 11\u001b[39m \u001b[43m)\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/src/agentex/lib/utils/dev_tools/async_messages.py:293\u001b[39m, in \u001b[36msubscribe_to_async_task_messages\u001b[39m\u001b[34m(client, task, only_after_timestamp, print_messages, rich_print, timeout)\u001b[39m\n\u001b[32m 287\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m client.tasks.with_streaming_response.stream_events_by_name(\n\u001b[32m 288\u001b[39m task_name=task.name,\n\u001b[32m 289\u001b[39m timeout=timeout\n\u001b[32m 290\u001b[39m ) \u001b[38;5;28;01mas\u001b[39;00m response:\n\u001b[32m 292\u001b[39m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[32m--> \u001b[39m\u001b[32m293\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mtask_message_update_str\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mresponse\u001b[49m\u001b[43m.\u001b[49m\u001b[43miter_text\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 294\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mtry\u001b[39;49;00m\u001b[43m:\u001b[49m\n\u001b[32m 295\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;66;43;03m# Parse SSE format \u001b[39;49;00m\n\u001b[32m 296\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mif\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mtask_message_update_str\u001b[49m\u001b[43m.\u001b[49m\u001b[43mstrip\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m.\u001b[49m\u001b[43mstartswith\u001b[49m\u001b[43m(\u001b[49m\u001b[33;43m'\u001b[39;49m\u001b[33;43mdata: \u001b[39;49m\u001b[33;43m'\u001b[39;49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/src/agentex/_response.py:363\u001b[39m, in \u001b[36mAPIResponse.iter_text\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 358\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34miter_text\u001b[39m(\u001b[38;5;28mself\u001b[39m, chunk_size: \u001b[38;5;28mint\u001b[39m | \u001b[38;5;28;01mNone\u001b[39;00m = \u001b[38;5;28;01mNone\u001b[39;00m) -> Iterator[\u001b[38;5;28mstr\u001b[39m]:\n\u001b[32m 359\u001b[39m \u001b[38;5;250m \u001b[39m\u001b[33;03m\"\"\"A str-iterator over the decoded response content\u001b[39;00m\n\u001b[32m 360\u001b[39m \u001b[33;03m that handles both gzip, deflate, etc but also detects the content's\u001b[39;00m\n\u001b[32m 361\u001b[39m \u001b[33;03m string encoding.\u001b[39;00m\n\u001b[32m 362\u001b[39m \u001b[33;03m \"\"\"\u001b[39;00m\n\u001b[32m--> \u001b[39m\u001b[32m363\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mhttp_response\u001b[49m\u001b[43m.\u001b[49m\u001b[43miter_text\u001b[49m\u001b[43m(\u001b[49m\u001b[43mchunk_size\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 364\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_models.py:850\u001b[39m, in \u001b[36mResponse.iter_text\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 848\u001b[39m chunker = TextChunker(chunk_size=chunk_size)\n\u001b[32m 849\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m request_context(request=\u001b[38;5;28mself\u001b[39m._request):\n\u001b[32m--> \u001b[39m\u001b[32m850\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mbyte_content\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43miter_bytes\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 851\u001b[39m \u001b[43m \u001b[49m\u001b[43mtext_content\u001b[49m\u001b[43m \u001b[49m\u001b[43m=\u001b[49m\u001b[43m \u001b[49m\u001b[43mdecoder\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mbyte_content\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 852\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunker\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtext_content\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_models.py:831\u001b[39m, in \u001b[36mResponse.iter_bytes\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 829\u001b[39m chunker = ByteChunker(chunk_size=chunk_size)\n\u001b[32m 830\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m request_context(request=\u001b[38;5;28mself\u001b[39m._request):\n\u001b[32m--> \u001b[39m\u001b[32m831\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mraw_bytes\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43miter_raw\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 832\u001b[39m \u001b[43m \u001b[49m\u001b[43mdecoded\u001b[49m\u001b[43m \u001b[49m\u001b[43m=\u001b[49m\u001b[43m \u001b[49m\u001b[43mdecoder\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mraw_bytes\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 833\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunker\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mdecoded\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_models.py:885\u001b[39m, in \u001b[36mResponse.iter_raw\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 882\u001b[39m chunker = ByteChunker(chunk_size=chunk_size)\n\u001b[32m 884\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m request_context(request=\u001b[38;5;28mself\u001b[39m._request):\n\u001b[32m--> \u001b[39m\u001b[32m885\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mraw_stream_bytes\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mstream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 886\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_num_bytes_downloaded\u001b[49m\u001b[43m \u001b[49m\u001b[43m+\u001b[49m\u001b[43m=\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43mlen\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mraw_stream_bytes\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 887\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunker\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mraw_stream_bytes\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_client.py:127\u001b[39m, in \u001b[36mBoundSyncStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 126\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__iter__\u001b[39m(\u001b[38;5;28mself\u001b[39m) -> typing.Iterator[\u001b[38;5;28mbytes\u001b[39m]:\n\u001b[32m--> \u001b[39m\u001b[32m127\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_stream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 128\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_transports/default.py:116\u001b[39m, in \u001b[36mResponseStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 114\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__iter__\u001b[39m(\u001b[38;5;28mself\u001b[39m) -> typing.Iterator[\u001b[38;5;28mbytes\u001b[39m]:\n\u001b[32m 115\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m map_httpcore_exceptions():\n\u001b[32m--> \u001b[39m\u001b[32m116\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_httpcore_stream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 117\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py:407\u001b[39m, in \u001b[36mPoolByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 405\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[32m 406\u001b[39m \u001b[38;5;28mself\u001b[39m.close()\n\u001b[32m--> \u001b[39m\u001b[32m407\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m exc \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py:403\u001b[39m, in \u001b[36mPoolByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 401\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__iter__\u001b[39m(\u001b[38;5;28mself\u001b[39m) -> typing.Iterator[\u001b[38;5;28mbytes\u001b[39m]:\n\u001b[32m 402\u001b[39m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[32m--> \u001b[39m\u001b[32m403\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_stream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 404\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\n\u001b[32m 405\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:342\u001b[39m, in \u001b[36mHTTP11ConnectionByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 340\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m ShieldCancellation():\n\u001b[32m 341\u001b[39m \u001b[38;5;28mself\u001b[39m.close()\n\u001b[32m--> \u001b[39m\u001b[32m342\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m exc\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:334\u001b[39m, in \u001b[36mHTTP11ConnectionByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 332\u001b[39m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[32m 333\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m Trace(\u001b[33m\"\u001b[39m\u001b[33mreceive_response_body\u001b[39m\u001b[33m\"\u001b[39m, logger, \u001b[38;5;28mself\u001b[39m._request, kwargs):\n\u001b[32m--> \u001b[39m\u001b[32m334\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_connection\u001b[49m\u001b[43m.\u001b[49m\u001b[43m_receive_response_body\u001b[49m\u001b[43m(\u001b[49m\u001b[43m*\u001b[49m\u001b[43m*\u001b[49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 335\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\n\u001b[32m 336\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[32m 337\u001b[39m \u001b[38;5;66;03m# If we get an exception while streaming the response,\u001b[39;00m\n\u001b[32m 338\u001b[39m \u001b[38;5;66;03m# we want to close the response (and possibly the connection)\u001b[39;00m\n\u001b[32m 339\u001b[39m \u001b[38;5;66;03m# before raising that exception.\u001b[39;00m\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:203\u001b[39m, in \u001b[36mHTTP11Connection._receive_response_body\u001b[39m\u001b[34m(self, request)\u001b[39m\n\u001b[32m 200\u001b[39m timeout = timeouts.get(\u001b[33m\"\u001b[39m\u001b[33mread\u001b[39m\u001b[33m\"\u001b[39m, \u001b[38;5;28;01mNone\u001b[39;00m)\n\u001b[32m 202\u001b[39m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28;01mTrue\u001b[39;00m:\n\u001b[32m--> \u001b[39m\u001b[32m203\u001b[39m event = \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_receive_event\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m=\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 204\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(event, h11.Data):\n\u001b[32m 205\u001b[39m \u001b[38;5;28;01myield\u001b[39;00m \u001b[38;5;28mbytes\u001b[39m(event.data)\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:217\u001b[39m, in \u001b[36mHTTP11Connection._receive_event\u001b[39m\u001b[34m(self, timeout)\u001b[39m\n\u001b[32m 214\u001b[39m event = \u001b[38;5;28mself\u001b[39m._h11_state.next_event()\n\u001b[32m 216\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m event \u001b[38;5;129;01mis\u001b[39;00m h11.NEED_DATA:\n\u001b[32m--> \u001b[39m\u001b[32m217\u001b[39m data = \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_network_stream\u001b[49m\u001b[43m.\u001b[49m\u001b[43mread\u001b[49m\u001b[43m(\u001b[49m\n\u001b[32m 218\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mREAD_NUM_BYTES\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m=\u001b[49m\u001b[43mtimeout\u001b[49m\n\u001b[32m 219\u001b[39m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 221\u001b[39m \u001b[38;5;66;03m# If we feed this case through h11 we'll raise an exception like:\u001b[39;00m\n\u001b[32m 222\u001b[39m \u001b[38;5;66;03m#\u001b[39;00m\n\u001b[32m 223\u001b[39m \u001b[38;5;66;03m# httpcore.RemoteProtocolError: can't handle event type\u001b[39;00m\n\u001b[32m (...)\u001b[39m\u001b[32m 227\u001b[39m \u001b[38;5;66;03m# perspective. Instead we handle this case distinctly and treat\u001b[39;00m\n\u001b[32m 228\u001b[39m \u001b[38;5;66;03m# it as a ConnectError.\u001b[39;00m\n\u001b[32m 229\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m data == \u001b[33mb\u001b[39m\u001b[33m\"\u001b[39m\u001b[33m\"\u001b[39m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mself\u001b[39m._h11_state.their_state == h11.SEND_RESPONSE:\n", + "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py:128\u001b[39m, in \u001b[36mSyncStream.read\u001b[39m\u001b[34m(self, max_bytes, timeout)\u001b[39m\n\u001b[32m 126\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m map_exceptions(exc_map):\n\u001b[32m 127\u001b[39m \u001b[38;5;28mself\u001b[39m._sock.settimeout(timeout)\n\u001b[32m--> \u001b[39m\u001b[32m128\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_sock\u001b[49m\u001b[43m.\u001b[49m\u001b[43mrecv\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmax_bytes\u001b[49m\u001b[43m)\u001b[49m\n", + "\u001b[31mKeyboardInterrupt\u001b[39m: " ] } ], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -518,14 +907,14 @@ " only_after_timestamp=event.created_at, \n", " print_messages=True,\n", " rich_print=True,\n", - " timeout=20,\n", + " timeout=30, # Notice the longer timeout to give time for the agent to respond\n", ")" ] }, { "cell_type": "code", "execution_count": null, - "id": "ec2b599d", + "id": "06e876a1", "metadata": {}, "outputs": [], "source": [] diff --git a/pyproject.toml b/pyproject.toml index 4f5c36e2..49663a10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,6 +124,7 @@ build-backend = "hatchling.build" [dependency-groups] dev = [ "ipywidgets>=8.1.7", + "nbstripout>=0.8.1", "yaspin>=3.1.0", ] diff --git a/src/agentex/lib/cli/templates/default/dev.ipynb.j2 b/src/agentex/lib/cli/templates/default/dev.ipynb.j2 index c16f0a02..70242ebf 100644 --- a/src/agentex/lib/cli/templates/default/dev.ipynb.j2 +++ b/src/agentex/lib/cli/templates/default/dev.ipynb.j2 @@ -30,24 +30,17 @@ "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, @@ -58,9 +51,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -70,16 +61,15 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, @@ -90,6 +80,7 @@ "metadata": {}, "outputs": [], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -101,6 +92,14 @@ " timeout=5,\n", ")" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4864e354", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { diff --git a/src/agentex/lib/cli/templates/sync/dev.ipynb.j2 b/src/agentex/lib/cli/templates/sync/dev.ipynb.j2 index 490c9cb9..d8c10a65 100644 --- a/src/agentex/lib/cli/templates/sync/dev.ipynb.j2 +++ b/src/agentex/lib/cli/templates/sync/dev.ipynb.j2 @@ -56,8 +56,7 @@ "outputs": [], "source": [ "# Test non streaming response\n", - "from typing import List, cast\n", - "from agentex.types import TaskMessage, TextContent\n", + "from agentex.types import TextContent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -67,29 +66,23 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_message(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": False\n", " }\n", ")\n", "\n", - "# # Extract and print just the text content from the response\n", - "# # The response is expected to be a dict with a \"result\" key containing a list of message dicts\n", - "if rpc_response and rpc_response.result:\n", + "if not rpc_response or not rpc_response.result:\n", + " raise ValueError(\"No result in response\")\n", "\n", - " # We know that the result of the message/send when stream is set to False will be a list of TaskMessage objects\n", - " task_message_list = cast(List[TaskMessage], rpc_response.result)\n", - " for task_message in rpc_response.result:\n", - " if isinstance(task_message, TaskMessage):\n", - " content = task_message.content\n", - " if isinstance(content, TextContent):\n", - " text = content.content\n", - " print(text)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in response.\")\n" + "# Extract and print just the text content from the response\n", + "for task_message in rpc_response.result:\n", + " content = task_message.content\n", + " if isinstance(content, TextContent):\n", + " text = content.content\n", + " print(text)\n" ] }, { @@ -100,11 +93,8 @@ "outputs": [], "source": [ "# Test streaming response\n", - "import json\n", - "from agentex.types import AgentRpcResponse\n", - "from agentex.types.agent_rpc_result import StreamTaskMessageDelta, StreamTaskMessageFull\n", + "from agentex.types.task_message_update import StreamTaskMessageDelta, StreamTaskMessageFull\n", "from agentex.types.text_delta import TextDelta\n", - "from agentex.types.task_message_update import TaskMessageUpdate\n", "\n", "\n", "# The result object of message/send will be a TaskMessageUpdate which is a union of the following types:\n", @@ -120,38 +110,34 @@ "# Whenn processing StreamTaskMessageDelta, if you are expecting more than TextDeltas, such as DataDelta, ToolRequestDelta, or ToolResponseDelta, you can process them as well\n", "# Whenn processing StreamTaskMessageFull, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "with client.agents.with_streaming_response.rpc_by_name(\n", + "for agent_rpc_response_chunk in client.agents.send_message_stream(\n", " agent_name=AGENT_NAME,\n", - " method=\"message/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"stream\": True\n", " }\n", - ") as response:\n", - " for agent_rpc_response_str in response.iter_text():\n", - " chunk_rpc_response = AgentRpcResponse.model_validate(json.loads(agent_rpc_response_str))\n", - " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", - " task_message_update = cast(TaskMessageUpdate, chunk_rpc_response.result)\n", - "\n", - " # Print oly the text deltas as they arrive or any full messages\n", - " if isinstance(task_message_update, StreamTaskMessageDelta):\n", - " delta = task_message_update.delta\n", - " if isinstance(delta, TextDelta):\n", - " print(delta.text_delta, end=\"\", flush=True)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", - " elif isinstance(task_message_update, StreamTaskMessageFull):\n", - " content = task_message_update.content\n", - " if isinstance(content, TextContent):\n", - " print(content.content)\n", - " else:\n", - " print(f\"Found non-text {type(task_message)} object in full message.\")\n" + "):\n", + " # We know that the result of the message/send when stream is set to True will be a TaskMessageUpdate\n", + " task_message_update = agent_rpc_response_chunk.result\n", + " # Print oly the text deltas as they arrive or any full messages\n", + " if isinstance(task_message_update, StreamTaskMessageDelta):\n", + " delta = task_message_update.delta\n", + " if isinstance(delta, TextDelta):\n", + " print(delta.text_delta, end=\"\", flush=True)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in streaming message.\")\n", + " elif isinstance(task_message_update, StreamTaskMessageFull):\n", + " content = task_message_update.content\n", + " if isinstance(content, TextContent):\n", + " print(content.content)\n", + " else:\n", + " print(f\"Found non-text {type(task_message)} object in full message.\")\n" ] }, { "cell_type": "code", "execution_count": null, - "id": "4ffb663c", + "id": "c5e7e042", "metadata": {}, "outputs": [], "source": [] diff --git a/src/agentex/lib/cli/templates/temporal/dev.ipynb.j2 b/src/agentex/lib/cli/templates/temporal/dev.ipynb.j2 index c16f0a02..70242ebf 100644 --- a/src/agentex/lib/cli/templates/temporal/dev.ipynb.j2 +++ b/src/agentex/lib/cli/templates/temporal/dev.ipynb.j2 @@ -30,24 +30,17 @@ "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", - "\n", - "from typing import cast\n", "import uuid\n", "\n", - "from agentex.types import Task\n", - "\n", - "TASK_ID = str(uuid.uuid4())[:8]\n", - "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.create_task(\n", " agent_name=AGENT_NAME,\n", - " method=\"task/create\",\n", " params={\n", - " \"name\": f\"{TASK_ID}-task\",\n", + " \"name\": f\"{str(uuid.uuid4())[:8]}-task\",\n", " \"params\": {}\n", " }\n", ")\n", "\n", - "task = cast(Task, rpc_response.result)\n", + "task = rpc_response.result\n", "print(task)" ] }, @@ -58,9 +51,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Test non streaming response\n", - "from typing import cast\n", - "from agentex.types import Event\n", + "# Send an event to the agent\n", "\n", "# The response is expected to be a list of TaskMessage objects, which is a union of the following types:\n", "# - TextContent: A message with just text content \n", @@ -70,16 +61,15 @@ "\n", "# When processing the message/send response, if you are expecting more than TextContent, such as DataContent, ToolRequestContent, or ToolResponseContent, you can process them as well\n", "\n", - "rpc_response = client.agents.rpc_by_name(\n", + "rpc_response = client.agents.send_event(\n", " agent_name=AGENT_NAME,\n", - " method=\"event/send\",\n", " params={\n", " \"content\": {\"type\": \"text\", \"author\": \"user\", \"content\": \"Hello what can you do?\"},\n", " \"task_id\": task.id,\n", " }\n", ")\n", "\n", - "event = cast(Event, rpc_response.result)\n", + "event = rpc_response.result\n", "print(event)" ] }, @@ -90,6 +80,7 @@ "metadata": {}, "outputs": [], "source": [ + "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", "task_messages = subscribe_to_async_task_messages(\n", @@ -101,6 +92,14 @@ " timeout=5,\n", ")" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4864e354", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { diff --git a/src/agentex/resources/agents.py b/src/agentex/resources/agents.py index dccba983..0dfe6873 100644 --- a/src/agentex/resources/agents.py +++ b/src/agentex/resources/agents.py @@ -2,7 +2,8 @@ from __future__ import annotations -from typing import Union, Optional +import json +from typing import AsyncGenerator, Generator, Union, Optional from typing_extensions import Literal import httpx @@ -20,7 +21,7 @@ ) from ..types.agent import Agent from .._base_client import make_request_options -from ..types.agent_rpc_response import AgentRpcResponse +from ..types.agent_rpc_response import AgentRpcResponse, CancelTaskResponse, CreateTaskResponse, SendEventResponse, SendMessageResponse, SendMessageStreamResponse from ..types.agent_list_response import AgentListResponse __all__ = ["AgentsResource", "AsyncAgentsResource"] @@ -310,6 +311,260 @@ def rpc_by_name( ), cast_to=AgentRpcResponse, ) + + def create_task( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsCreateTaskRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> CreateTaskResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if agent_id is not None: + raw_agent_rpc_response = self.rpc( + agent_id=agent_id, + method="task/create", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = self.rpc_by_name( + agent_name=agent_name, + method="task/create", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return CreateTaskResponse.model_validate(raw_agent_rpc_response, from_attributes=True) + + def cancel_task( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsCancelTaskRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> CancelTaskResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if agent_id is not None: + raw_agent_rpc_response = self.rpc( + agent_id=agent_id, + method="task/cancel", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = self.rpc_by_name( + agent_name=agent_name, + method="task/cancel", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return CancelTaskResponse.model_validate(raw_agent_rpc_response, from_attributes=True) + + def send_message( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsSendMessageRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> SendMessageResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if "stream" in params and params["stream"] == True: + raise ValueError("If stream is set to True, use send_message_stream() instead") + else: + if agent_id is not None: + raw_agent_rpc_response = self.rpc( + agent_id=agent_id, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = self.rpc_by_name( + agent_name=agent_name, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return SendMessageResponse.model_validate(raw_agent_rpc_response, from_attributes=True) + + def send_message_stream( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsSendMessageRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> Generator[SendMessageStreamResponse, None, None]: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if "stream" in params and params["stream"] == False: + raise ValueError("If stream is set to False, use send_message() instead") + + params["stream"] = True + + if agent_id is not None: + raw_agent_rpc_response = self.with_streaming_response.rpc( + agent_id=agent_id, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = self.with_streaming_response.rpc_by_name( + agent_name=agent_name, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + with raw_agent_rpc_response as response: + for agent_rpc_response_str in response.iter_text(): + if agent_rpc_response_str.strip(): # Only process non-empty lines + try: + chunk_rpc_response = SendMessageStreamResponse.model_validate( + json.loads(agent_rpc_response_str), + from_attributes=True + ) + yield chunk_rpc_response + except json.JSONDecodeError: + # Skip invalid JSON lines + continue + + def send_event( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsSendEventRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> SendEventResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if agent_id is not None: + raw_agent_rpc_response = self.rpc( + agent_id=agent_id, + method="event/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = self.rpc_by_name( + agent_name=agent_name, + method="event/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return SendEventResponse.model_validate(raw_agent_rpc_response, from_attributes=True) class AsyncAgentsResource(AsyncAPIResource): @@ -596,7 +851,260 @@ async def rpc_by_name( ), cast_to=AgentRpcResponse, ) - + + async def create_task( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsCreateTaskRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> CreateTaskResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if agent_id is not None: + raw_agent_rpc_response = await self.rpc( + agent_id=agent_id, + method="task/create", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = await self.rpc_by_name( + agent_name=agent_name, + method="task/create", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return CreateTaskResponse.model_validate(raw_agent_rpc_response, from_attributes=True) + + async def cancel_task( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsCancelTaskRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> CancelTaskResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if agent_id is not None: + raw_agent_rpc_response = await self.rpc( + agent_id=agent_id, + method="task/cancel", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = await self.rpc_by_name( + agent_name=agent_name, + method="task/cancel", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return CancelTaskResponse.model_validate(raw_agent_rpc_response, from_attributes=True) + + async def send_message( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsSendMessageRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> SendMessageResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if "stream" in params and params["stream"] == True: + raise ValueError("If stream is set to True, use send_message_stream() instead") + else: + if agent_id is not None: + raw_agent_rpc_response = await self.rpc( + agent_id=agent_id, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = await self.rpc_by_name( + agent_name=agent_name, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return SendMessageResponse.model_validate(raw_agent_rpc_response, from_attributes=True) + + async def send_message_stream( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsSendMessageRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> AsyncGenerator[SendMessageStreamResponse, None]: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if "stream" in params and params["stream"] == False: + raise ValueError("If stream is set to False, use send_message() instead") + + params["stream"] = True + + if agent_id is not None: + raw_agent_rpc_response = self.with_streaming_response.rpc( + agent_id=agent_id, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = self.with_streaming_response.rpc_by_name( + agent_name=agent_name, + method="message/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + async with raw_agent_rpc_response as response: + async for agent_rpc_response_str in response.iter_text(): + if agent_rpc_response_str.strip(): # Only process non-empty lines + try: + chunk_rpc_response = SendMessageStreamResponse.model_validate( + json.loads(agent_rpc_response_str), + from_attributes=True + ) + yield chunk_rpc_response + except json.JSONDecodeError: + # Skip invalid JSON lines + continue + + async def send_event( + self, + agent_id: str | None = None, + agent_name: str | None = None, + *, + params: agent_rpc_params.ParamsSendEventRequest, + id: Union[int, str, None] | NotGiven = NOT_GIVEN, + jsonrpc: Literal["2.0"] | NotGiven = NOT_GIVEN, + # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. + # The extra values given here take precedence over values defined on the client or passed to this method. + extra_headers: Headers | None = None, + extra_query: Query | None = None, + extra_body: Body | None = None, + timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, + ) -> SendEventResponse: + if agent_id is not None and agent_name is not None: + raise ValueError("Either agent_id or agent_name must be provided, but not both") + + if agent_id is not None: + raw_agent_rpc_response = await self.rpc( + agent_id=agent_id, + method="event/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + elif agent_name is not None: + raw_agent_rpc_response = await self.rpc_by_name( + agent_name=agent_name, + method="event/send", + params=params, + id=id, + jsonrpc=jsonrpc, + extra_headers=extra_headers, + extra_query=extra_query, + extra_body=extra_body, + timeout=timeout, + ) + else: + raise ValueError("Either agent_id or agent_name must be provided") + + return SendEventResponse.model_validate(raw_agent_rpc_response, from_attributes=True) class AgentsResourceWithRawResponse: def __init__(self, agents: AgentsResource) -> None: diff --git a/src/agentex/types/agent_rpc_response.py b/src/agentex/types/agent_rpc_response.py index e9995e80..d1b9af83 100644 --- a/src/agentex/types/agent_rpc_response.py +++ b/src/agentex/types/agent_rpc_response.py @@ -5,16 +5,44 @@ from .._models import BaseModel from .agent_rpc_result import AgentRpcResult +from .event import Event +from .task import Task +from .task_message import TaskMessage +from .task_message_update import TaskMessageUpdate __all__ = ["AgentRpcResponse"] -class AgentRpcResponse(BaseModel): +class BaseAgentRpcResponse(BaseModel): + id: Union[int, str, None] = None + error: Optional[object] = None + jsonrpc: Optional[Literal["2.0"]] = None + + +class AgentRpcResponse(BaseAgentRpcResponse): result: Optional[AgentRpcResult] = None """The result of the agent RPC request""" - id: Union[int, str, None] = None - error: Optional[object] = None +class CreateTaskResponse(BaseAgentRpcResponse): + result: Task + """The result of the task creation""" - jsonrpc: Optional[Literal["2.0"]] = None + +class CancelTaskResponse(BaseAgentRpcResponse): + result: Task + """The result of the task cancellation""" + + +class SendMessageResponse(BaseAgentRpcResponse): + result: list[TaskMessage] + """The result of the message sending""" + +class SendMessageStreamResponse(BaseAgentRpcResponse): + result: TaskMessageUpdate + """The result of the message sending""" + + +class SendEventResponse(BaseAgentRpcResponse): + result: Event + """The result of the event sending""" \ No newline at end of file diff --git a/uv.lock b/uv.lock index 0b060aa6..1d0d0402 100644 --- a/uv.lock +++ b/uv.lock @@ -4,7 +4,7 @@ requires-python = ">=3.12, <4" [[package]] name = "agentex-sdk" -version = "0.2.0" +version = "0.2.1" source = { editable = "." } dependencies = [ { name = "aiohttp" }, @@ -52,6 +52,7 @@ dev = [ [package.dev-dependencies] dev = [ { name = "ipywidgets" }, + { name = "nbstripout" }, { name = "yaspin" }, ] @@ -97,6 +98,7 @@ provides-extras = ["aiohttp", "dev"] [package.metadata.requires-dev] dev = [ { name = "ipywidgets", specifier = ">=8.1.7" }, + { name = "nbstripout", specifier = ">=0.8.1" }, { name = "yaspin", specifier = ">=3.1.0" }, ] @@ -400,6 +402,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/53/50/b1222562c6d270fea83e9c9075b8e8600b8479150a18e4516a6138b980d1/fastapi-0.115.14-py3-none-any.whl", hash = "sha256:6c0c8bf9420bd58f565e585036d971872472b4f7d3f6c73b698e10cffdefb3ca", size = 95514 }, ] +[[package]] +name = "fastjsonschema" +version = "2.21.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/8b/50/4b769ce1ac4071a1ef6d86b1a3fb56cdc3a37615e8c5519e1af96cdac366/fastjsonschema-2.21.1.tar.gz", hash = "sha256:794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4", size = 373939 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/90/2b/0817a2b257fe88725c25589d89aec060581aabf668707a8d03b2e9e0cb2a/fastjsonschema-2.21.1-py3-none-any.whl", hash = "sha256:c9e5b7e908310918cf494a434eeb31384dd84a98b57a30bcb1f535015b554667", size = 23924 }, +] + [[package]] name = "filelock" version = "3.18.0" @@ -1053,6 +1064,33 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d8/30/9aec301e9772b098c1f5c0ca0279237c9766d94b97802e9888010c64b0ed/multidict-6.6.3-py3-none-any.whl", hash = "sha256:8db10f29c7541fc5da4defd8cd697e1ca429db743fa716325f236079b96f775a", size = 12313 }, ] +[[package]] +name = "nbformat" +version = "5.10.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "fastjsonschema" }, + { name = "jsonschema" }, + { name = "jupyter-core" }, + { name = "traitlets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/6d/fd/91545e604bc3dad7dca9ed03284086039b294c6b3d75c0d2fa45f9e9caf3/nbformat-5.10.4.tar.gz", hash = "sha256:322168b14f937a5d11362988ecac2a4952d3d8e3a2cbeb2319584631226d5b3a", size = 142749 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a9/82/0340caa499416c78e5d8f5f05947ae4bc3cba53c9f038ab6e9ed964e22f1/nbformat-5.10.4-py3-none-any.whl", hash = "sha256:3b48d6c8fbca4b299bf3982ea7db1af21580e4fec269ad087b9e81588891200b", size = 78454 }, +] + +[[package]] +name = "nbstripout" +version = "0.8.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nbformat" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/92/6e/05d7e0e35598bd0d423167295f978005912a2dcd137c88ebf36e34047dc7/nbstripout-0.8.1.tar.gz", hash = "sha256:eaac8b6b4e729e8dfe1e5df2c0f8ba44abc5a17a65448f0480141f80be230bb1", size = 26399 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cf/91/93b459c456b0e4389b2b3ddb3b82cd401d022691334a0f06e92c2046e780/nbstripout-0.8.1-py2.py3-none-any.whl", hash = "sha256:79a8c8da488d98c54c112fa87185045f0271a97d84f1d46918d6a3ee561b30e7", size = 16329 }, +] + [[package]] name = "nest-asyncio" version = "1.6.0" From dd198bdde2b8935ac1189738a332150ed054d104 Mon Sep 17 00:00:00 2001 From: Felix Su Date: Sun, 27 Jul 2025 21:12:00 -0700 Subject: [PATCH 2/2] stripped nb outputs from tutorials --- .../tutorials/00_sync/000_hello_acp/dev.ipynb | 10 +- .../tutorials/00_sync/010_multiturn/dev.ipynb | 12 +- .../tutorials/00_sync/020_streaming/dev.ipynb | 10 +- .../00_base/000_hello_acp/dev.ipynb | 12 +- .../00_base/010_multiturn/dev.ipynb | 12 +- .../00_base/020_streaming/dev.ipynb | 125 +-- .../10_agentic/00_base/030_tracing/dev.ipynb | 123 +-- .../00_base/040_other_sdks/dev.ipynb | 375 +------- .../00_base/080_batch_events/dev.ipynb | 96 +- .../10_temporal/000_hello_acp/dev.ipynb | 90 +- .../10_temporal/010_agent_chat/dev.ipynb | 373 +------- .../10_temporal/020_state_machine/dev.ipynb | 817 +----------------- 12 files changed, 131 insertions(+), 1924 deletions(-) diff --git a/examples/tutorials/00_sync/000_hello_acp/dev.ipynb b/examples/tutorials/00_sync/000_hello_acp/dev.ipynb index 09e15076..6cadb5a8 100644 --- a/examples/tutorials/00_sync/000_hello_acp/dev.ipynb +++ b/examples/tutorials/00_sync/000_hello_acp/dev.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": null, - "id": "36834357", + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d1c309d6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9f6e6ef0", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -51,7 +51,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b03b0d37", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -88,7 +88,7 @@ { "cell_type": "code", "execution_count": null, - "id": "79688331", + "id": "4", "metadata": {}, "outputs": [], "source": [ diff --git a/examples/tutorials/00_sync/010_multiturn/dev.ipynb b/examples/tutorials/00_sync/010_multiturn/dev.ipynb index a24d2725..c9f70cf3 100644 --- a/examples/tutorials/00_sync/010_multiturn/dev.ipynb +++ b/examples/tutorials/00_sync/010_multiturn/dev.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": null, - "id": "36834357", + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d1c309d6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9f6e6ef0", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -51,7 +51,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b03b0d37", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -88,7 +88,7 @@ { "cell_type": "code", "execution_count": null, - "id": "79688331", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -137,7 +137,7 @@ { "cell_type": "code", "execution_count": null, - "id": "42689ee4", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/00_sync/020_streaming/dev.ipynb b/examples/tutorials/00_sync/020_streaming/dev.ipynb index 454dd2d9..4cd5fb8d 100644 --- a/examples/tutorials/00_sync/020_streaming/dev.ipynb +++ b/examples/tutorials/00_sync/020_streaming/dev.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": null, - "id": "36834357", + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d1c309d6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9f6e6ef0", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -51,7 +51,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b03b0d37", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -88,7 +88,7 @@ { "cell_type": "code", "execution_count": null, - "id": "79688331", + "id": "4", "metadata": {}, "outputs": [], "source": [ diff --git a/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb b/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb index 32341a7e..153a8040 100644 --- a/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/000_hello_acp/dev.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": null, - "id": "36834357", + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d1c309d6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9f6e6ef0", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -47,7 +47,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b03b0d37", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -76,7 +76,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a6927cc0", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -96,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb b/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb index cc927439..1694e293 100644 --- a/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/010_multiturn/dev.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": null, - "id": "36834357", + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d1c309d6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9f6e6ef0", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -47,7 +47,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b03b0d37", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -76,7 +76,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a6927cc0", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -96,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb b/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb index 6ce04698..f66be24d 100644 --- a/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/020_streaming/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -14,8 +14,8 @@ }, { "cell_type": "code", - "execution_count": 2, - "id": "d1c309d6", + "execution_count": null, + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)), name='454cb225-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,18 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='8b547636-205b-4f5e-9356-797de5b45de8', agent_id='ef21f2e7-5bbe-440a-824b-7e89f462a781', sequence_id=244, task_id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 689616, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "\n", @@ -91,91 +75,10 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 03:56:47] ─────────────────────────╮\n",
-       " Hello what can you do?                                                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 03:56:47] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 03:56:47] ─────────────────────────╮\n",
-       " Hello! I can assist you with a variety of tasks, including:                  \n",
-       "                                                                              \n",
-       "  1 Answering Questions: I can provide information on a wide range of topics, \n",
-       "    from science and history to technology and culture.                       \n",
-       "  2 Providing Explanations: I can explain concepts or topics in detail,       \n",
-       "    whether they are academic, technical, or general knowledge.               \n",
-       "  3 Offering Suggestions: I can give recommendations, such as book            \n",
-       "    suggestions, movie picks, or travel destinations based on your interests. \n",
-       "  4 Writing Assistance: I can help with writing tasks, including drafting     \n",
-       "    emails, essays, or creative writing prompts.                              \n",
-       "  5 Language Translation: I can translate text between several languages.     \n",
-       "  6 Problem Solving: I can assist with problem-solving in areas like math,    \n",
-       "    coding, or brainstorming ideas.                                           \n",
-       "  7 Learning Resources: I can suggest resources for further learning on a     \n",
-       "    variety of subjects.                                                      \n",
-       "                                                                              \n",
-       " If there's something specific you want help with, feel free to ask!          \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 03:56:47] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Hello! I can assist you with a variety of tasks, including: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mAnswering Questions\u001b[0m: I can provide information on a wide range of topics, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfrom science and history to technology and culture. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProviding Explanations\u001b[0m: I can explain concepts or topics in detail, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwhether they are academic, technical, or general knowledge. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mOffering Suggestions\u001b[0m: I can give recommendations, such as book \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msuggestions, movie picks, or travel destinations based on your interests. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mWriting Assistance\u001b[0m: I can help with writing tasks, including drafting \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0memails, essays, or creative writing prompts. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mLanguage Translation\u001b[0m: I can translate text between several languages. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mProblem Solving\u001b[0m: I can assist with problem-solving in areas like math, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcoding, or brainstorming ideas. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mLearning Resources\u001b[0m: I can suggest resources for further learning on a \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvariety of subjects. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m If there's something specific you want help with, feel free to ask! \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 5 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -193,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb b/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb index 324e3d0a..f667737b 100644 --- a/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/030_tracing/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d1c309d6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)), name='454cb225-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 164208, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,18 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='8b547636-205b-4f5e-9356-797de5b45de8', agent_id='ef21f2e7-5bbe-440a-824b-7e89f462a781', sequence_id=244, task_id='13e6c10d-91eb-4410-a680-6b730ca4bf7e', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 3, 56, 47, 689616, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "\n", @@ -91,91 +75,10 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 03:56:47] ─────────────────────────╮\n",
-       " Hello what can you do?                                                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 03:56:47] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 03:56:47] ─────────────────────────╮\n",
-       " Hello! I can assist you with a variety of tasks, including:                  \n",
-       "                                                                              \n",
-       "  1 Answering Questions: I can provide information on a wide range of topics, \n",
-       "    from science and history to technology and culture.                       \n",
-       "  2 Providing Explanations: I can explain concepts or topics in detail,       \n",
-       "    whether they are academic, technical, or general knowledge.               \n",
-       "  3 Offering Suggestions: I can give recommendations, such as book            \n",
-       "    suggestions, movie picks, or travel destinations based on your interests. \n",
-       "  4 Writing Assistance: I can help with writing tasks, including drafting     \n",
-       "    emails, essays, or creative writing prompts.                              \n",
-       "  5 Language Translation: I can translate text between several languages.     \n",
-       "  6 Problem Solving: I can assist with problem-solving in areas like math,    \n",
-       "    coding, or brainstorming ideas.                                           \n",
-       "  7 Learning Resources: I can suggest resources for further learning on a     \n",
-       "    variety of subjects.                                                      \n",
-       "                                                                              \n",
-       " If there's something specific you want help with, feel free to ask!          \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 03:56:47] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Hello! I can assist you with a variety of tasks, including: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mAnswering Questions\u001b[0m: I can provide information on a wide range of topics, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfrom science and history to technology and culture. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProviding Explanations\u001b[0m: I can explain concepts or topics in detail, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mwhether they are academic, technical, or general knowledge. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mOffering Suggestions\u001b[0m: I can give recommendations, such as book \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msuggestions, movie picks, or travel destinations based on your interests. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mWriting Assistance\u001b[0m: I can help with writing tasks, including drafting \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0memails, essays, or creative writing prompts. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mLanguage Translation\u001b[0m: I can translate text between several languages. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mProblem Solving\u001b[0m: I can assist with problem-solving in areas like math, \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcoding, or brainstorming ideas. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mLearning Resources\u001b[0m: I can suggest resources for further learning on a \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvariety of subjects. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m If there's something specific you want help with, feel free to ask! \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 5 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -193,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb b/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb index 6cdd347d..abb1b9e7 100644 --- a/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/040_other_sdks/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -14,8 +14,8 @@ }, { "cell_type": "code", - "execution_count": 2, - "id": "d1c309d6", + "execution_count": null, + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='06d6c79f-e74e-42af-a8ca-36d5ed991822', created_at=datetime.datetime(2025, 7, 28, 3, 58, 3, 842049, tzinfo=TzInfo(UTC)), name='7a80a27a-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 3, 58, 3, 842049, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,18 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='8b5edcdb-ca36-423d-88e5-0f3f7b42f2e5', agent_id='cd4b9256-144b-4aef-949b-f9000995013b', sequence_id=245, task_id='06d6c79f-e74e-42af-a8ca-36d5ed991822', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 3, 58, 4, 299604, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "\n", @@ -91,341 +75,10 @@ }, { "cell_type": "code", - "execution_count": 6, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 03:58:04] ─────────────────────────╮\n",
-       " Hello tell me the latest news about AI and AI startups                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 03:58:04] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello tell me the latest news about AI and AI startups \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 03:58:16] ─────────────────────────╮\n",
-       " 🔧 Tool Request: web_search                                                  \n",
-       "                                                                              \n",
-       " Arguments:                                                                   \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"input\": \"latest news about AI and AI startups\",                          \n",
-       "    \"model\": \"gpt-4o-mini\",                                                   \n",
-       "    \"type\": \"web_search_preview\"                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 03:58:16] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", - "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news about AI and AI startups\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o-mini\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 03:58:16] ─────────────────────────╮\n",
-       "Tool Response: web_search                                                 \n",
-       "                                                                              \n",
-       " Response:                                                                    \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"Artificial intelligence (AI) continues to be a driving force in  \n",
-       "  the startup ecosystem, with significant investments and strategic           \n",
-       "  partnerships shaping the landscape.\\n\\n**Surge in AI Startup Funding**\\n\\n  \n",
-       "  the first half of 2025, U.S. AI startups experienced a substantial funding  \n",
-       "  surge, with investments reaching $162.8 billion\\u2014a 75.6% increase from  \n",
-       "  the previous year. This growth was propelled by major tech firms'           \n",
-       "  investments, including OpenAI's $40 billion funding round and Meta's $14.3  \n",
-       "  billion investment in Scale AI. Notably, AI-related investments accounted   \n",
-       "  for 64.1% of total deal value during this period.                           \n",
-       "  ([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding  \n",
-       "  urge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=  \n",
-       "  enai))\\n\\n**Dominance of AI in Venture Capital**\\n\\nAI startups have becom  \n",
-       "  dominant in global venture capital funding, securing 53% of all investment  \n",
-       "  worldwide and 64% in the U.S. in the first half of 2025. This trend reflec  \n",
-       "  a transformative shift in tech investment, with AI's potential driving      \n",
-       "  significant capital allocation.                                             \n",
-       "  ([axios.com](https://www.axios.com/2025/07/03/ai-startups-vc-investments?u  \n",
-       "  _source=openai))\\n\\n**Strategic Partnerships and Investments**\\n\\n- **Amaz  \n",
-       "  and Anthropic**: Amazon increased its investment in AI startup Anthropic b  \n",
-       "  an additional $4 billion, bringing its total investment to $8 billion.      \n",
-       "  Despite this substantial backing, Amazon remains a minority investor. The   \n",
-       "  partnership aims to foster innovation and responsible AI development, with  \n",
-       "  Anthropic collaborating closely with Amazon Web Services (AWS) and utilizi  \n",
-       "  AWS chips for AI model advancement.                                         \n",
-       "  ([apnews.com](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?  \n",
-       "  m_source=openai))\\n\\n- **Applied Intuition**: In June 2025, Applied         \n",
-       "  Intuition achieved a $15 billion valuation after completing a $600 million  \n",
-       "  Series F funding round and tender offer. Investors include Andreessen       \n",
-       "  Horowitz, Fidelity Investments, Kleiner Perkins, Microsoft's venture capit  \n",
-       "  arm M12, and Porsche Investments Management.                                \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Applied_Intuition?utm_so  \n",
-       "  ce=openai))\\n\\n- **Mistral AI**: The French AI startup Mistral AI secured   \n",
-       "  \\u20ac600 million ($645 million) funding round in June 2024, elevating its  \n",
-       "  valuation to \\u20ac5.8 billion ($6.2 billion). Led by venture capital firm  \n",
-       "  General Catalyst, this round aims to support the company's expansion.       \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
-       "  ai))\\n\\n**Emerging AI Startups**\\n\\n- **Neysa**: Founded in 2023 by Sharad  \n",
-       "  Sanghi and Anindya Das, Neysa is an Indian technology startup providing a   \n",
-       "  cloud platform for AI acceleration and high-performance computing           \n",
-       "  infrastructure services. The company raised $20 million in a seed funding   \n",
-       "  round in February 2024, followed by a $30 million round in October 2024,    \n",
-       "  bringing its total funding to $50 million.                                  \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)  \n",
-       "  n\\n- **Axelera AI**: Established in 2021, Axelera AI is a Netherlands-base  \n",
-       "  chip company developing AI processing units for various applications,       \n",
-       "  including robotics, drones, and medical devices. In 2025, it received a     \n",
-       "  \\u20ac61.6 million grant to develop its Titania chip for generative AI and  \n",
-       "  computer vision processing.                                                 \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Axelera_AI?utm_source=op  \n",
-       "  ai))\\n\\n**AI's Impact on Various Sectors**\\n\\nAI is increasingly being      \n",
-       "  utilized to streamline processes across different industries. For instance  \n",
-       "  in the nuclear sector, AI is being applied to accelerate reactor licensing  \n",
-       "  and construction, with partnerships like Microsoft's collaboration with th  \n",
-       "  Department of Energy\\u2019s Idaho National Lab and Westinghouse's           \n",
-       "  partnership with Google. These initiatives aim to enhance nuclear           \n",
-       "  development while maintaining human oversight.                              \n",
-       "  ([axios.com](https://www.axios.com/newsletters/axios-generate-5dcf1a30-624  \n",
-       "  11f0-933f-c56d5ef52713?utm_source=openai))\\n\\n\\n## Recent Developments in   \n",
-       "  Startups:\\n- [US AI startups see funding surge while more VC funds struggl  \n",
-       "  to raise, data                                                              \n",
-       "  shows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w  \n",
-       "  le-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\  \n",
-       "   [Axios Pro Rata: AI eats                                                   \n",
-       "  VC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93  \n",
-       "  -212d8860b6aa?utm_source=openai)\\n- [Amazon to invest an additional $4      \n",
-       "  billion in AI startup                                                       \n",
-       "  Anthropic](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?utm  \n",
-       "  ource=openai) \",                                                            \n",
-       "    \"annotations\": null,                                                      \n",
-       "    \"meta\": null                                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 03:58:16] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", - "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"Artificial intelligence (AI) continues to be a driving force in\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe startup ecosystem, with significant investments and strategic \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnerships shaping the landscape.\\n\\n**Surge in AI Startup Funding**\\n\\n\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe first half of 2025, U.S. AI startups experienced a substantial funding\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msurge, with investments reaching $162.8 billion\\u2014a 75.6% increase from\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe previous year. This growth was propelled by major tech firms' \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minvestments, including OpenAI's $40 billion funding round and Meta's $14.3\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion investment in Scale AI. Notably, AI-related investments accounted \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfor 64.1% of total deal value during this period. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34murge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai))\\n\\n**Dominance of AI in Venture Capital**\\n\\nAI startups have becom\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdominant in global venture capital funding, securing 53% of all investment\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mworldwide and 64% in the U.S. in the first half of 2025. This trend reflec\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34ma transformative shift in tech investment, with AI's potential driving \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msignificant capital allocation. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/2025/07/03/ai-startups-vc-investments?u\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m_source=openai))\\n\\n**Strategic Partnerships and Investments**\\n\\n- **Amaz\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand Anthropic**: Amazon increased its investment in AI startup Anthropic b\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34man additional $4 billion, bringing its total investment to $8 billion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mDespite this substantial backing, Amazon remains a minority investor. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnership aims to foster innovation and responsible AI development, with\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAnthropic collaborating closely with Amazon Web Services (AWS) and utilizi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAWS chips for AI model advancement. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([apnews.com](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mm_source=openai))\\n\\n- **Applied Intuition**: In June 2025, Applied \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mIntuition achieved a $15 billion valuation after completing a $600 million\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSeries F funding round and tender offer. Investors include Andreessen \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mHorowitz, Fidelity Investments, Kleiner Perkins, Microsoft's venture capit\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34marm M12, and Porsche Investments Management. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Applied_Intuition?utm_so\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mce=openai))\\n\\n- **Mistral AI**: The French AI startup Mistral AI secured \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\u20ac600 million ($645 million) funding round in June 2024, elevating its\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluation to \\u20ac5.8 billion ($6.2 billion). Led by venture capital firm\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mGeneral Catalyst, this round aims to support the company's expansion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n**Emerging AI Startups**\\n\\n- **Neysa**: Founded in 2023 by Sharad\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSanghi and Anindya Das, Neysa is an Indian technology startup providing a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcloud platform for AI acceleration and high-performance computing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minfrastructure services. The company raised $20 million in a seed funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround in February 2024, followed by a $30 million round in October 2024, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbringing its total funding to $50 million. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n- **Axelera AI**: Established in 2021, Axelera AI is a Netherlands-base\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mchip company developing AI processing units for various applications, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mincluding robotics, drones, and medical devices. In 2025, it received a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\u20ac61.6 million grant to develop its Titania chip for generative AI and\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcomputer vision processing. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Axelera_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n**AI's Impact on Various Sectors**\\n\\nAI is increasingly being \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mutilized to streamline processes across different industries. For instance\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34min the nuclear sector, AI is being applied to accelerate reactor licensing\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand construction, with partnerships like Microsoft's collaboration with th\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mDepartment of Energy\\u2019s Idaho National Lab and Westinghouse's \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpartnership with Google. These initiatives aim to enhance nuclear \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelopment while maintaining human oversight. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/newsletters/axios-generate-5dcf1a30-624\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m11f0-933f-c56d5ef52713?utm_source=openai))\\n\\n\\n## Recent Developments in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mStartups:\\n- [US AI startups see funding surge while more VC funds struggl\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mto raise, data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mshows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mle-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m [Axios Pro Rata: AI eats \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mVC](https://www.axios.com/newsletters/axios-pro-rata-d4299627-1e82-44f2-93\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-212d8860b6aa?utm_source=openai)\\n- [Amazon to invest an additional $4 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion in AI startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAnthropic](https://apnews.com/article/7a5764907e8cf0c23117be9c710e9f6a?utm\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mource=openai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 03:58:17] ─────────────────────────╮\n",
-       " Here are some of the latest developments in the world of AI and AI startups: \n",
-       "                                                                              \n",
-       "  1 Surge in AI Startup Funding:                                              \n",
-       " In the first half of 2025, U.S. AI startups saw a funding surge with   \n",
-       "       investments hitting $162.8 billion. This growth was driven by major    \n",
-       "       investments from tech firms such as OpenAI and Meta. AI-related        \n",
-       "       investments made up 64.1% of the total deal value in this period.      \n",
-       "  2 Dominance in Venture Capital:                                             \n",
-       " AI startups have secured 53% of global venture capital funding, with   \n",
-       "       64% in the U.S., underscoring AI's increasing significance in tech     \n",
-       "       investment.                                                            \n",
-       "  3 Strategic Partnerships and Investments:                                   \n",
-       " Amazon and Anthropic: Amazon increased its investment in Anthropic to  \n",
-       "       $8 billion. This partnership focuses on innovation and responsible AI  \n",
-       "       development.                                                           \n",
-       " Applied Intuition: Achieved a $15 billion valuation after a $600       \n",
-       "       million funding round.                                                 \n",
-       " Mistral AI: Raised €600 million, aiming to support expansion.          \n",
-       "  4 Emerging AI Startups:                                                     \n",
-       " Neysa: An Indian startup providing cloud platforms for AI, raised $50  \n",
-       "       million.                                                               \n",
-       " Axelera AI: Netherlands-based, received a €61.6 million grant for its  \n",
-       "       AI processing units.                                                   \n",
-       "  5 AI's Impact on Various Sectors:                                           \n",
-       " AI is being used to expedite processes in industries like nuclear      \n",
-       "       energy, where partnerships aim to accelerate reactor licensing and     \n",
-       "       construction.                                                          \n",
-       "                                                                              \n",
-       " For more detailed articles and specific company information, you can check   \n",
-       " the sources like Reuters, Axios, and AP News.                                \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 03:58:17] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Here are some of the latest developments in the world of AI and AI startups: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mSurge in AI Startup Funding\u001b[0m: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIn the first half of 2025, U.S. AI startups saw a funding surge with \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestments hitting $162.8 billion. This growth was driven by major \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestments from tech firms such as OpenAI and Meta. AI-related \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestments made up 64.1% of the total deal value in this period. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mDominance in Venture Capital\u001b[0m: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAI startups have secured 53% of global venture capital funding, with \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0m64% in the U.S., underscoring AI's increasing significance in tech \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0minvestment. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mStrategic Partnerships and Investments\u001b[0m: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mAmazon and Anthropic\u001b[0m: Amazon increased its investment in Anthropic to \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0m$8 billion. This partnership focuses on innovation and responsible AI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdevelopment. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mApplied Intuition\u001b[0m: Achieved a $15 billion valuation after a $600 \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmillion funding round. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mMistral AI\u001b[0m: Raised €600 million, aiming to support expansion. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mEmerging AI Startups\u001b[0m: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mNeysa\u001b[0m: An Indian startup providing cloud platforms for AI, raised $50 \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmillion. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mAxelera AI\u001b[0m: Netherlands-based, received a €61.6 million grant for its \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mAI processing units. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mAI's Impact on Various Sectors\u001b[0m: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAI is being used to expedite processes in industries like nuclear \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0menergy, where partnerships aim to accelerate reactor licensing and \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mconstruction. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m For more detailed articles and specific company information, you can check \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m the sources like Reuters, Axios, and AP News. \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 20 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -443,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb b/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb index 4b92b95b..19a40f71 100644 --- a/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb +++ b/examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -14,8 +14,8 @@ }, { "cell_type": "code", - "execution_count": 2, - "id": "d1c309d6", + "execution_count": null, + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 678078, tzinfo=TzInfo(UTC)), name='257301f4-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 678078, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,22 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='56a214e2-f11a-456d-a65c-ef4128f068b1', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=246, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 834958, tzinfo=TzInfo(UTC)))\n", - "Event(id='94b21c62-4ad9-46d7-904d-4a2cf034b55e', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=247, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 886831, tzinfo=TzInfo(UTC)))\n", - "Event(id='5143e12a-7a66-44ad-94cb-bdcfae32770c', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=248, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 940474, tzinfo=TzInfo(UTC)))\n", - "Event(id='ac2cdee3-00eb-4294-8be8-cb30c35664e3', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=249, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 28, 983842, tzinfo=TzInfo(UTC)))\n", - "Event(id='fba14bc1-af91-41e5-bc83-f892d0e2d8a2', agent_id='406f9f42-9f3f-4bb2-869c-d6b36028e487', sequence_id=250, task_id='a2e50f7f-415f-4243-8809-4e4cd22e6f91', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 0, 29, 24825, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "from agentex.types import Event\n", @@ -126,58 +106,10 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:00:38] ─────────────────────────╮\n",
-       " Processed event IDs: ['56a214e2-f11a-456d-a65c-ef4128f068b1',                \n",
-       " '94b21c62-4ad9-46d7-904d-4a2cf034b55e']                                      \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:00:38] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Processed event IDs: ['56a214e2-f11a-456d-a65c-ef4128f068b1', \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m '94b21c62-4ad9-46d7-904d-4a2cf034b55e'] \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:00:54] ─────────────────────────╮\n",
-       " Processed event IDs: ['5143e12a-7a66-44ad-94cb-bdcfae32770c',                \n",
-       " 'ac2cdee3-00eb-4294-8be8-cb30c35664e3',                                      \n",
-       " 'fba14bc1-af91-41e5-bc83-f892d0e2d8a2']                                      \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:00:54] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Processed event IDs: ['5143e12a-7a66-44ad-94cb-bdcfae32770c', \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m 'ac2cdee3-00eb-4294-8be8-cb30c35664e3', \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m 'fba14bc1-af91-41e5-bc83-f892d0e2d8a2'] \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 20 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", "\n", @@ -194,7 +126,7 @@ { "cell_type": "code", "execution_count": null, - "id": "593a0a47", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb b/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb index 12a98870..f8a66a0f 100644 --- a/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb +++ b/examples/tutorials/10_agentic/10_temporal/000_hello_acp/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -14,8 +14,8 @@ }, { "cell_type": "code", - "execution_count": 2, - "id": "d1c309d6", + "execution_count": null, + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='74a31c55-5e45-4f9c-8f47-bf7f38d32c82', created_at=datetime.datetime(2025, 7, 28, 4, 1, 52, 55193, tzinfo=TzInfo(UTC)), name='56a28d29-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 1, 52, 55193, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,18 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='8819190c-045a-4baf-b576-3238d815e037', agent_id='1f6cd429-4e4a-4884-b449-72a1f2740393', sequence_id=251, task_id='74a31c55-5e45-4f9c-8f47-bf7f38d32c82', content=TextContent(author='user', content='Hello what can you do?', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 1, 52, 532616, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "\n", @@ -91,56 +75,10 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 04:01:52] ─────────────────────────╮\n",
-       " Hello what can you do?                                                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:01:52] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello what can you do? \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:01:52] ─────────────────────────╮\n",
-       " Hello! I've received your message. I can't respond right now, but in future  \n",
-       " tutorials we'll see how you can get me to intelligently respond to your      \n",
-       " message.                                                                     \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:01:52] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Hello! I've received your message. I can't respond right now, but in future \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m tutorials we'll see how you can get me to intelligently respond to your \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m message. \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 5 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -158,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb b/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb index b4e10aac..abb1b9e7 100644 --- a/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb +++ b/examples/tutorials/10_agentic/10_temporal/010_agent_chat/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -14,8 +14,8 @@ }, { "cell_type": "code", - "execution_count": 2, - "id": "d1c309d6", + "execution_count": null, + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='49df6e10-10b1-4f8a-8217-9561dcac40c5', created_at=datetime.datetime(2025, 7, 28, 4, 2, 24, 337495, tzinfo=TzInfo(UTC)), name='54be2c13-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 2, 24, 337495, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,18 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='27df566e-6c92-4f86-a7fc-a2b6a1f28018', agent_id='cd4b9256-144b-4aef-949b-f9000995013b', sequence_id=252, task_id='49df6e10-10b1-4f8a-8217-9561dcac40c5', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 2, 24, 776038, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "\n", @@ -91,339 +75,10 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 04:02:24] ─────────────────────────╮\n",
-       " Hello tell me the latest news about AI and AI startups                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:02:24] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello tell me the latest news about AI and AI startups \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:02:35] ─────────────────────────╮\n",
-       " 🔧 Tool Request: web_search                                                  \n",
-       "                                                                              \n",
-       " Arguments:                                                                   \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"input\": \"latest news about AI and AI startups\",                          \n",
-       "    \"model\": \"gpt-4o-mini\",                                                   \n",
-       "    \"type\": \"web_search_preview\"                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:02:35] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", - "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news about AI and AI startups\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o-mini\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:02:35] ─────────────────────────╮\n",
-       "Tool Response: web_search                                                 \n",
-       "                                                                              \n",
-       " Response:                                                                    \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"As of July 28, 2025, the artificial intelligence (AI) sector     \n",
-       "  continues to experience significant growth and innovation. Here are some o  \n",
-       "  the latest developments:\\n\\n**Surge in AI Startup Funding**\\n\\nIn the firs  \n",
-       "  half of 2025, U.S. startup funding increased by 75.6%, reaching $162.8      \n",
-       "  billion\\u2014the second-highest on record. This surge is largely driven by  \n",
-       "  AI investments, which constituted 64.1% of total deal value during this     \n",
-       "  period. Major tech firms have been pivotal in this trend, with OpenAI       \n",
-       "  securing a $40 billion funding round and Meta investing $14.3 billion in    \n",
-       "  Scale AI.                                                                   \n",
-       "  ([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding  \n",
-       "  urge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=  \n",
-       "  enai))\\n\\n**Legal Disputes in AI Development**\\n\\nTech startup iyO Inc. ha  \n",
-       "  filed a lawsuit against former executive Dan Sargent, alleging the leak of  \n",
-       "  confidential product designs. This follows a previous trademark infringeme  \n",
-       "  lawsuit against OpenAI and designer Jony Ive over a similar-sounding AI     \n",
-       "  interface venture. The legal battles underscore the competitive and         \n",
-       "  secretive nature of AI development.                                         \n",
-       "  ([apnews.com](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?  \n",
-       "  m_source=openai))\\n\\n**Meta's Potential Investment in Scale AI**\\n\\nMeta    \n",
-       "  Platforms is reportedly in discussions to invest over $10 billion in Scale  \n",
-       "  AI, a data labeling startup. This potential investment highlights the       \n",
-       "  growing importance of data infrastructure in AI development. Scale AI,      \n",
-       "  founded in 2016, has previously received backing from major tech companies  \n",
-       "  such as Nvidia and Amazon.                                                  \n",
-       "  ([reuters.com](https://www.reuters.com/business/meta-talks-scale-ai-invest  \n",
-       "  nt-that-could-top-10-billion-bloomberg-news-reports-2025-06-08/?utm_source  \n",
-       "  penai))\\n\\n**Emerald AI's Energy-Efficient Data Centers**\\n\\nNvidia,        \n",
-       "  alongside Radical Ventures and AMPLO, has invested in Emerald AI, a startu  \n",
-       "  aiming to revolutionize data center energy use. Emerald AI's software alig  \n",
-       "  AI computation loads with regional electricity grid demands, allowing data  \n",
-       "  centers to support energy infrastructure rather than burden it. A recent    \n",
-       "  field test demonstrated the software's ability to dynamically shift         \n",
-       "  workloads in real time.                                                     \n",
-       "  ([axios.com](https://www.axios.com/2025/07/01/nvidia-startup-data-center-p  \n",
-       "  er?utm_source=openai))\\n\\n**Thinking Machines Lab's Rapid                   \n",
-       "  Growth**\\n\\nFounded in February 2025 by Mira Murati, former CTO of OpenAI,  \n",
-       "  Thinking Machines Lab has quickly gained traction. By July, the company     \n",
-       "  secured a $2 billion early-stage funding round led by Andreessen Horowitz,  \n",
-       "  valuing it at $12 billion. The startup has attracted talent from            \n",
-       "  competitors, including OpenAI co-founder John Schulman.                     \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Thinking_Machines_Lab?ut  \n",
-       "  source=openai))\\n\\n**Base44's Acquisition by Wix**\\n\\nIsraeli startup       \n",
-       "  Base44, founded in January 2025, developed an AI-powered platform enabling  \n",
-       "  the creation of web and mobile applications through a natural language      \n",
-       "  conversational interface. By June 2025, Base44 had over 100,000 users and   \n",
-       "  secured partnerships with companies like eToro and Similarweb. In June 202  \n",
-       "  Wix.com acquired Base44 for approximately $80 million, integrating its      \n",
-       "  technology into Wix's product suite.                                        \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Base44?utm_source=openai  \n",
-       "  \\n\\n**Harvey's $300 Million Series D Funding**\\n\\nLegal AI firm Harvey      \n",
-       "  raised $300 million in a Series D funding round led by Sequoia Capital,     \n",
-       "  valuing the company at $3 billion. The funding round also included          \n",
-       "  participation from OpenAI, Kleiner Perkins, and Sequoia Capital. Harvey     \n",
-       "  specializes in using AI to answer legal questions, streamlining legal       \n",
-       "  research and documentation processes.                                       \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Harvey_%28software%29?ut  \n",
-       "  source=openai))\\n\\nThese developments reflect the dynamic and rapidly       \n",
-       "  evolving landscape of AI startups, highlighting significant investments,    \n",
-       "  strategic acquisitions, and innovative applications across various          \n",
-       "  sectors.\\n\\n\\n## Recent Developments in AI Startups:\\n- [US AI startups se  \n",
-       "  funding surge while more VC funds struggle to raise, data                   \n",
-       "  shows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w  \n",
-       "  le-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\  \n",
-       "   [AI device startup that sued OpenAI and Jony Ive is now suing its own      \n",
-       "  ex-employee over trade                                                      \n",
-       "  secrets](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?utm_s  \n",
-       "  rce=openai)\\n- [Nvidia stakes new startup that flips script on data center  \n",
-       "  power](https://www.axios.com/2025/07/01/nvidia-startup-data-center-power?u  \n",
-       "  _source=openai) \",                                                          \n",
-       "    \"annotations\": null,                                                      \n",
-       "    \"meta\": null                                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:02:35] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", - "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"As of July 28, 2025, the artificial intelligence (AI) sector \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcontinues to experience significant growth and innovation. Here are some o\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe latest developments:\\n\\n**Surge in AI Startup Funding**\\n\\nIn the firs\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhalf of 2025, U.S. startup funding increased by 75.6%, reaching $162.8 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mbillion\\u2014the second-highest on record. This surge is largely driven by\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI investments, which constituted 64.1% of total deal value during this \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mperiod. Major tech firms have been pivotal in this trend, with OpenAI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecuring a $40 billion funding round and Meta investing $14.3 billion in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mScale AI. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/us-ai-startups-see-funding\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34murge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai))\\n\\n**Legal Disputes in AI Development**\\n\\nTech startup iyO Inc. ha\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfiled a lawsuit against former executive Dan Sargent, alleging the leak of\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mconfidential product designs. This follows a previous trademark infringeme\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlawsuit against OpenAI and designer Jony Ive over a similar-sounding AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minterface venture. The legal battles underscore the competitive and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecretive nature of AI development. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([apnews.com](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mm_source=openai))\\n\\n**Meta's Potential Investment in Scale AI**\\n\\nMeta \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mPlatforms is reportedly in discussions to invest over $10 billion in Scale\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI, a data labeling startup. This potential investment highlights the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mgrowing importance of data infrastructure in AI development. Scale AI, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfounded in 2016, has previously received backing from major tech companies\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msuch as Nvidia and Amazon. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([reuters.com](https://www.reuters.com/business/meta-talks-scale-ai-invest\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnt-that-could-top-10-billion-bloomberg-news-reports-2025-06-08/?utm_source\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpenai))\\n\\n**Emerald AI's Energy-Efficient Data Centers**\\n\\nNvidia, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34malongside Radical Ventures and AMPLO, has invested in Emerald AI, a startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34maiming to revolutionize data center energy use. Emerald AI's software alig\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI computation loads with regional electricity grid demands, allowing data\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcenters to support energy infrastructure rather than burden it. A recent \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfield test demonstrated the software's ability to dynamically shift \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mworkloads in real time. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([axios.com](https://www.axios.com/2025/07/01/nvidia-startup-data-center-p\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mer?utm_source=openai))\\n\\n**Thinking Machines Lab's Rapid \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mGrowth**\\n\\nFounded in February 2025 by Mira Murati, former CTO of OpenAI,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mThinking Machines Lab has quickly gained traction. By July, the company \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecured a $2 billion early-stage funding round led by Andreessen Horowitz,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluing it at $12 billion. The startup has attracted talent from \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompetitors, including OpenAI co-founder John Schulman. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Thinking_Machines_Lab?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\n**Base44's Acquisition by Wix**\\n\\nIsraeli startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mBase44, founded in January 2025, developed an AI-powered platform enabling\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe creation of web and mobile applications through a natural language \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mconversational interface. By June 2025, Base44 had over 100,000 users and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecured partnerships with companies like eToro and Similarweb. In June 202\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mWix.com acquired Base44 for approximately $80 million, integrating its \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtechnology into Wix's product suite. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Base44?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n**Harvey's $300 Million Series D Funding**\\n\\nLegal AI firm Harvey \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mraised $300 million in a Series D funding round led by Sequoia Capital, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluing the company at $3 billion. The funding round also included \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mparticipation from OpenAI, Kleiner Perkins, and Sequoia Capital. Harvey \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mspecializes in using AI to answer legal questions, streamlining legal \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mresearch and documentation processes. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Harvey_%28software%29?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\nThese developments reflect the dynamic and rapidly \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mevolving landscape of AI startups, highlighting significant investments, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstrategic acquisitions, and innovative applications across various \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msectors.\\n\\n\\n## Recent Developments in AI Startups:\\n- [US AI startups se\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfunding surge while more VC funds struggle to raise, data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mshows](https://www.reuters.com/business/us-ai-startups-see-funding-surge-w\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mle-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai)\\\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m [AI device startup that sued OpenAI and Jony Ive is now suing its own \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mex-employee over trade \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecrets](https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?utm_s\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mrce=openai)\\n- [Nvidia stakes new startup that flips script on data center\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpower](https://www.axios.com/2025/07/01/nvidia-startup-data-center-power?u\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m_source=openai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:02:35] ─────────────────────────╮\n",
-       " Here's the latest news on AI and AI startups as of July 28, 2025:            \n",
-       "                                                                              \n",
-       "  1 Surge in AI Startup Funding: U.S. startup funding has increased           \n",
-       "    significantly, with AI investments representing a major portion. This     \n",
-       "    includes a massive $40 billion round for OpenAI and $14.3 billion from    \n",
-       "    Meta for Scale AI. Read more.                                             \n",
-       "  2 Legal Disputes in AI Development: Tech startup iyO Inc. is in legal       \n",
-       "    battles regarding leaked product designs and trademark issues with OpenAI \n",
-       "    and Jony Ive. Learn more.                                                 \n",
-       "  3 Meta's Investment in Scale AI: Meta is considering a $10 billion          \n",
-       "    investment in Scale AI, underlining the importance of data infrastructure \n",
-       "    in AI. Details here.                                                      \n",
-       "  4 Emerald AI's Energy-Efficient Solutions: Nvidia and other investors are   \n",
-       "    backing Emerald AI to improve data center energy use in alignment with    \n",
-       "    electricity grid demands. Find out more.                                  \n",
-       "  5 Thinking Machines Lab's Rapid Growth: Founded by Mira Murati, this        \n",
-       "    startup quickly drew $2 billion in funding, attracting talent from major  \n",
-       "    competitors. Read more about it.                                          \n",
-       "  6 Base44's Acquisition by Wix: Base44, known for its AI-powered platform    \n",
-       "    for creating applications through conversational interfaces, was acquired \n",
-       "    by Wix for about $80 million. More information.                           \n",
-       "  7 Harvey's Series D Funding: Legal AI firm Harvey raised $300 million, led  \n",
-       "    by Sequoia Capital, to advance its AI capabilities for legal processes.   \n",
-       "    Explore further.                                                          \n",
-       "                                                                              \n",
-       " These highlights demonstrate the vibrant and rapidly evolving nature of AI   \n",
-       " startups, with substantial investments, strategic developments, and          \n",
-       " innovative applications across various sectors.                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:02:35] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Here's the latest news on AI and AI startups as of July 28, 2025: \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mSurge in AI Startup Funding\u001b[0m: U.S. startup funding has increased \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0msignificantly, with AI investments representing a major portion. This \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mincludes a massive $40 billion round for OpenAI and $14.3 billion from \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mMeta for Scale AI. \u001b]8;id=137415;https://www.reuters.com/business/us-ai-startups-see-funding-surge-while-more-vc-funds-struggle-raise-data-shows-2025-07-15/?utm_source=openai\u001b\\\u001b[4;34mRead more\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mLegal Disputes in AI Development\u001b[0m: Tech startup iyO Inc. is in legal \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mbattles regarding leaked product designs and trademark issues with OpenAI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mand Jony Ive. \u001b]8;id=245135;https://apnews.com/article/0193532cf71cf975de62b4218ebd3bb6?utm_source=openai\u001b\\\u001b[4;34mLearn more\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mMeta's Investment in Scale AI\u001b[0m: Meta is considering a $10 billion \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minvestment in Scale AI, underlining the importance of data infrastructure \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0min AI. \u001b]8;id=369642;https://www.reuters.com/business/meta-talks-scale-ai-investment-that-could-top-10-billion-bloomberg-news-reports-2025-06-08/?utm_source=openai\u001b\\\u001b[4;34mDetails here\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mEmerald AI's Energy-Efficient Solutions\u001b[0m: Nvidia and other investors are \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mbacking Emerald AI to improve data center energy use in alignment with \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0melectricity grid demands. \u001b]8;id=234177;https://www.axios.com/2025/07/01/nvidia-startup-data-center-power?utm_source=openai\u001b\\\u001b[4;34mFind out more\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mThinking Machines Lab's Rapid Growth\u001b[0m: Founded by Mira Murati, this \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mstartup quickly drew $2 billion in funding, attracting talent from major \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcompetitors. \u001b]8;id=709301;https://en.wikipedia.org/wiki/Thinking_Machines_Lab?utm_source=openai\u001b\\\u001b[4;34mRead more about it\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mBase44's Acquisition by Wix\u001b[0m: Base44, known for its AI-powered platform \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mfor creating applications through conversational interfaces, was acquired \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mby Wix for about $80 million. \u001b]8;id=806967;https://en.wikipedia.org/wiki/Base44?utm_source=openai\u001b\\\u001b[4;34mMore information\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mHarvey's Series D Funding\u001b[0m: Legal AI firm Harvey raised $300 million, led \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mby Sequoia Capital, to advance its AI capabilities for legal processes. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b]8;id=247028;https://en.wikipedia.org/wiki/Harvey_%28software%29?utm_source=openai\u001b\\\u001b[4;34mExplore further\u001b[0m\u001b]8;;\u001b\\. \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m These highlights demonstrate the vibrant and rapidly evolving nature of AI \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m startups, with substantial investments, strategic developments, and \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m innovative applications across various sectors. \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 20 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -441,7 +96,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4864e354", + "id": "5", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb b/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb index 7e6a1527..e0057f48 100644 --- a/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb +++ b/examples/tutorials/10_agentic/10_temporal/020_state_machine/dev.ipynb @@ -2,8 +2,8 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "36834357", + "execution_count": null, + "id": "0", "metadata": {}, "outputs": [], "source": [ @@ -14,8 +14,8 @@ }, { "cell_type": "code", - "execution_count": 2, - "id": "d1c309d6", + "execution_count": null, + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -24,18 +24,10 @@ }, { "cell_type": "code", - "execution_count": 3, - "id": "9f6e6ef0", + "execution_count": null, + "id": "2", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Task(id='3d30c728-2634-4ec2-a132-dc0ac143e484', created_at=datetime.datetime(2025, 7, 28, 4, 3, 11, 172316, tzinfo=TzInfo(UTC)), name='4759e77b-task', status='RUNNING', status_reason='Task created, forwarding to ACP server', updated_at=datetime.datetime(2025, 7, 28, 4, 3, 11, 172316, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# (REQUIRED) Create a new task. For Agentic agents, you must create a task for messages to be associated with.\n", "import uuid\n", @@ -54,18 +46,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "id": "b03b0d37", + "execution_count": null, + "id": "3", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='14a48389-0c6e-4001-9c11-8e4e6edf9390', agent_id='8e8d7d03-214f-4163-97b4-ce687ce9923f', sequence_id=253, task_id='3d30c728-2634-4ec2-a132-dc0ac143e484', content=TextContent(author='user', content='Hello tell me the latest news about AI and AI startups', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 3, 11, 382344, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send an event to the agent\n", "\n", @@ -91,59 +75,10 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "a6927cc0", + "execution_count": null, + "id": "4", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 04:03:11] ─────────────────────────╮\n",
-       " Hello tell me the latest news about AI and AI startups                       \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:03:11] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m Hello tell me the latest news about AI and AI startups \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:03:11] ─────────────────────────╮\n",
-       " What specific areas of AI or types of startups are you most interested in?   \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:03:11] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m What specific areas of AI or types of startups are you most interested in? \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Streaming timed out after 20 seconds - returning collected messages\n" - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -160,18 +95,10 @@ }, { "cell_type": "code", - "execution_count": 6, - "id": "4864e354", + "execution_count": null, + "id": "5", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Event(id='d52b0a3e-bb39-4898-a313-d342cfe29dee', agent_id='8e8d7d03-214f-4163-97b4-ce687ce9923f', sequence_id=254, task_id='3d30c728-2634-4ec2-a132-dc0ac143e484', content=TextContent(author='user', content='I want to know what viral news came up and which startups failed, got acquired, or became very successful or popular in the last 3 months', attachments=None, format='plain', style='static', type='text'), created_at=datetime.datetime(2025, 7, 28, 4, 4, 58, 62398, tzinfo=TzInfo(UTC)))\n" - ] - } - ], + "outputs": [], "source": [ "# Send a follow up event to the agent in response to the agent's follow up question\n", "\n", @@ -189,714 +116,10 @@ }, { "cell_type": "code", - "execution_count": 7, - "id": "863fa6f3", + "execution_count": null, + "id": "6", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
╭───────────────────────── USER [07/28/2025 04:04:58] ─────────────────────────╮\n",
-       " I want to know what viral news came up and which startups failed, got        \n",
-       " acquired, or became very successful or popular in the last 3 months          \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[96m╭─\u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m \u001b[0m\u001b[1;96mUSER\u001b[0m\u001b[96m [07/28/2025 04:04:58] \u001b[0m\u001b[96m────────────────────────\u001b[0m\u001b[96m─╮\u001b[0m\n", - "\u001b[96m│\u001b[0m I want to know what viral news came up and which startups failed, got \u001b[96m│\u001b[0m\n", - "\u001b[96m│\u001b[0m acquired, or became very successful or popular in the last 3 months \u001b[96m│\u001b[0m\n", - "\u001b[96m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:04:58] ─────────────────────────╮\n",
-       " Starting deep research process based on your query and follow-up             \n",
-       " responses...                                                                 \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[32m╭─\u001b[0m\u001b[32m───────────────────────\u001b[0m\u001b[32m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[32m [07/28/2025 04:04:58] \u001b[0m\u001b[32m────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n", - "\u001b[32m│\u001b[0m Starting deep research process based on your query and follow-up \u001b[32m│\u001b[0m\n", - "\u001b[32m│\u001b[0m responses... \u001b[32m│\u001b[0m\n", - "\u001b[32m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:13] ─────────────────────────╮\n",
-       " 🔧 Tool Request: web_search                                                  \n",
-       "                                                                              \n",
-       " Arguments:                                                                   \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"input\": \"latest news AI startups October 2023\",                          \n",
-       "    \"model\": \"gpt-4o\",                                                        \n",
-       "    \"type\": \"web_search_preview\"                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:13] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", - "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"latest news AI startups October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:13] ─────────────────────────╮\n",
-       "Tool Response: web_search                                                 \n",
-       "                                                                              \n",
-       " Response:                                                                    \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"In October 2023, the AI startup landscape witnessed significant  \n",
-       "  developments, including substantial funding rounds, strategic partnerships  \n",
-       "  and innovative product launches. Here are some of the notable               \n",
-       "  highlights:\\n\\n**Major Funding Rounds:**\\n\\n- **Mistral AI:** The           \n",
-       "  Paris-based generative AI startup, co-founded by former researchers from    \n",
-       "  Meta Platforms and Alphabet, raised \\u20ac385 million in October 2023. Thi  \n",
-       "  funding aimed to position Mistral AI as Europe's counterpart to OpenAI.     \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
-       "  ai))\\n\\n- **Perplexity:** Specializing in conversational AI search engines  \n",
-       "  Perplexity secured new funding led by venture capital firm IVP, elevating   \n",
-       "  its valuation to $500 million.                                              \n",
-       "  ([techstartups.com](https://techstartups.com/2023/10/24/?utm_source=openai  \n",
-       "  \\n\\n- **EdgeCortix:** The Tokyo-based AI hardware company raised $20 milli  \n",
-       "  in a funding round led by SBI Investment and Global Hands-On VC. EdgeCorti  \n",
-       "  focuses on scalable, run-time reconfigurable neural network processor IP f  \n",
-       "  edge inference.                                                             \n",
-       "  ([semiengineering.com](https://semiengineering.com/startup-funding-october  \n",
-       "  023/?utm_source=openai))\\n\\n- **Lemurian Labs:** This Toronto-based startu  \n",
-       "  developing hardware and software accelerated computing platforms for AI     \n",
-       "  applications secured $9 million in seed funding.                            \n",
-       "  ([semiengineering.com](https://semiengineering.com/startup-funding-october  \n",
-       "  023/?utm_source=openai))\\n\\n**Strategic Partnerships and                    \n",
-       "  Acquisitions:**\\n\\n- **Flatfile's Acquisition of ChatCSV:** Denver-based    \n",
-       "  Flatfile acquired ChatCSV, an AI startup known for its AI chat app used by  \n",
-       "  organizations like P&G and McKinsey. This acquisition aims to enhance       \n",
-       "  Flatfile's AI-powered data exchange platform.                               \n",
-       "  ([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai  \n",
-       "  \\n\\n- **WasteVision AI and Keymakr Collaboration:** Announced on October 6  \n",
-       "  2023, WasteVision AI partnered with Keymakr to revolutionize waste          \n",
-       "  management through technological advancements, focusing on innovative       \n",
-       "  solutions for waste sorting and detection.                                  \n",
-       "  ([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other  \n",
-       "  i-news-during-september-and-october?utm_source=openai))\\n\\n**Product        \n",
-       "  Launches and Innovations:**\\n\\n- **Qwak's Vector Store:** On September 28,  \n",
-       "  2023, Israeli MLOps startup Qwak unveiled its Vector Store, a feature       \n",
-       "  designed to transform how data science teams manage vector storage,         \n",
-       "  retrieval, and embedding operations, streamlining these processes.          \n",
-       "  ([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other  \n",
-       "  i-news-during-september-and-october?utm_source=openai))\\n\\n- **Giga ML's    \n",
-       "  On-Premise LLMs:** Bengaluru-based Giga ML introduced on-premise deploymen  \n",
-       "  and fine-tuning services for large language models (LLMs), allowing         \n",
-       "  enterprises to utilize LLMs internally without relying on cloud-based       \n",
-       "  services, addressing privacy and compliance concerns.                       \n",
-       "  ([upliftedstories.com](https://upliftedstories.com/2023/11/06/startups-tha  \n",
-       "  caught-our-eyes-in-october-2023/?utm_source=openai))\\n\\n**Industry          \n",
-       "  Trends:**\\n\\nThe AI sector continued to attract significant investments,    \n",
-       "  with startups focusing on diverse applications ranging from generative AI   \n",
-       "  and hardware acceleration to industry-specific solutions. The trend of      \n",
-       "  substantial funding rounds and strategic partnerships underscores the       \n",
-       "  growing importance and rapid evolution of AI technologies across various    \n",
-       "  industries.\\n\\n\\n## Key AI Startup Developments in October 2023:\\n- [AI     \n",
-       "  startup funding more than doubles in Q2, Crunchbase data                    \n",
-       "  shows](https://www.reuters.com/technology/artificial-intelligence/ai-start  \n",
-       "  -funding-more-than-doubles-q2-crunchbase-data-shows-2024-07-09/?utm_source  \n",
-       "  penai)\\n- [Exclusive: Redactive AI raises $7.5M seed                        \n",
-       "  round](https://www.axios.com/2024/07/02/exclusive-redactive-ai-75m-felicis  \n",
-       "  lackbird?utm_source=openai)\\n- [AI startup Etched raises $120 million to    \n",
-       "  develop specialized                                                         \n",
-       "  chip](https://www.reuters.com/technology/artificial-intelligence/ai-startu  \n",
-       "  etched-raises-120-million-develop-specialized-chip-2024-06-25/?utm_source=  \n",
-       "  enai) \",                                                                    \n",
-       "    \"annotations\": null,                                                      \n",
-       "    \"meta\": null                                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:13] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", - "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, the AI startup landscape witnessed significant\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelopments, including substantial funding rounds, strategic partnerships\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand innovative product launches. Here are some of the notable \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mhighlights:\\n\\n**Major Funding Rounds:**\\n\\n- **Mistral AI:** The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mParis-based generative AI startup, co-founded by former researchers from \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mMeta Platforms and Alphabet, raised \\u20ac385 million in October 2023. Thi\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfunding aimed to position Mistral AI as Europe's counterpart to OpenAI. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n- **Perplexity:** Specializing in conversational AI search engines\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mPerplexity secured new funding led by venture capital firm IVP, elevating \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mits valuation to $500 million. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([techstartups.com](https://techstartups.com/2023/10/24/?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n- **EdgeCortix:** The Tokyo-based AI hardware company raised $20 milli\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34min a funding round led by SBI Investment and Global Hands-On VC. EdgeCorti\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfocuses on scalable, run-time reconfigurable neural network processor IP f\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34medge inference. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([semiengineering.com](https://semiengineering.com/startup-funding-october\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m023/?utm_source=openai))\\n\\n- **Lemurian Labs:** This Toronto-based startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdeveloping hardware and software accelerated computing platforms for AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mapplications secured $9 million in seed funding. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([semiengineering.com](https://semiengineering.com/startup-funding-october\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m023/?utm_source=openai))\\n\\n**Strategic Partnerships and \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAcquisitions:**\\n\\n- **Flatfile's Acquisition of ChatCSV:** Denver-based \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFlatfile acquired ChatCSV, an AI startup known for its AI chat app used by\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganizations like P&G and McKinsey. This acquisition aims to enhance \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFlatfile's AI-powered data exchange platform. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n- **WasteVision AI and Keymakr Collaboration:** Announced on October 6\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m2023, WasteVision AI partnered with Keymakr to revolutionize waste \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmanagement through technological advancements, focusing on innovative \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msolutions for waste sorting and detection. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi-news-during-september-and-october?utm_source=openai))\\n\\n**Product \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mLaunches and Innovations:**\\n\\n- **Qwak's Vector Store:** On September 28,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m2023, Israeli MLOps startup Qwak unveiled its Vector Store, a feature \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdesigned to transform how data science teams manage vector storage, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mretrieval, and embedding operations, streamlining these processes. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([hackernoon.com](https://hackernoon.com/jasper-lowers-valuation-and-other\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi-news-during-september-and-october?utm_source=openai))\\n\\n- **Giga ML's \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mOn-Premise LLMs:** Bengaluru-based Giga ML introduced on-premise deploymen\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand fine-tuning services for large language models (LLMs), allowing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menterprises to utilize LLMs internally without relying on cloud-based \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mservices, addressing privacy and compliance concerns. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([upliftedstories.com](https://upliftedstories.com/2023/11/06/startups-tha\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcaught-our-eyes-in-october-2023/?utm_source=openai))\\n\\n**Industry \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mTrends:**\\n\\nThe AI sector continued to attract significant investments, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mwith startups focusing on diverse applications ranging from generative AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand hardware acceleration to industry-specific solutions. The trend of \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msubstantial funding rounds and strategic partnerships underscores the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mgrowing importance and rapid evolution of AI technologies across various \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mindustries.\\n\\n\\n## Key AI Startup Developments in October 2023:\\n- [AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartup funding more than doubles in Q2, Crunchbase data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mshows](https://www.reuters.com/technology/artificial-intelligence/ai-start\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m-funding-more-than-doubles-q2-crunchbase-data-shows-2024-07-09/?utm_source\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mpenai)\\n- [Exclusive: Redactive AI raises $7.5M seed \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround](https://www.axios.com/2024/07/02/exclusive-redactive-ai-75m-felicis\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlackbird?utm_source=openai)\\n- [AI startup Etched raises $120 million to \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdevelop specialized \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mchip](https://www.reuters.com/technology/artificial-intelligence/ai-startu\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34metched-raises-120-million-develop-specialized-chip-2024-06-25/?utm_source=\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34menai) \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:22] ─────────────────────────╮\n",
-       " 🔧 Tool Request: web_search                                                  \n",
-       "                                                                              \n",
-       " Arguments:                                                                   \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"input\": \"AI startup acquisitions October 2023\",                          \n",
-       "    \"model\": \"gpt-4o\",                                                        \n",
-       "    \"type\": \"web_search_preview\"                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:22] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", - "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"AI startup acquisitions October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:22] ─────────────────────────╮\n",
-       "Tool Response: web_search                                                 \n",
-       "                                                                              \n",
-       " Response:                                                                    \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"In October 2023, several notable acquisitions occurred in the A  \n",
-       "  startup sector:\\n\\n1. **Databricks Acquires Arcion**: Databricks, a data    \n",
-       "  analytics company, acquired Arcion, a data replication startup, for $100    \n",
-       "  million. This marked Databricks' first acquisition since purchasing         \n",
-       "  MosaicML, an AI infrastructure startup specializing in training large       \n",
-       "  language models.                                                            \n",
-       "  ([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open  \n",
-       "  ))\\n\\n2. **Simpplr Acquires Socrates.ai**: Simpplr, an employee experience  \n",
-       "  platform based in Redwood City, CA, acquired Socrates.ai, a generative      \n",
-       "  AI-powered virtual employee assistant. The acquisition aims to expand       \n",
-       "  Simpplr's strategic presence, with Socrates.ai becoming an integral part o  \n",
-       "  its digital workplace solutions. The financial terms were not disclosed.    \n",
-       "  ([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open  \n",
-       "  ))\\n\\n3. **Flatfile Acquires ChatCSV**: Denver-based startup Flatfile       \n",
-       "  acquired ChatCSV, an AI startup known for its AI chat app used by           \n",
-       "  organizations like P&G, McKinsey, Zapier, Quora, and Vimeo. The acquisitio  \n",
-       "  is expected to enhance Flatfile's AI-powered data exchange platform. The    \n",
-       "  financial details were not disclosed.                                       \n",
-       "  ([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai  \n",
-       "  \\n\\n4. **AMD Acquires Nod.ai**: In October, AMD acquired Nod.ai to enhance  \n",
-       "  its AI software performance. The financial terms of the deal were not       \n",
-       "  disclosed.                                                                  \n",
-       "  ([damor.dev](https://damor.dev/top-ai-acquisitions-of-2023/?utm_source=ope  \n",
-       "  i))\\n\\nThese acquisitions reflect the ongoing trend of larger tech compani  \n",
-       "  integrating AI capabilities to enhance their product offerings and maintai  \n",
-       "  competitive advantages. \",                                                  \n",
-       "    \"annotations\": null,                                                      \n",
-       "    \"meta\": null                                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:22] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", - "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, several notable acquisitions occurred in the A\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartup sector:\\n\\n1. **Databricks Acquires Arcion**: Databricks, a data \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34manalytics company, acquired Arcion, a data replication startup, for $100 \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmillion. This marked Databricks' first acquisition since purchasing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mMosaicML, an AI infrastructure startup specializing in training large \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mlanguage models. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m))\\n\\n2. **Simpplr Acquires Socrates.ai**: Simpplr, an employee experience\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mplatform based in Redwood City, CA, acquired Socrates.ai, a generative \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI-powered virtual employee assistant. The acquisition aims to expand \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSimpplr's strategic presence, with Socrates.ai becoming an integral part o\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mits digital workplace solutions. The financial terms were not disclosed. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([esofund.com](https://www.esofund.com/blog/october-top-10?utm_source=open\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m))\\n\\n3. **Flatfile Acquires ChatCSV**: Denver-based startup Flatfile \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34macquired ChatCSV, an AI startup known for its AI chat app used by \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34morganizations like P&G, McKinsey, Zapier, Quora, and Vimeo. The acquisitio\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mis expected to enhance Flatfile's AI-powered data exchange platform. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfinancial details were not disclosed. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([techstartups.com](https://techstartups.com/2023/10/17/?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\n4. **AMD Acquires Nod.ai**: In October, AMD acquired Nod.ai to enhance\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mits AI software performance. The financial terms of the deal were not \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdisclosed. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([damor.dev](https://damor.dev/top-ai-acquisitions-of-2023/?utm_source=ope\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mi))\\n\\nThese acquisitions reflect the ongoing trend of larger tech compani\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mintegrating AI capabilities to enhance their product offerings and maintai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompetitive advantages. \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:29] ─────────────────────────╮\n",
-       " 🔧 Tool Request: web_search                                                  \n",
-       "                                                                              \n",
-       " Arguments:                                                                   \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"input\": \"AI startup failures October 2023\",                              \n",
-       "    \"model\": \"gpt-4o\",                                                        \n",
-       "    \"type\": \"web_search_preview\"                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:29] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", - "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"AI startup failures October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:29] ─────────────────────────╮\n",
-       "Tool Response: web_search                                                 \n",
-       "                                                                              \n",
-       " Response:                                                                    \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"In October 2023, several AI startups faced significant challeng  \n",
-       "  leading to their closures. Notable examples include:\\n\\n**Olive AI**:       \n",
-       "  Founded in 2012, Olive AI aimed to revolutionize healthcare through         \n",
-       "  automation. Despite raising approximately $902 million and achieving a      \n",
-       "  valuation of $4 billion by 2021, the company struggled with rapid growth a  \n",
-       "  strategic missteps. These issues led to multiple layoffs and, ultimately,   \n",
-       "  the cessation of operations in October 2023.                                \n",
-       "  ([aimresearch.co](https://aimresearch.co/market-industry/big-players-misst  \n",
-       "  s-of-turning-billion-dollar-startups-to-failures?utm_source=openai))\\n\\n**  \n",
-       "  tifact**: Launched in February 2023 by Instagram co-founders Kevin Systrom  \n",
-       "  and Mike Krieger, Artifact was an AI-driven news app designed to personali  \n",
-       "  news curation. Despite an initial surge of 100,000 downloads, user          \n",
-       "  engagement declined, with only 12,000 new installs by October 2023. The     \n",
-       "  app's expansion into additional features diluted its core value propositio  \n",
-       "  leading to its shutdown.                                                    \n",
-       "  ([newsletter.failory.com](https://newsletter.failory.com/p/2024-s-biggest-  \n",
-       "  artup-crashes?utm_source=openai))\\n\\nThese cases highlight the challenges   \n",
-       "  startups can face, including rapid scaling, market demand misalignment, an  \n",
-       "  the complexities of integrating AI into practical applications. \",          \n",
-       "    \"annotations\": null,                                                      \n",
-       "    \"meta\": null                                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:29] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", - "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, several AI startups faced significant challeng\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mleading to their closures. Notable examples include:\\n\\n**Olive AI**: \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mFounded in 2012, Olive AI aimed to revolutionize healthcare through \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mautomation. Despite raising approximately $902 million and achieving a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mvaluation of $4 billion by 2021, the company struggled with rapid growth a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstrategic missteps. These issues led to multiple layoffs and, ultimately, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe cessation of operations in October 2023. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([aimresearch.co](https://aimresearch.co/market-industry/big-players-misst\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34ms-of-turning-billion-dollar-startups-to-failures?utm_source=openai))\\n\\n**\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtifact**: Launched in February 2023 by Instagram co-founders Kevin Systrom\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mand Mike Krieger, Artifact was an AI-driven news app designed to personali\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mnews curation. Despite an initial surge of 100,000 downloads, user \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mengagement declined, with only 12,000 new installs by October 2023. The \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mapp's expansion into additional features diluted its core value propositio\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mleading to its shutdown. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([newsletter.failory.com](https://newsletter.failory.com/p/2024-s-biggest-\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34martup-crashes?utm_source=openai))\\n\\nThese cases highlight the challenges \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mstartups can face, including rapid scaling, market demand misalignment, an\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mthe complexities of integrating AI into practical applications. \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:41] ─────────────────────────╮\n",
-       " 🔧 Tool Request: web_search                                                  \n",
-       "                                                                              \n",
-       " Arguments:                                                                   \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"input\": \"successful AI startups October 2023\",                           \n",
-       "    \"model\": \"gpt-4o\",                                                        \n",
-       "    \"type\": \"web_search_preview\"                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[33m╭─\u001b[0m\u001b[33m───────────────────────\u001b[0m\u001b[33m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[33m [07/28/2025 04:05:41] \u001b[0m\u001b[33m────────────────────────\u001b[0m\u001b[33m─╮\u001b[0m\n", - "\u001b[33m│\u001b[0m 🔧 \u001b[1mTool Request: web_search\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[1mArguments:\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"input\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"successful AI startups October 2023\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"model\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"gpt-4o\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"web_search_preview\"\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[33m│\u001b[0m\n", - "\u001b[33m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - " \r" - ] - }, - { - "data": { - "text/html": [ - "
╭──────────────────────── AGENT [07/28/2025 04:05:41] ─────────────────────────╮\n",
-       "Tool Response: web_search                                                 \n",
-       "                                                                              \n",
-       " Response:                                                                    \n",
-       "                                                                              \n",
-       "                                                                              \n",
-       "  {                                                                           \n",
-       "    \"type\": \"text\",                                                           \n",
-       "    \"text\": \"In October 2023, several AI startups achieved significant        \n",
-       "  milestones, reflecting the dynamic growth in the artificial intelligence    \n",
-       "  sector. Notable examples include:\\n\\n**Mistral AI**: A French AI startup    \n",
-       "  specializing in open-weight large language models. In October 2023, Mistra  \n",
-       "  AI raised \\u20ac385 million ($428 million) in a funding round led by        \n",
-       "  Andreessen Horowitz, BNP Paribas, and Salesforce, valuing the company at    \n",
-       "  over $2 billion.                                                            \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op  \n",
-       "  ai))\\n\\n**Unitary**: A UK-based company focused on AI-driven content        \n",
-       "  moderation. In October 2023, Unitary secured a $15 million Series A fundin  \n",
-       "  round led by Creandum, with participation from Paladin Capital and Plural.  \n",
-       "  Their AI system processes six million videos daily, enhancing online safet  \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Unitary_%28company%29?ut  \n",
-       "  source=openai))\\n\\n**Neurons**: Based in Denmark, Neurons provides AI       \n",
-       "  solutions to optimize advertisements and increase conversions. By October   \n",
-       "  2023, the company had an annual revenue of \\u20ac4 million and plans to     \n",
-       "  secure \\u20ac10 million in funding, with \\u20ac5 million already committed  \n",
-       "  Investors include Fairpoint Capital and EIFO.                               \n",
-       "  ([vestbee.com](https://www.vestbee.com/blog/articles/startups-of-the-month  \n",
-       "  ctober-2023?utm_source=openai))\\n\\n**Neysa**: An Indian startup offering a  \n",
-       "  cloud platform for AI acceleration and high-performance computing           \n",
-       "  infrastructure. In October 2023, Neysa raised $30 million in a funding rou  \n",
-       "  led by NTTVC, Z47, and Nexus Venture Partners, bringing its total funding   \n",
-       "  $50 million.                                                                \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)  \n",
-       "  n\\n**Imbue**: Formerly known as Generally Intelligent, Imbue focuses on     \n",
-       "  developing AI systems with reasoning capabilities. In October 2023, the     \n",
-       "  company secured an additional $12 million from Amazon\\u2019s Alexa Fund an  \n",
-       "  former Google CEO Eric Schmidt, following a $200 million Series B funding   \n",
-       "  September.                                                                  \n",
-       "  ([iguides.org](https://www.iguides.org/top-ai-startups/?utm_source=openai)  \n",
-       "  n\\n**Cohere**: Specializing in large language models for enterprise AI,     \n",
-       "  Cohere's technology is embedded into products from companies like Oracle a  \n",
-       "  Salesforce. In 2023, Cohere was valued at about $2 billion following a      \n",
-       "  funding round.                                                              \n",
-       "  ([en.wikipedia.org](https://en.wikipedia.org/wiki/Cohere?utm_source=openai  \n",
-       "  \\n\\nThese developments underscore the rapid advancement and investment in   \n",
-       "  technologies during that period. \",                                         \n",
-       "    \"annotations\": null,                                                      \n",
-       "    \"meta\": null                                                              \n",
-       "  }                                                                           \n",
-       "                                                                              \n",
-       "╰──────────────────────────────────────────────────────────────────────────────╯\n",
-       "
\n" - ], - "text/plain": [ - "\u001b[92m╭─\u001b[0m\u001b[92m───────────────────────\u001b[0m\u001b[92m \u001b[0m\u001b[1;32mAGENT\u001b[0m\u001b[92m [07/28/2025 04:05:41] \u001b[0m\u001b[92m────────────────────────\u001b[0m\u001b[92m─╮\u001b[0m\n", - "\u001b[92m│\u001b[0m ✅ \u001b[1mTool Response: web_search\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[1mResponse:\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m{\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"type\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"text\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\"In October 2023, several AI startups achieved significant \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmilestones, reflecting the dynamic growth in the artificial intelligence \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msector. Notable examples include:\\n\\n**Mistral AI**: A French AI startup \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mspecializing in open-weight large language models. In October 2023, Mistra\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAI raised \\u20ac385 million ($428 million) in a funding round led by \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mAndreessen Horowitz, BNP Paribas, and Salesforce, valuing the company at \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mover $2 billion. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Mistral_AI?utm_source=op\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mai))\\n\\n**Unitary**: A UK-based company focused on AI-driven content \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mmoderation. In October 2023, Unitary secured a $15 million Series A fundin\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mround led by Creandum, with participation from Paladin Capital and Plural.\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mTheir AI system processes six million videos daily, enhancing online safet\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Unitary_%28company%29?ut\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msource=openai))\\n\\n**Neurons**: Based in Denmark, Neurons provides AI \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msolutions to optimize advertisements and increase conversions. By October \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m2023, the company had an annual revenue of \\u20ac4 million and plans to \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34msecure \\u20ac10 million in funding, with \\u20ac5 million already committed\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mInvestors include Fairpoint Capital and EIFO. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([vestbee.com](https://www.vestbee.com/blog/articles/startups-of-the-month\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mctober-2023?utm_source=openai))\\n\\n**Neysa**: An Indian startup offering a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcloud platform for AI acceleration and high-performance computing \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34minfrastructure. In October 2023, Neysa raised $30 million in a funding rou\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mled by NTTVC, Z47, and Nexus Venture Partners, bringing its total funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m$50 million. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Neysa?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n**Imbue**: Formerly known as Generally Intelligent, Imbue focuses on \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mdeveloping AI systems with reasoning capabilities. In October 2023, the \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mcompany secured an additional $12 million from Amazon\\u2019s Alexa Fund an\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mformer Google CEO Eric Schmidt, following a $200 million Series B funding \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSeptember. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([iguides.org](https://www.iguides.org/top-ai-startups/?utm_source=openai)\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mn\\n**Cohere**: Specializing in large language models for enterprise AI, \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mCohere's technology is embedded into products from companies like Oracle a\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mSalesforce. In 2023, Cohere was valued at about $2 billion following a \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mfunding round. \u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m([en.wikipedia.org](https://en.wikipedia.org/wiki/Cohere?utm_source=openai\u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34m\\n\\nThese developments underscore the rapid advancement and investment in \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;230;219;116;48;2;39;40;34mtechnologies during that period. \"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"annotations\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m,\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;255;70;137;48;2;39;40;34m\"meta\"\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m:\u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m \u001b[0m\u001b[38;2;102;217;239;48;2;39;40;34mnull\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m\u001b[38;2;248;248;242;48;2;39;40;34m}\u001b[0m\u001b[48;2;39;40;34m \u001b[0m\u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m│\u001b[0m \u001b[48;2;39;40;34m \u001b[0m \u001b[92m│\u001b[0m\n", - "\u001b[92m╰──────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "ename": "KeyboardInterrupt", - "evalue": "", - "output_type": "error", - "traceback": [ - "\u001b[31m---------------------------------------------------------------------------\u001b[39m", - "\u001b[31mKeyboardInterrupt\u001b[39m Traceback (most recent call last)", - "\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[7]\u001b[39m\u001b[32m, line 4\u001b[39m\n\u001b[32m 1\u001b[39m \u001b[38;5;66;03m# Subscribe to the async task messages produced by the agent\u001b[39;00m\n\u001b[32m 2\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34;01magentex\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mlib\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mutils\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mdev_tools\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m subscribe_to_async_task_messages\n\u001b[32m----> \u001b[39m\u001b[32m4\u001b[39m task_messages = \u001b[43msubscribe_to_async_task_messages\u001b[49m\u001b[43m(\u001b[49m\n\u001b[32m 5\u001b[39m \u001b[43m \u001b[49m\u001b[43mclient\u001b[49m\u001b[43m=\u001b[49m\u001b[43mclient\u001b[49m\u001b[43m,\u001b[49m\n\u001b[32m 6\u001b[39m \u001b[43m \u001b[49m\u001b[43mtask\u001b[49m\u001b[43m=\u001b[49m\u001b[43mtask\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\n\u001b[32m 7\u001b[39m \u001b[43m \u001b[49m\u001b[43monly_after_timestamp\u001b[49m\u001b[43m=\u001b[49m\u001b[43mevent\u001b[49m\u001b[43m.\u001b[49m\u001b[43mcreated_at\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\n\u001b[32m 8\u001b[39m \u001b[43m \u001b[49m\u001b[43mprint_messages\u001b[49m\u001b[43m=\u001b[49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[32m 9\u001b[39m \u001b[43m \u001b[49m\u001b[43mrich_print\u001b[49m\u001b[43m=\u001b[49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[32m 10\u001b[39m \u001b[43m \u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m=\u001b[49m\u001b[32;43m30\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;66;43;03m# Notice the longer timeout to give time for the agent to respond\u001b[39;49;00m\n\u001b[32m 11\u001b[39m \u001b[43m)\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/src/agentex/lib/utils/dev_tools/async_messages.py:293\u001b[39m, in \u001b[36msubscribe_to_async_task_messages\u001b[39m\u001b[34m(client, task, only_after_timestamp, print_messages, rich_print, timeout)\u001b[39m\n\u001b[32m 287\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m client.tasks.with_streaming_response.stream_events_by_name(\n\u001b[32m 288\u001b[39m task_name=task.name,\n\u001b[32m 289\u001b[39m timeout=timeout\n\u001b[32m 290\u001b[39m ) \u001b[38;5;28;01mas\u001b[39;00m response:\n\u001b[32m 292\u001b[39m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[32m--> \u001b[39m\u001b[32m293\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mtask_message_update_str\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mresponse\u001b[49m\u001b[43m.\u001b[49m\u001b[43miter_text\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 294\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mtry\u001b[39;49;00m\u001b[43m:\u001b[49m\n\u001b[32m 295\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;66;43;03m# Parse SSE format \u001b[39;49;00m\n\u001b[32m 296\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mif\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mtask_message_update_str\u001b[49m\u001b[43m.\u001b[49m\u001b[43mstrip\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m.\u001b[49m\u001b[43mstartswith\u001b[49m\u001b[43m(\u001b[49m\u001b[33;43m'\u001b[39;49m\u001b[33;43mdata: \u001b[39;49m\u001b[33;43m'\u001b[39;49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/src/agentex/_response.py:363\u001b[39m, in \u001b[36mAPIResponse.iter_text\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 358\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34miter_text\u001b[39m(\u001b[38;5;28mself\u001b[39m, chunk_size: \u001b[38;5;28mint\u001b[39m | \u001b[38;5;28;01mNone\u001b[39;00m = \u001b[38;5;28;01mNone\u001b[39;00m) -> Iterator[\u001b[38;5;28mstr\u001b[39m]:\n\u001b[32m 359\u001b[39m \u001b[38;5;250m \u001b[39m\u001b[33;03m\"\"\"A str-iterator over the decoded response content\u001b[39;00m\n\u001b[32m 360\u001b[39m \u001b[33;03m that handles both gzip, deflate, etc but also detects the content's\u001b[39;00m\n\u001b[32m 361\u001b[39m \u001b[33;03m string encoding.\u001b[39;00m\n\u001b[32m 362\u001b[39m \u001b[33;03m \"\"\"\u001b[39;00m\n\u001b[32m--> \u001b[39m\u001b[32m363\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mhttp_response\u001b[49m\u001b[43m.\u001b[49m\u001b[43miter_text\u001b[49m\u001b[43m(\u001b[49m\u001b[43mchunk_size\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 364\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_models.py:850\u001b[39m, in \u001b[36mResponse.iter_text\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 848\u001b[39m chunker = TextChunker(chunk_size=chunk_size)\n\u001b[32m 849\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m request_context(request=\u001b[38;5;28mself\u001b[39m._request):\n\u001b[32m--> \u001b[39m\u001b[32m850\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mbyte_content\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43miter_bytes\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 851\u001b[39m \u001b[43m \u001b[49m\u001b[43mtext_content\u001b[49m\u001b[43m \u001b[49m\u001b[43m=\u001b[49m\u001b[43m \u001b[49m\u001b[43mdecoder\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mbyte_content\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 852\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunker\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtext_content\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_models.py:831\u001b[39m, in \u001b[36mResponse.iter_bytes\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 829\u001b[39m chunker = ByteChunker(chunk_size=chunk_size)\n\u001b[32m 830\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m request_context(request=\u001b[38;5;28mself\u001b[39m._request):\n\u001b[32m--> \u001b[39m\u001b[32m831\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mraw_bytes\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43miter_raw\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 832\u001b[39m \u001b[43m \u001b[49m\u001b[43mdecoded\u001b[49m\u001b[43m \u001b[49m\u001b[43m=\u001b[49m\u001b[43m \u001b[49m\u001b[43mdecoder\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mraw_bytes\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 833\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunker\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mdecoded\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_models.py:885\u001b[39m, in \u001b[36mResponse.iter_raw\u001b[39m\u001b[34m(self, chunk_size)\u001b[39m\n\u001b[32m 882\u001b[39m chunker = ByteChunker(chunk_size=chunk_size)\n\u001b[32m 884\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m request_context(request=\u001b[38;5;28mself\u001b[39m._request):\n\u001b[32m--> \u001b[39m\u001b[32m885\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mraw_stream_bytes\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mstream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 886\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_num_bytes_downloaded\u001b[49m\u001b[43m \u001b[49m\u001b[43m+\u001b[49m\u001b[43m=\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43mlen\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mraw_stream_bytes\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 887\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunker\u001b[49m\u001b[43m.\u001b[49m\u001b[43mdecode\u001b[49m\u001b[43m(\u001b[49m\u001b[43mraw_stream_bytes\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_client.py:127\u001b[39m, in \u001b[36mBoundSyncStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 126\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__iter__\u001b[39m(\u001b[38;5;28mself\u001b[39m) -> typing.Iterator[\u001b[38;5;28mbytes\u001b[39m]:\n\u001b[32m--> \u001b[39m\u001b[32m127\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_stream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 128\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpx/_transports/default.py:116\u001b[39m, in \u001b[36mResponseStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 114\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__iter__\u001b[39m(\u001b[38;5;28mself\u001b[39m) -> typing.Iterator[\u001b[38;5;28mbytes\u001b[39m]:\n\u001b[32m 115\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m map_httpcore_exceptions():\n\u001b[32m--> \u001b[39m\u001b[32m116\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_httpcore_stream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 117\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py:407\u001b[39m, in \u001b[36mPoolByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 405\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[32m 406\u001b[39m \u001b[38;5;28mself\u001b[39m.close()\n\u001b[32m--> \u001b[39m\u001b[32m407\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m exc \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py:403\u001b[39m, in \u001b[36mPoolByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 401\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34m__iter__\u001b[39m(\u001b[38;5;28mself\u001b[39m) -> typing.Iterator[\u001b[38;5;28mbytes\u001b[39m]:\n\u001b[32m 402\u001b[39m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[32m--> \u001b[39m\u001b[32m403\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_stream\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 404\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mpart\u001b[49m\n\u001b[32m 405\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:342\u001b[39m, in \u001b[36mHTTP11ConnectionByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 340\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m ShieldCancellation():\n\u001b[32m 341\u001b[39m \u001b[38;5;28mself\u001b[39m.close()\n\u001b[32m--> \u001b[39m\u001b[32m342\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m exc\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:334\u001b[39m, in \u001b[36mHTTP11ConnectionByteStream.__iter__\u001b[39m\u001b[34m(self)\u001b[39m\n\u001b[32m 332\u001b[39m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[32m 333\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m Trace(\u001b[33m\"\u001b[39m\u001b[33mreceive_response_body\u001b[39m\u001b[33m\"\u001b[39m, logger, \u001b[38;5;28mself\u001b[39m._request, kwargs):\n\u001b[32m--> \u001b[39m\u001b[32m334\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01mfor\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;129;43;01min\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_connection\u001b[49m\u001b[43m.\u001b[49m\u001b[43m_receive_response_body\u001b[49m\u001b[43m(\u001b[49m\u001b[43m*\u001b[49m\u001b[43m*\u001b[49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\u001b[43m:\u001b[49m\n\u001b[32m 335\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43;01myield\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mchunk\u001b[49m\n\u001b[32m 336\u001b[39m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[32m 337\u001b[39m \u001b[38;5;66;03m# If we get an exception while streaming the response,\u001b[39;00m\n\u001b[32m 338\u001b[39m \u001b[38;5;66;03m# we want to close the response (and possibly the connection)\u001b[39;00m\n\u001b[32m 339\u001b[39m \u001b[38;5;66;03m# before raising that exception.\u001b[39;00m\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:203\u001b[39m, in \u001b[36mHTTP11Connection._receive_response_body\u001b[39m\u001b[34m(self, request)\u001b[39m\n\u001b[32m 200\u001b[39m timeout = timeouts.get(\u001b[33m\"\u001b[39m\u001b[33mread\u001b[39m\u001b[33m\"\u001b[39m, \u001b[38;5;28;01mNone\u001b[39;00m)\n\u001b[32m 202\u001b[39m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28;01mTrue\u001b[39;00m:\n\u001b[32m--> \u001b[39m\u001b[32m203\u001b[39m event = \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_receive_event\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m=\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 204\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(event, h11.Data):\n\u001b[32m 205\u001b[39m \u001b[38;5;28;01myield\u001b[39;00m \u001b[38;5;28mbytes\u001b[39m(event.data)\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py:217\u001b[39m, in \u001b[36mHTTP11Connection._receive_event\u001b[39m\u001b[34m(self, timeout)\u001b[39m\n\u001b[32m 214\u001b[39m event = \u001b[38;5;28mself\u001b[39m._h11_state.next_event()\n\u001b[32m 216\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m event \u001b[38;5;129;01mis\u001b[39;00m h11.NEED_DATA:\n\u001b[32m--> \u001b[39m\u001b[32m217\u001b[39m data = \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_network_stream\u001b[49m\u001b[43m.\u001b[49m\u001b[43mread\u001b[49m\u001b[43m(\u001b[49m\n\u001b[32m 218\u001b[39m \u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43mREAD_NUM_BYTES\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m=\u001b[49m\u001b[43mtimeout\u001b[49m\n\u001b[32m 219\u001b[39m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[32m 221\u001b[39m \u001b[38;5;66;03m# If we feed this case through h11 we'll raise an exception like:\u001b[39;00m\n\u001b[32m 222\u001b[39m \u001b[38;5;66;03m#\u001b[39;00m\n\u001b[32m 223\u001b[39m \u001b[38;5;66;03m# httpcore.RemoteProtocolError: can't handle event type\u001b[39;00m\n\u001b[32m (...)\u001b[39m\u001b[32m 227\u001b[39m \u001b[38;5;66;03m# perspective. Instead we handle this case distinctly and treat\u001b[39;00m\n\u001b[32m 228\u001b[39m \u001b[38;5;66;03m# it as a ConnectError.\u001b[39;00m\n\u001b[32m 229\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m data == \u001b[33mb\u001b[39m\u001b[33m\"\u001b[39m\u001b[33m\"\u001b[39m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mself\u001b[39m._h11_state.their_state == h11.SEND_RESPONSE:\n", - "\u001b[36mFile \u001b[39m\u001b[32m~/code/agentex-python/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py:128\u001b[39m, in \u001b[36mSyncStream.read\u001b[39m\u001b[34m(self, max_bytes, timeout)\u001b[39m\n\u001b[32m 126\u001b[39m \u001b[38;5;28;01mwith\u001b[39;00m map_exceptions(exc_map):\n\u001b[32m 127\u001b[39m \u001b[38;5;28mself\u001b[39m._sock.settimeout(timeout)\n\u001b[32m--> \u001b[39m\u001b[32m128\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[43m.\u001b[49m\u001b[43m_sock\u001b[49m\u001b[43m.\u001b[49m\u001b[43mrecv\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmax_bytes\u001b[49m\u001b[43m)\u001b[49m\n", - "\u001b[31mKeyboardInterrupt\u001b[39m: " - ] - } - ], + "outputs": [], "source": [ "# Subscribe to the async task messages produced by the agent\n", "from agentex.lib.utils.dev_tools import subscribe_to_async_task_messages\n", @@ -914,7 +137,7 @@ { "cell_type": "code", "execution_count": null, - "id": "06e876a1", + "id": "7", "metadata": {}, "outputs": [], "source": []