autobyteus 1.2.0__py3-none-any.whl → 1.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- autobyteus/agent/context/agent_runtime_state.py +4 -0
- autobyteus/agent/events/notifiers.py +5 -1
- autobyteus/agent/message/send_message_to.py +5 -4
- autobyteus/agent/streaming/agent_event_stream.py +5 -0
- autobyteus/agent/streaming/stream_event_payloads.py +25 -0
- autobyteus/agent/streaming/stream_events.py +13 -1
- autobyteus/agent_team/bootstrap_steps/task_notifier_initialization_step.py +4 -4
- autobyteus/agent_team/bootstrap_steps/team_context_initialization_step.py +12 -12
- autobyteus/agent_team/context/agent_team_runtime_state.py +2 -2
- autobyteus/agent_team/streaming/agent_team_event_notifier.py +4 -4
- autobyteus/agent_team/streaming/agent_team_stream_event_payloads.py +3 -3
- autobyteus/agent_team/streaming/agent_team_stream_events.py +8 -8
- autobyteus/agent_team/task_notification/activation_policy.py +1 -1
- autobyteus/agent_team/task_notification/system_event_driven_agent_task_notifier.py +22 -22
- autobyteus/agent_team/task_notification/task_notification_mode.py +1 -1
- autobyteus/cli/agent_team_tui/app.py +4 -4
- autobyteus/cli/agent_team_tui/state.py +8 -8
- autobyteus/cli/agent_team_tui/widgets/focus_pane.py +3 -3
- autobyteus/cli/agent_team_tui/widgets/shared.py +1 -1
- autobyteus/cli/agent_team_tui/widgets/{task_board_panel.py → task_plan_panel.py} +5 -5
- autobyteus/events/event_types.py +4 -3
- autobyteus/multimedia/audio/api/__init__.py +3 -2
- autobyteus/multimedia/audio/api/openai_audio_client.py +112 -0
- autobyteus/multimedia/audio/audio_client_factory.py +37 -0
- autobyteus/multimedia/image/image_client_factory.py +1 -1
- autobyteus/task_management/__init__.py +43 -20
- autobyteus/task_management/{base_task_board.py → base_task_plan.py} +16 -13
- autobyteus/task_management/converters/__init__.py +2 -2
- autobyteus/task_management/converters/{task_board_converter.py → task_plan_converter.py} +13 -13
- autobyteus/task_management/events.py +7 -7
- autobyteus/task_management/{in_memory_task_board.py → in_memory_task_plan.py} +34 -22
- autobyteus/task_management/schemas/__init__.py +3 -0
- autobyteus/task_management/schemas/task_status_report.py +2 -2
- autobyteus/task_management/schemas/todo_definition.py +15 -0
- autobyteus/task_management/todo.py +29 -0
- autobyteus/task_management/todo_list.py +75 -0
- autobyteus/task_management/tools/__init__.py +24 -8
- autobyteus/task_management/tools/task_tools/__init__.py +19 -0
- autobyteus/task_management/tools/{assign_task_to.py → task_tools/assign_task_to.py} +18 -18
- autobyteus/task_management/tools/{publish_task.py → task_tools/create_task.py} +16 -18
- autobyteus/task_management/tools/{publish_tasks.py → task_tools/create_tasks.py} +19 -19
- autobyteus/task_management/tools/{get_my_tasks.py → task_tools/get_my_tasks.py} +15 -15
- autobyteus/task_management/tools/{get_task_board_status.py → task_tools/get_task_plan_status.py} +16 -16
- autobyteus/task_management/tools/{update_task_status.py → task_tools/update_task_status.py} +16 -16
- autobyteus/task_management/tools/todo_tools/__init__.py +18 -0
- autobyteus/task_management/tools/todo_tools/add_todo.py +78 -0
- autobyteus/task_management/tools/todo_tools/create_todo_list.py +79 -0
- autobyteus/task_management/tools/todo_tools/get_todo_list.py +55 -0
- autobyteus/task_management/tools/todo_tools/update_todo_status.py +85 -0
- autobyteus/tools/__init__.py +15 -11
- autobyteus/tools/bash/bash_executor.py +3 -3
- autobyteus/tools/browser/session_aware/browser_session_aware_navigate_to.py +5 -5
- autobyteus/tools/browser/session_aware/browser_session_aware_web_element_trigger.py +4 -4
- autobyteus/tools/browser/session_aware/browser_session_aware_webpage_reader.py +3 -3
- autobyteus/tools/browser/session_aware/browser_session_aware_webpage_screenshot_taker.py +3 -3
- autobyteus/tools/browser/standalone/navigate_to.py +13 -9
- autobyteus/tools/browser/standalone/web_page_pdf_generator.py +9 -5
- autobyteus/tools/browser/standalone/webpage_image_downloader.py +10 -6
- autobyteus/tools/browser/standalone/webpage_reader.py +13 -9
- autobyteus/tools/browser/standalone/webpage_screenshot_taker.py +9 -5
- autobyteus/tools/file/__init__.py +13 -0
- autobyteus/tools/file/{file_editor.py → edit_file.py} +11 -11
- autobyteus/tools/file/list_directory.py +168 -0
- autobyteus/tools/file/{file_reader.py → read_file.py} +3 -3
- autobyteus/tools/file/search_files.py +188 -0
- autobyteus/tools/file/{file_writer.py → write_file.py} +3 -3
- autobyteus/tools/functional_tool.py +10 -8
- autobyteus/tools/mcp/tool.py +3 -3
- autobyteus/tools/mcp/tool_registrar.py +5 -2
- autobyteus/tools/multimedia/__init__.py +2 -1
- autobyteus/tools/multimedia/audio_tools.py +2 -2
- autobyteus/tools/{download_media_tool.py → multimedia/download_media_tool.py} +3 -3
- autobyteus/tools/multimedia/image_tools.py +4 -4
- autobyteus/tools/multimedia/media_reader_tool.py +1 -1
- autobyteus/tools/registry/tool_definition.py +66 -13
- autobyteus/tools/registry/tool_registry.py +29 -0
- autobyteus/tools/search/__init__.py +17 -0
- autobyteus/tools/search/base_strategy.py +35 -0
- autobyteus/tools/search/client.py +24 -0
- autobyteus/tools/search/factory.py +81 -0
- autobyteus/tools/search/google_cse_strategy.py +68 -0
- autobyteus/tools/search/providers.py +10 -0
- autobyteus/tools/search/serpapi_strategy.py +65 -0
- autobyteus/tools/search/serper_strategy.py +87 -0
- autobyteus/tools/search_tool.py +83 -0
- autobyteus/tools/timer.py +4 -0
- autobyteus/tools/tool_meta.py +4 -24
- autobyteus/workflow/bootstrap_steps/coordinator_prompt_preparation_step.py +1 -2
- {autobyteus-1.2.0.dist-info → autobyteus-1.2.1.dist-info}/METADATA +5 -5
- {autobyteus-1.2.0.dist-info → autobyteus-1.2.1.dist-info}/RECORD +95 -80
- examples/run_agentic_software_engineer.py +239 -0
- examples/run_poem_writer.py +3 -3
- autobyteus/person/__init__.py +0 -0
- autobyteus/person/examples/__init__.py +0 -0
- autobyteus/person/examples/sample_persons.py +0 -14
- autobyteus/person/examples/sample_roles.py +0 -14
- autobyteus/person/person.py +0 -29
- autobyteus/person/role.py +0 -14
- autobyteus/tools/google_search.py +0 -149
- {autobyteus-1.2.0.dist-info → autobyteus-1.2.1.dist-info}/WHEEL +0 -0
- {autobyteus-1.2.0.dist-info → autobyteus-1.2.1.dist-info}/licenses/LICENSE +0 -0
- {autobyteus-1.2.0.dist-info → autobyteus-1.2.1.dist-info}/top_level.txt +0 -0
|
@@ -18,11 +18,11 @@ autobyteus/agent/context/__init__.py,sha256=1an2L4sKJ1tYbJKAhCLSw-oYzt5_lmUwh1SY
|
|
|
18
18
|
autobyteus/agent/context/agent_config.py,sha256=q04ohaBP8Wq2V0nK96YngFSLWCX7R02aAYfbIMRzAJc,6726
|
|
19
19
|
autobyteus/agent/context/agent_context.py,sha256=3Vd1c4EF6JY7rOKar7TQSXNNSNnpB-hYuhGqVQdi52g,5726
|
|
20
20
|
autobyteus/agent/context/agent_context_registry.py,sha256=GqwKn0EKKTRv6Vwwrb5kMRrwD9uH5NCh_Nvtmw82QTo,2748
|
|
21
|
-
autobyteus/agent/context/agent_runtime_state.py,sha256=
|
|
21
|
+
autobyteus/agent/context/agent_runtime_state.py,sha256=BEd-3vuNcq5OUD0uYizdxNc9miZSiW79MINlajZbfEY,5695
|
|
22
22
|
autobyteus/agent/events/__init__.py,sha256=8AL83PBRLkEptTzPznn_XpGXq2-S56Yxx3WarNcsc3U,1507
|
|
23
23
|
autobyteus/agent/events/agent_events.py,sha256=plrBY3Cr_nUhrwvkpED_2qyPq2Slc0ciiupsWdPvmwo,3821
|
|
24
24
|
autobyteus/agent/events/agent_input_event_queue_manager.py,sha256=VfynrdVSPkKEH94yg9p1WBOoV52JQX8MRJhJ-GU7fcY,10461
|
|
25
|
-
autobyteus/agent/events/notifiers.py,sha256
|
|
25
|
+
autobyteus/agent/events/notifiers.py,sha256=tESyKbkPyGjT5Wk5V5ayasaVMN3ciL-X9smpsH6Svww,8033
|
|
26
26
|
autobyteus/agent/events/worker_event_dispatcher.py,sha256=wE63Qq4gw0JhkxvpuvbxUJHhbjzKSfhinjuF6epfR04,6165
|
|
27
27
|
autobyteus/agent/factory/__init__.py,sha256=4_PxMM-S_BRuYoQBHIffY6bXpBdEv-zFyuB6YaK93Yw,204
|
|
28
28
|
autobyteus/agent/factory/agent_factory.py,sha256=8vrsGTvZi0XIVZxpB3CHiiSLIv9Rdar9SaQ8Y5v5gLo,6673
|
|
@@ -62,7 +62,7 @@ autobyteus/agent/message/context_file_type.py,sha256=PXGBxFKRa2ocFS09-UagPzrYAHp
|
|
|
62
62
|
autobyteus/agent/message/inter_agent_message.py,sha256=302oAt5PdrAqS1Cz80o7G6Kk3Ur1D9JNxze7Q0NI3dM,2436
|
|
63
63
|
autobyteus/agent/message/inter_agent_message_type.py,sha256=l-j0WB4F6yRXSSnHRKzNfmwnL4wX3usPN0JIrQthyEA,1130
|
|
64
64
|
autobyteus/agent/message/multimodal_message_builder.py,sha256=rPyfdqphWKMOeV5GImveR3__8yuDXIMbHx9cAypZGLU,2017
|
|
65
|
-
autobyteus/agent/message/send_message_to.py,sha256=
|
|
65
|
+
autobyteus/agent/message/send_message_to.py,sha256=SMIG5tqtWHbIatPsXJY8wzfb4tB-jQYFxLoAY8ExeVY,5923
|
|
66
66
|
autobyteus/agent/phases/__init__.py,sha256=OC0T294mOGUk6pudSVLslHtfziBJEYd_VoA-LgWo9oE,558
|
|
67
67
|
autobyteus/agent/phases/discover.py,sha256=YuW0I8PyGysiyAf3jfR-cVesgSH5zi78uYZKqnM6dGU,1993
|
|
68
68
|
autobyteus/agent/phases/manager.py,sha256=-K3trAbDyXweGUxtgKPuUjQh7Cr2oFswR9KwhisT128,15604
|
|
@@ -79,10 +79,10 @@ autobyteus/agent/shutdown_steps/base_shutdown_step.py,sha256=YqHMD4opVvjCHHZdD38
|
|
|
79
79
|
autobyteus/agent/shutdown_steps/llm_instance_cleanup_step.py,sha256=f0zfOLNA_Ksp4Q0kBvikNlvoTXCnN-erQzSPMtmK44c,1863
|
|
80
80
|
autobyteus/agent/shutdown_steps/mcp_server_cleanup_step.py,sha256=_Ra9Fsf2KnPJAoGK0YdMH1wd0GdMonc9-MYY1GQookQ,1274
|
|
81
81
|
autobyteus/agent/streaming/__init__.py,sha256=ul7QUIjv5q1nYwzrU1nsVBsKZwpthdmUGsP3UPWmJ34,447
|
|
82
|
-
autobyteus/agent/streaming/agent_event_stream.py,sha256=
|
|
82
|
+
autobyteus/agent/streaming/agent_event_stream.py,sha256=xT1TyjWhn2At7yWbPJRA_kuu1HawHR3RoF6Lzs7rJ9M,10423
|
|
83
83
|
autobyteus/agent/streaming/queue_streamer.py,sha256=lTMyFwuf_NBJL6hrUIoz5-pqWSlM7fgz1xcVB73y1bk,2354
|
|
84
|
-
autobyteus/agent/streaming/stream_event_payloads.py,sha256=
|
|
85
|
-
autobyteus/agent/streaming/stream_events.py,sha256=
|
|
84
|
+
autobyteus/agent/streaming/stream_event_payloads.py,sha256=HQpsYtczNRUHVcyrZPd8LhqrHVuYoL76mOiy_Lr9mGo,9492
|
|
85
|
+
autobyteus/agent/streaming/stream_events.py,sha256=CZiSzn2YUPJZm0Bw0RH3mDEi8OM72n7P70cShz93cd8,6092
|
|
86
86
|
autobyteus/agent/system_prompt_processor/__init__.py,sha256=5CuF47Y6DKwOWNBQQ-WRQpIxH6Iww-1V0KPok3GCGq0,446
|
|
87
87
|
autobyteus/agent/system_prompt_processor/base_processor.py,sha256=1j-__ZFVKEfWgy7MsaxCUJHR9rkqpbZehnacE-WJ2UU,2170
|
|
88
88
|
autobyteus/agent/system_prompt_processor/processor_definition.py,sha256=r2ry7igUxaVrpAVmzAtR-O1ssFIhQEry-2PBs6YIZog,1767
|
|
@@ -114,12 +114,12 @@ autobyteus/agent_team/bootstrap_steps/agent_team_runtime_queue_initialization_st
|
|
|
114
114
|
autobyteus/agent_team/bootstrap_steps/base_agent_team_bootstrap_step.py,sha256=gRkmv8XwghAbWAS-jMKgCpaky0VPGyWi-QFR9uYDnBA,899
|
|
115
115
|
autobyteus/agent_team/bootstrap_steps/coordinator_initialization_step.py,sha256=lWiGMC7XOsDEZ0W_qo2GFtuKDl7ZVKGOfS3ENsGp1Zw,1913
|
|
116
116
|
autobyteus/agent_team/bootstrap_steps/coordinator_prompt_preparation_step.py,sha256=wjzlo_UpZDFK5WNV-HFtFu-uu_IvxdwcAGmFxlzetQI,4561
|
|
117
|
-
autobyteus/agent_team/bootstrap_steps/task_notifier_initialization_step.py,sha256=
|
|
118
|
-
autobyteus/agent_team/bootstrap_steps/team_context_initialization_step.py,sha256=
|
|
117
|
+
autobyteus/agent_team/bootstrap_steps/task_notifier_initialization_step.py,sha256=1NL4GSGHLrcJM3XNUg4adMP1H06wd2DBXVGFCQRNAiw,2622
|
|
118
|
+
autobyteus/agent_team/bootstrap_steps/team_context_initialization_step.py,sha256=KeCfdqiNXznQi_MX52p5rVrydDsS3WdIleyd6AU5Qzc,2419
|
|
119
119
|
autobyteus/agent_team/context/__init__.py,sha256=drrtG4m5HFNxJgtpucBmTA81TlbQaSgNXww38ChgwzE,667
|
|
120
120
|
autobyteus/agent_team/context/agent_team_config.py,sha256=kA7BTHiPeM9iyN1Gg6acZP9WBhb7VHOvBnaCDA8juaY,1589
|
|
121
121
|
autobyteus/agent_team/context/agent_team_context.py,sha256=_QC-JyvH6Ld2Ysm-EubxbjqzJ1LLvrUkNAfUWKnulmo,2682
|
|
122
|
-
autobyteus/agent_team/context/agent_team_runtime_state.py,sha256=
|
|
122
|
+
autobyteus/agent_team/context/agent_team_runtime_state.py,sha256=3G4YODdTkJo1-1SfKNP1k-0EIvD5irG4rgwWc-dX2vg,2808
|
|
123
123
|
autobyteus/agent_team/context/team_manager.py,sha256=m5_cjIwznicSHTq0HHquZrsn14DmvrTR94xzuaaC7NM,7287
|
|
124
124
|
autobyteus/agent_team/context/team_node_config.py,sha256=V_Ng_YoOcAXkujW6Y1STg39YKzcmMrZvgAgBDORO38Y,3186
|
|
125
125
|
autobyteus/agent_team/events/__init__.py,sha256=H2JMNRxeEmzIpbUFWmNR2IaIPXgcz301UIEQ8Yn0AuY,971
|
|
@@ -150,32 +150,32 @@ autobyteus/agent_team/shutdown_steps/sub_team_shutdown_step.py,sha256=suPLoXXtPJ
|
|
|
150
150
|
autobyteus/agent_team/streaming/__init__.py,sha256=wE3dZJ8b73h979nKPietRQXmImwvNrb2oyFossdPF00,891
|
|
151
151
|
autobyteus/agent_team/streaming/agent_event_bridge.py,sha256=hGJvLUK39-bBYxpq7pvpKs7Y68c07xtG4d4Ebp5GwtI,2130
|
|
152
152
|
autobyteus/agent_team/streaming/agent_event_multiplexer.py,sha256=Z3CMxsNaPXWVtaK5D8qSZiDQC_VokJQoHlbbfPc0Xng,3647
|
|
153
|
-
autobyteus/agent_team/streaming/agent_team_event_notifier.py,sha256=
|
|
153
|
+
autobyteus/agent_team/streaming/agent_team_event_notifier.py,sha256=JFuXXCa5yCM0syyNFE7pZvvl5SD_u-1RJr33ytiFdVY,3519
|
|
154
154
|
autobyteus/agent_team/streaming/agent_team_event_stream.py,sha256=AZmly_WQWb6YpdS8IXmXjoOZjIck85LWFt4OkfW_Aa0,1493
|
|
155
|
-
autobyteus/agent_team/streaming/agent_team_stream_event_payloads.py,sha256=
|
|
156
|
-
autobyteus/agent_team/streaming/agent_team_stream_events.py,sha256=
|
|
155
|
+
autobyteus/agent_team/streaming/agent_team_stream_event_payloads.py,sha256=zMGy129gnFxmjZjdFUoa0gXHOM2oqcsaVJfJCoNLmkE,1689
|
|
156
|
+
autobyteus/agent_team/streaming/agent_team_stream_events.py,sha256=Gwzjnf6fRSlsGGzo_lJwWGCwAZpzJB2bxePpfBYTXU4,2668
|
|
157
157
|
autobyteus/agent_team/streaming/team_event_bridge.py,sha256=C6VVJM4xJnOl37AY60qGT9k7VMVj63bkXOxYWICBgAs,2347
|
|
158
158
|
autobyteus/agent_team/task_notification/__init__.py,sha256=USOq10z0IMfwIz2cNiq6_0qbvRqsLa4mvezWURiTMMo,531
|
|
159
|
-
autobyteus/agent_team/task_notification/activation_policy.py,sha256=
|
|
160
|
-
autobyteus/agent_team/task_notification/system_event_driven_agent_task_notifier.py,sha256=
|
|
159
|
+
autobyteus/agent_team/task_notification/activation_policy.py,sha256=jWN0BCXjiE9IZwHPc9kLFWKKIlQS6UwyRhEzZH0lRng,2821
|
|
160
|
+
autobyteus/agent_team/task_notification/system_event_driven_agent_task_notifier.py,sha256=taehm0OEgsO9AJxIs_M1gj4FPTxQV4eBy1wL2akoZX4,4777
|
|
161
161
|
autobyteus/agent_team/task_notification/task_activator.py,sha256=_7oijK61gupUCm_Z2oxQF2vojXmYlTuram8XvuJaT7Q,2728
|
|
162
|
-
autobyteus/agent_team/task_notification/task_notification_mode.py,sha256=
|
|
162
|
+
autobyteus/agent_team/task_notification/task_notification_mode.py,sha256=YxejMhZpGOMX6CGUoJU9csI-Fd_O3LfmcEZBnriv5XM,845
|
|
163
163
|
autobyteus/agent_team/utils/__init__.py,sha256=Sa5TBbhq9N41ONlMhoLlCrtyxSiDjoR2Zu5C21OAig0,218
|
|
164
164
|
autobyteus/agent_team/utils/wait_for_idle.py,sha256=wrfo_t1T6DSXeHU-SWwsuxPJToNsr0Ol1TwqpoRxZ8I,1931
|
|
165
165
|
autobyteus/cli/__init__.py,sha256=FpcugZofPrQzll16-OFcDypbven0J2mBPxNVgQ3eAxY,266
|
|
166
166
|
autobyteus/cli/agent_cli.py,sha256=Ua6MnuVHmNgelnZQ8B8ZMFk2nyN-VNPijNzyucVVPis,4818
|
|
167
167
|
autobyteus/cli/cli_display.py,sha256=F0mBDnaqmQJCfhqO-ccVxd_UGklCRuNoGZ4aa8ApMKs,9493
|
|
168
168
|
autobyteus/cli/agent_team_tui/__init__.py,sha256=FP2rpjO1T5jdVYkT7Yvk-iDcxckOHy3JxRg-EEeKCfE,123
|
|
169
|
-
autobyteus/cli/agent_team_tui/app.py,sha256=
|
|
170
|
-
autobyteus/cli/agent_team_tui/state.py,sha256=
|
|
169
|
+
autobyteus/cli/agent_team_tui/app.py,sha256=8xc52eVjlXAAnthS7ISWDK0OxjZ8PQ7-5FwmiJjd2hU,9150
|
|
170
|
+
autobyteus/cli/agent_team_tui/state.py,sha256=hoOAwK_xUbghB4P3yZZZ3vQKs0JupXE2_zv_PeZB3G0,9378
|
|
171
171
|
autobyteus/cli/agent_team_tui/widgets/__init__.py,sha256=gWVULR5J-2Ra3m2hvUhO1jF1IX9uqk0bQhWL0t25Z4E,173
|
|
172
172
|
autobyteus/cli/agent_team_tui/widgets/agent_list_sidebar.py,sha256=1ynBsWEqaYBitHrbvgR-eRLGAULA2ZUM-V_hRHWAgX8,6557
|
|
173
|
-
autobyteus/cli/agent_team_tui/widgets/focus_pane.py,sha256=
|
|
173
|
+
autobyteus/cli/agent_team_tui/widgets/focus_pane.py,sha256=wS6yq9vUU4fTySb00k6zyzqImggD-5Q8DtOLJZCxaE0,16142
|
|
174
174
|
autobyteus/cli/agent_team_tui/widgets/logo.py,sha256=okzS4mG8Z1-dZDIGQ5F8XP9y6WwwRDVHmMmPz3oN9TM,780
|
|
175
175
|
autobyteus/cli/agent_team_tui/widgets/renderables.py,sha256=gaMrkLMcrohuOH2KjPvSmdbxHgljhCgl6m9OEfw2nDU,3393
|
|
176
|
-
autobyteus/cli/agent_team_tui/widgets/shared.py,sha256=
|
|
176
|
+
autobyteus/cli/agent_team_tui/widgets/shared.py,sha256=mUnJVWaM72u1U8nYfSgsaOTfKFOdGcHqIpLgb837BpU,1976
|
|
177
177
|
autobyteus/cli/agent_team_tui/widgets/status_bar.py,sha256=WE8Z6gjAkAdrK5Yufl7qqIitIL6TX0lOCQiTa9FZkt4,457
|
|
178
|
-
autobyteus/cli/agent_team_tui/widgets/
|
|
178
|
+
autobyteus/cli/agent_team_tui/widgets/task_plan_panel.py,sha256=FmJXBVuTFJsuCQCcyKUOj15_Um5E6WgGuyPkHQzafQQ,3451
|
|
179
179
|
autobyteus/cli/workflow_tui/__init__.py,sha256=xbWMXwK_a-IX-dM3m1TJkm9SHT--bqiHVgkS5XCA6vM,127
|
|
180
180
|
autobyteus/cli/workflow_tui/app.py,sha256=DZPHPIrjz5-YBxwybDylokemtzqO9Ac49hdhkBdXCwQ,9681
|
|
181
181
|
autobyteus/cli/workflow_tui/state.py,sha256=JA3MOGpV25yin6dMO8AWRLSOgCEcd5oKtfNROU8RavM,9477
|
|
@@ -193,7 +193,7 @@ autobyteus/clients/certificates/cert.pem,sha256=qb4Te3q7-b-_09GvHtX5dV--5_Vo_Dn_
|
|
|
193
193
|
autobyteus/events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
194
194
|
autobyteus/events/event_emitter.py,sha256=WKKwISFo2yDx0OpLjGFtXEl3DVV1siB0lXdndIAHhBg,2522
|
|
195
195
|
autobyteus/events/event_manager.py,sha256=c5RMlCtKzkHgQZkePBvqxPAxxOu-NapUrl8c2oRDkT8,5841
|
|
196
|
-
autobyteus/events/event_types.py,sha256=
|
|
196
|
+
autobyteus/events/event_types.py,sha256=Q_7fksiJMY7RzT85eVmRfWDd34_9RPhnJ5xzS7qMqoU,3081
|
|
197
197
|
autobyteus/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
198
198
|
autobyteus/llm/autobyteus_provider.py,sha256=TuEXpiTkCN6V-hBc4ss8vR-4lA83VEmdlFDDmcooCzw,8387
|
|
199
199
|
autobyteus/llm/base_llm.py,sha256=OCiInGSNApZ-bcrdEMt3siOFwNkB9UwFGfqVNYImzEo,8036
|
|
@@ -248,17 +248,18 @@ autobyteus/multimedia/__init__.py,sha256=8sssScdnrek2-1-s7wStlOc37ZilLTf0cJzMqVz
|
|
|
248
248
|
autobyteus/multimedia/providers.py,sha256=odBXtoEXYtFULX_lnBR9rGEcWOAzMbUD0qF2Fr_Y1Nc,133
|
|
249
249
|
autobyteus/multimedia/runtimes.py,sha256=mgmA06Ng7Gh6UW6YNi0O5CmwV6oDw3kX2qxLssUqG0o,180
|
|
250
250
|
autobyteus/multimedia/audio/__init__.py,sha256=RsUo63rEz8_HLJ7RonaSrYkoDKwhBmHomeseTnBX-Hg,287
|
|
251
|
-
autobyteus/multimedia/audio/audio_client_factory.py,sha256=
|
|
251
|
+
autobyteus/multimedia/audio/audio_client_factory.py,sha256=UAE0cnFXyYB9YePMTs44jw3bws_2BdMAYzFNDbhV6cg,7729
|
|
252
252
|
autobyteus/multimedia/audio/audio_model.py,sha256=tiFRspsfrlOifjPH7wJDNxT7Rl695RkjD5VLNiJvI0Q,4069
|
|
253
253
|
autobyteus/multimedia/audio/autobyteus_audio_provider.py,sha256=p4vfp8orsKiYGtrtNYfXyJlP95b-FKWRxiACug0GfuI,4934
|
|
254
254
|
autobyteus/multimedia/audio/base_audio_client.py,sha256=zl12JZrvDUmKEnNhEtdY7jXK0TYmil9rUgIkU_VWbL0,1498
|
|
255
|
-
autobyteus/multimedia/audio/api/__init__.py,sha256=
|
|
255
|
+
autobyteus/multimedia/audio/api/__init__.py,sha256=M6A3fmXx5nn3R_0wozcph4ANTA25RGG4L4-a-M4OAoc,240
|
|
256
256
|
autobyteus/multimedia/audio/api/autobyteus_audio_client.py,sha256=KhhWCWSdbmYp3rVM3pASjWr4qZHD69Xi23hUZ1mLCgU,2641
|
|
257
257
|
autobyteus/multimedia/audio/api/gemini_audio_client.py,sha256=Mg9c7_7am8iuBNQQv1To37H8mY1Vc1xx5ZKtEfp5Sig,6410
|
|
258
|
+
autobyteus/multimedia/audio/api/openai_audio_client.py,sha256=wNuNBgD1CdTjs7IV-bOD6wBeqf_NYR5YO4vz_QyeVIA,4017
|
|
258
259
|
autobyteus/multimedia/image/__init__.py,sha256=YWwPtRgbTtPoZBgAmjt87P-pTREOZEpJzDbKhD9jSRg,287
|
|
259
260
|
autobyteus/multimedia/image/autobyteus_image_provider.py,sha256=mioCkUnp-ogNAt53lpdjijd5sxmvr6piCutiA3jWih0,5044
|
|
260
261
|
autobyteus/multimedia/image/base_image_client.py,sha256=sDm2n8yol590tWkujYc_FDf2cuyBNP0t4voRz9vuGr4,2819
|
|
261
|
-
autobyteus/multimedia/image/image_client_factory.py,sha256=
|
|
262
|
+
autobyteus/multimedia/image/image_client_factory.py,sha256=EuRHvfydezimOOl62n1gLKtXFLaVhGZF_Ujw2NsSRFc,5639
|
|
262
263
|
autobyteus/multimedia/image/image_model.py,sha256=BxkWiQr30Fp5o6mLYMYD_6XAnElZQCU5yYe-MBN52jk,4077
|
|
263
264
|
autobyteus/multimedia/image/api/__init__.py,sha256=Vh_FC_6rxcPhJqFpAvgv3yBqHYVmxrzjyVSSrCM7rww,255
|
|
264
265
|
autobyteus/multimedia/image/api/autobyteus_image_client.py,sha256=MYkd-w9AMjNEEGiCaDepbMty1b0cBhyOFF3P2ybv4jc,4184
|
|
@@ -268,12 +269,6 @@ autobyteus/multimedia/utils/__init__.py,sha256=pH2c5CB2V-QXVl6SgL6N70KKH0VShByhZ
|
|
|
268
269
|
autobyteus/multimedia/utils/api_utils.py,sha256=dbrIQzRnoz66CwaZOIG4353h5ccbTEIvUPUSRfgIWOQ,613
|
|
269
270
|
autobyteus/multimedia/utils/multimedia_config.py,sha256=1CU1G0LqURt6DOrcvj2UnPUQ0Q2Mh4vzeKJEGbHoIno,953
|
|
270
271
|
autobyteus/multimedia/utils/response_types.py,sha256=aiyGwkH4K4NryOFDM4-X4M907ZVGKtvTKMJz6QEXKTA,359
|
|
271
|
-
autobyteus/person/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
272
|
-
autobyteus/person/person.py,sha256=hUBLaGu2_SiClhrXIEl6b9BTXbzyBimwX6Qc08iApTU,866
|
|
273
|
-
autobyteus/person/role.py,sha256=U7gFBtYY6IlQ2Hr1bqxlPwfXb4ixOJT5WSz3cjSpybU,511
|
|
274
|
-
autobyteus/person/examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
275
|
-
autobyteus/person/examples/sample_persons.py,sha256=dANMjmH5IVUfBoLvWeo4d1Obms5x30MBSvFgJIBa78M,368
|
|
276
|
-
autobyteus/person/examples/sample_roles.py,sha256=rQqUGTUj0dSqTlOciRjo5AYS53hCAKl4oifpGHsrScM,430
|
|
277
272
|
autobyteus/prompt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
278
273
|
autobyteus/prompt/prompt_builder.py,sha256=2hStweYFSIXN9kif86G8Fj7VdjsIVceJYiCNboauEGk,1886
|
|
279
274
|
autobyteus/prompt/prompt_template.py,sha256=taNEAUNXLt0a3WP_bNqzeNgSIIM7rgubqBBYWHRR1Kw,1539
|
|
@@ -296,49 +291,57 @@ autobyteus/rpc/server/base_method_handler.py,sha256=6sKWucR1vUYeritjJPHIX_sCQOD2
|
|
|
296
291
|
autobyteus/rpc/server/method_handlers.py,sha256=Zqrr1R3yu_hVD0qCOPpxXm4ujkvdds9wCCneIeT3gU8,14702
|
|
297
292
|
autobyteus/rpc/server/sse_server_handler.py,sha256=3F1LNLw6fXcB08hmWOUhGZROYhpPdk8xwz2TakiR-2M,16273
|
|
298
293
|
autobyteus/rpc/server/stdio_server_handler.py,sha256=pSAvVtxyo0Hytzld7WINeKHvGBqEjp0Bad-xkY2Rul4,7398
|
|
299
|
-
autobyteus/task_management/__init__.py,sha256=
|
|
300
|
-
autobyteus/task_management/
|
|
294
|
+
autobyteus/task_management/__init__.py,sha256=A6KzMAVVpcz7N7CYDNOwILsmz3yvgfcHMLLDGqRpur4,2052
|
|
295
|
+
autobyteus/task_management/base_task_plan.py,sha256=3G-IT9KeFYpJA1jiePRKUNaCze9QyB9I1lJ1mDnLezI,2606
|
|
301
296
|
autobyteus/task_management/deliverable.py,sha256=cXuWD7UhP_oElhUzLGGdCwE8Fn4IokURuanz4zg35Ps,490
|
|
302
|
-
autobyteus/task_management/events.py,sha256=
|
|
303
|
-
autobyteus/task_management/
|
|
297
|
+
autobyteus/task_management/events.py,sha256=1i2G2H5KC9Y0ibz5OgQIgIguVqcdILfXb8bc9QFdHvk,821
|
|
298
|
+
autobyteus/task_management/in_memory_task_plan.py,sha256=roKwt35JLY_1ETp3rglDZLMXNFWpem_Yje4sWr8YZlA,6107
|
|
304
299
|
autobyteus/task_management/task.py,sha256=nsxvcYavYG7I-AQo4JBHV7n6iYtZJuBJ3cOJXF4vtEs,2598
|
|
305
|
-
autobyteus/task_management/
|
|
306
|
-
autobyteus/task_management/
|
|
300
|
+
autobyteus/task_management/todo.py,sha256=9GOdu766TTae6hrJkizPMGYyJPOIRq_Il20kgeZFug8,1265
|
|
301
|
+
autobyteus/task_management/todo_list.py,sha256=07ZFfi12vy7ZsruG9UVx0cAdu0nmVhz7IAyqLOMJUP0,3083
|
|
302
|
+
autobyteus/task_management/converters/__init__.py,sha256=gQ4eZqSjtzvaPQUvOSG1a6lM-UeIOHEG1aWo22tsamo,230
|
|
303
|
+
autobyteus/task_management/converters/task_plan_converter.py,sha256=Nd5xFG4Yn_OknXYR4aLXvtuVKz5kMDIm6_VqzaDq8uw,2087
|
|
307
304
|
autobyteus/task_management/deliverables/__init__.py,sha256=RYBzSxKgzPnh8uE0TA2hA_SiI3dv3_dgvME0K-5AvvI,150
|
|
308
305
|
autobyteus/task_management/deliverables/file_deliverable.py,sha256=tTdpgdAtXwkZ-US0n8ilEl6CYI8dRVXhGEdBBCTay8c,425
|
|
309
|
-
autobyteus/task_management/schemas/__init__.py,sha256=
|
|
306
|
+
autobyteus/task_management/schemas/__init__.py,sha256=j3MZYJKMYq0xS88MkdMv8hdlzgQ1_9onLQNgVwmNX6I,644
|
|
310
307
|
autobyteus/task_management/schemas/deliverable_schema.py,sha256=8_3F93gAeTfp6NeHqhIQLWFMpVwfiDuSOk0lnHnxxFU,603
|
|
311
308
|
autobyteus/task_management/schemas/task_definition.py,sha256=ytFK2kikLnQjPgSj6X6OTethqljvTEnZ9U-tcxubZF8,2154
|
|
312
|
-
autobyteus/task_management/schemas/task_status_report.py,sha256=
|
|
313
|
-
autobyteus/task_management/
|
|
314
|
-
autobyteus/task_management/tools/
|
|
315
|
-
autobyteus/task_management/tools/
|
|
316
|
-
autobyteus/task_management/tools/
|
|
317
|
-
autobyteus/task_management/tools/
|
|
318
|
-
autobyteus/task_management/tools/
|
|
319
|
-
autobyteus/task_management/tools/
|
|
320
|
-
autobyteus/tools/
|
|
309
|
+
autobyteus/task_management/schemas/task_status_report.py,sha256=505LgQFHDORrWeV55swbaeKuw4DvMJx5yYeRUxx7ko8,1882
|
|
310
|
+
autobyteus/task_management/schemas/todo_definition.py,sha256=o5DKyCCVx6XqiZyKe025Ap-17X5S1uRdIq0lPXI4EuU,756
|
|
311
|
+
autobyteus/task_management/tools/__init__.py,sha256=88T-wwjQeAN5LDOegiAbc0suj1e-WZi1z78IhNnuRTE,690
|
|
312
|
+
autobyteus/task_management/tools/task_tools/__init__.py,sha256=fRLxldmTxvBBBgXCv5eNMicxjHcFxjg6Tt57OYc1E3Q,523
|
|
313
|
+
autobyteus/task_management/tools/task_tools/assign_task_to.py,sha256=LDdA3SDX3WtI4FNH9dFkgEk9H4ASHYPfg6HsvuaQaKQ,6278
|
|
314
|
+
autobyteus/task_management/tools/task_tools/create_task.py,sha256=enT0301ZYNmtarIuBvHsA7LTtoo9RB5C8qAMD4SqOBA,3263
|
|
315
|
+
autobyteus/task_management/tools/task_tools/create_tasks.py,sha256=tjeupKNhg_RNxFZ1QrOwDojFQPuHWaBs0R0owtqINP8,3090
|
|
316
|
+
autobyteus/task_management/tools/task_tools/get_my_tasks.py,sha256=6DZRY-gumQx5thCaZ5ppJ-izBV8n-K2jHNh4-wTPOFw,3314
|
|
317
|
+
autobyteus/task_management/tools/task_tools/get_task_plan_status.py,sha256=3j96d4u1oYV70XGfrTFj9ahcS9wQl9f0gG9_tMN0VzQ,2747
|
|
318
|
+
autobyteus/task_management/tools/task_tools/update_task_status.py,sha256=yo3UpPsDS4DsdEmVL3H4Jr9f24bggSKJ3CAPi_DlDkk,5913
|
|
319
|
+
autobyteus/task_management/tools/todo_tools/__init__.py,sha256=kyTQV5UfccRt3Nos-TMN42A_dbDuTESMQK1FibzoP3o,476
|
|
320
|
+
autobyteus/task_management/tools/todo_tools/add_todo.py,sha256=kJA-0xGin5j2UB1g04tGgOGKkyov4KmaXdUf4O5h6nc,3247
|
|
321
|
+
autobyteus/task_management/tools/todo_tools/create_todo_list.py,sha256=ot-WgoNWPT4lJPDOfzehr_1b4GhhuOFyuGHeL7rQEkA,3521
|
|
322
|
+
autobyteus/task_management/tools/todo_tools/get_todo_list.py,sha256=zAZcnhrgm9g-ZXn4GGBWvY_RayLmmDBB0WbDGvvhfuY,1929
|
|
323
|
+
autobyteus/task_management/tools/todo_tools/update_todo_status.py,sha256=X_i2giq6CjliZuAc5QMPambdfG9wbhZQ2zhM8Q0jK50,3727
|
|
324
|
+
autobyteus/tools/__init__.py,sha256=dJtk8S3aviwRPidGboKN2b6AMGak5w531IVRjx-UsIk,4557
|
|
321
325
|
autobyteus/tools/base_tool.py,sha256=s7wf06jqxWBX3pu18cgooxN9RQ8u6W3GCV8I5Zwi8UA,8738
|
|
322
|
-
autobyteus/tools/
|
|
323
|
-
autobyteus/tools/functional_tool.py,sha256=FyifQc5D0CZIpF_5GsOV72kFMrTL_nlvVuFXHvexuKY,10393
|
|
324
|
-
autobyteus/tools/google_search.py,sha256=2x86gNHk6PGe8fQRDLw099g1KG2MXLbOW_dBex4PJB4,5890
|
|
326
|
+
autobyteus/tools/functional_tool.py,sha256=OvHKXRd4dGqJb0MieaJXY1PKJdOCvaec3KsM5Lz5eP4,10613
|
|
325
327
|
autobyteus/tools/pydantic_schema_converter.py,sha256=qDVCXDBUWuXxYzO0d_taFum1gd1Av1VvHCvTzTtilF0,3402
|
|
326
|
-
autobyteus/tools/
|
|
328
|
+
autobyteus/tools/search_tool.py,sha256=EJw0-VxkMKDOYRvA1q6jJXexxy4BgFoG9YuUbEn4xmU,3336
|
|
329
|
+
autobyteus/tools/timer.py,sha256=JHEvrXA9-zMtIYjSCtriF_dJR_zARI0qIVREpHZOpAo,7461
|
|
327
330
|
autobyteus/tools/tool_category.py,sha256=pSf3C4kDc5ZGRYLmlGaU0th9YgdI-3TSS_yOdqbEzLU,740
|
|
328
331
|
autobyteus/tools/tool_config.py,sha256=gnzGweccECNmCeufkzbskHeFOt3f0431DyAmMhqNVn4,3564
|
|
329
|
-
autobyteus/tools/tool_meta.py,sha256=
|
|
332
|
+
autobyteus/tools/tool_meta.py,sha256=oTWknZdssNvIp9LBUycnkGqroFfL8G4RLg-vx0RgR2w,2828
|
|
330
333
|
autobyteus/tools/tool_origin.py,sha256=X1RqyDMWg2n7v0TciJHh5eiXgDDoU86BEQL3hx975jk,269
|
|
331
334
|
autobyteus/tools/tool_state.py,sha256=CwmEu7GTdaE72QIsdsXQu0AmTxQTp5hMncFcY58PkGo,746
|
|
332
335
|
autobyteus/tools/utils.py,sha256=PuHGlARmNx5HA2YFVF5XA36MoeAyFL6voK10S12AYS0,546
|
|
333
336
|
autobyteus/tools/bash/__init__.py,sha256=X38g3OVhlr-6aLIYfcSyh8DzqHAEh8dSzfEH1NEH7aw,99
|
|
334
|
-
autobyteus/tools/bash/bash_executor.py,sha256=
|
|
337
|
+
autobyteus/tools/bash/bash_executor.py,sha256=fx48VsiLRtVhI_p6xcCuyoNukANOB1PrqG0sTj1jhPw,4502
|
|
335
338
|
autobyteus/tools/browser/__init__.py,sha256=fNt3qo9ykOIhfG7CmbelCabMydhPTWL-5timHXBa8ZI,91
|
|
336
339
|
autobyteus/tools/browser/session_aware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
337
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_navigate_to.py,sha256=
|
|
340
|
+
autobyteus/tools/browser/session_aware/browser_session_aware_navigate_to.py,sha256=GIZI6UbrqmrMAe3ZvXxjB73yM42MHsTMBO9ZjmlE5ic,3096
|
|
338
341
|
autobyteus/tools/browser/session_aware/browser_session_aware_tool.py,sha256=Jw3z_KY0h-hcheav9cWmTPoKGth69DePfBs-SshxUAQ,1525
|
|
339
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_web_element_trigger.py,sha256=
|
|
340
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_webpage_reader.py,sha256=
|
|
341
|
-
autobyteus/tools/browser/session_aware/browser_session_aware_webpage_screenshot_taker.py,sha256=
|
|
342
|
+
autobyteus/tools/browser/session_aware/browser_session_aware_web_element_trigger.py,sha256=THHpM6LBIe5sV8U-GQzCaRUDUXmOZOQOYOVpeQqqzzM,7019
|
|
343
|
+
autobyteus/tools/browser/session_aware/browser_session_aware_webpage_reader.py,sha256=QBFvjHzHeYXLfU2UypM8JxXZLe7VMJKxE0kaPqSHGw4,3992
|
|
344
|
+
autobyteus/tools/browser/session_aware/browser_session_aware_webpage_screenshot_taker.py,sha256=O_E4r4zetVjKUHlSrPTJZTYAp-3-AnACnQrM9U7PeRw,4708
|
|
342
345
|
autobyteus/tools/browser/session_aware/shared_browser_session.py,sha256=WjdkY6vrE96hluwHQS8U0K5z3XE8QMw2-fDRv5VFhXA,326
|
|
343
346
|
autobyteus/tools/browser/session_aware/shared_browser_session_manager.py,sha256=OAFzqLHWWxtVnU-zYGYFPLwiVTzhW7C6UA3y70-lBQU,1103
|
|
344
347
|
autobyteus/tools/browser/session_aware/web_element_action.py,sha256=jPWGmqoTB7Hpk6APQOWglLUaJmf5c_nR8Hh0AbT4fkM,477
|
|
@@ -347,20 +350,22 @@ autobyteus/tools/browser/session_aware/factory/browser_session_aware_web_element
|
|
|
347
350
|
autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_reader_factory.py,sha256=WmW9yU_KVjvDNSlxWPkdXljM9h4-zZRoZH7GP6sQndA,1335
|
|
348
351
|
autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_screenshot_taker_factory.py,sha256=uxv7cLtlXg9Vdl82_r1K-wEHKfXzrmngGwT8rd5u4JQ,717
|
|
349
352
|
autobyteus/tools/browser/standalone/__init__.py,sha256=0J-_GM5vmp3iaHBDZXXRaj5gB3EGE0cRHJyJ3N-RDQg,324
|
|
350
|
-
autobyteus/tools/browser/standalone/navigate_to.py,sha256=
|
|
351
|
-
autobyteus/tools/browser/standalone/web_page_pdf_generator.py,sha256
|
|
352
|
-
autobyteus/tools/browser/standalone/webpage_image_downloader.py,sha256=
|
|
353
|
-
autobyteus/tools/browser/standalone/webpage_reader.py,sha256=
|
|
354
|
-
autobyteus/tools/browser/standalone/webpage_screenshot_taker.py,sha256=
|
|
353
|
+
autobyteus/tools/browser/standalone/navigate_to.py,sha256=V6ztflnTjQU_nRpFsukALhZgbxYH_RoySSnNCAociog,3544
|
|
354
|
+
autobyteus/tools/browser/standalone/web_page_pdf_generator.py,sha256=xs1vUAPUDrvprgDRgrB5V69xbjlwBp7Vyh8aTMpAm8k,4132
|
|
355
|
+
autobyteus/tools/browser/standalone/webpage_image_downloader.py,sha256=dgJmVDqhkZuR_ks7z2nnODKkgd2DCtb_CLfaWtv9ND8,7254
|
|
356
|
+
autobyteus/tools/browser/standalone/webpage_reader.py,sha256=TU7YvWwWGW7eVjRpTQ42uE35cFKCZ4NYjuXNRxm_yG0,4323
|
|
357
|
+
autobyteus/tools/browser/standalone/webpage_screenshot_taker.py,sha256=XnpGSy4mmFvkJysoD3Qere0oFj-6eM8mqZvpYIUMwrY,4518
|
|
355
358
|
autobyteus/tools/browser/standalone/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
356
359
|
autobyteus/tools/browser/standalone/factory/webpage_reader_factory.py,sha256=R9PJPf7MF3cP8q8ffMKU5-ihPJWHJkVDYXZswZNdGS0,1131
|
|
357
360
|
autobyteus/tools/browser/standalone/factory/webpage_screenshot_taker_factory.py,sha256=NMS2laBlZAJiXPPub4YRhz1pXtZkfAeMhfRcSAfqu4M,597
|
|
358
361
|
autobyteus/tools/factory/__init__.py,sha256=EQXbTH6BcqK2SM3JEq2PkLwzZSczExv3KDvlhWHlsGQ,275
|
|
359
362
|
autobyteus/tools/factory/tool_factory.py,sha256=-gUhcBwiQu1FQiR0nAKJp1aUZ2sXbcz-pIn4f4heFbE,1066
|
|
360
|
-
autobyteus/tools/file/__init__.py,sha256=
|
|
361
|
-
autobyteus/tools/file/
|
|
362
|
-
autobyteus/tools/file/
|
|
363
|
-
autobyteus/tools/file/
|
|
363
|
+
autobyteus/tools/file/__init__.py,sha256=avoDkUIalKqh-Gk_tIkWzlLZHD4s2n0yqUWwXbxlBPw,292
|
|
364
|
+
autobyteus/tools/file/edit_file.py,sha256=NIVyLzuSiYeg45yhjofBLpUdzh5aTABMRXJyFLoBLSc,9004
|
|
365
|
+
autobyteus/tools/file/list_directory.py,sha256=I2pdBZ805VXmolGg6P7S8S867uSm5QjfT5fSEdkHyrY,6573
|
|
366
|
+
autobyteus/tools/file/read_file.py,sha256=hYyA_zP1AYts7taVjwIPa0dn3o0sgAcLDLRVlMV5ZZg,2553
|
|
367
|
+
autobyteus/tools/file/search_files.py,sha256=xrF-DA2KrTIETLhAQ55bl5aUkatIZG67NFadQqfCqtU,7381
|
|
368
|
+
autobyteus/tools/file/write_file.py,sha256=SD6DIEHVyju2VefwdHvHe6Y_foGczblqBbIasrqZAqE,2680
|
|
364
369
|
autobyteus/tools/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
365
370
|
autobyteus/tools/handlers/shell_handler.py,sha256=ClTXqFR45iyD0gcoOPpKRX5p6g_6BI4a5JOLuKuQOIA,1065
|
|
366
371
|
autobyteus/tools/mcp/__init__.py,sha256=gwT34UgJe2rU5y4bYNOLI-PyAmRQTMWKz_WC4f2LcyE,1553
|
|
@@ -368,26 +373,35 @@ autobyteus/tools/mcp/config_service.py,sha256=7OoqZGVxBob4IeeBjChFCpwyI9IJIxlOQD
|
|
|
368
373
|
autobyteus/tools/mcp/factory.py,sha256=vNQ719v1hMo0s98OWKKylHhO_cynyghWRejzot4RWSE,2204
|
|
369
374
|
autobyteus/tools/mcp/schema_mapper.py,sha256=DDCPN_BJ1twe-9VIGVZaksmrQZVVNnL0uuD9-AeToTw,4413
|
|
370
375
|
autobyteus/tools/mcp/server_instance_manager.py,sha256=pGZZCH9Qp7n6jefwyDsvoo0Pxe7AWCcqIqnXgWt8hyg,6289
|
|
371
|
-
autobyteus/tools/mcp/tool.py,sha256=
|
|
372
|
-
autobyteus/tools/mcp/tool_registrar.py,sha256=
|
|
376
|
+
autobyteus/tools/mcp/tool.py,sha256=tELqogRQbfLdMnr4_r_1dKflUr-RRmTp0s0LvLBL43Q,3398
|
|
377
|
+
autobyteus/tools/mcp/tool_registrar.py,sha256=SoXJhs-x7JabNBgqKJE_1acC8R1fHV3fjIUELl1stV0,11325
|
|
373
378
|
autobyteus/tools/mcp/types.py,sha256=KiQUPhqzro5VW7piA-eOXkBcE0FThOUgr9Pw_7iV6Us,4171
|
|
374
379
|
autobyteus/tools/mcp/server/__init__.py,sha256=yfCMAtVlfy1x8aKEnRz9_CHnco2zVSdepwIPSjywSNw,523
|
|
375
380
|
autobyteus/tools/mcp/server/base_managed_mcp_server.py,sha256=ep-EKh4uqorrNYvv7D27Kh4fxR1f-E3hYMclFcWq0p4,5512
|
|
376
381
|
autobyteus/tools/mcp/server/http_managed_mcp_server.py,sha256=Kit7zcJxaRXfAXMxYqCKVcl4MfNsgRfXK9kjDaQFkMA,1969
|
|
377
382
|
autobyteus/tools/mcp/server/proxy.py,sha256=08F3m1I_IH2wrRXK29R_NPDB6ITHpo982Mq9G53hbUo,1660
|
|
378
383
|
autobyteus/tools/mcp/server/stdio_managed_mcp_server.py,sha256=a84GOnhWLg4vx6yo5dI8BlqUA_fdi0M5eNo2a-tGWwM,2085
|
|
379
|
-
autobyteus/tools/multimedia/__init__.py,sha256=
|
|
380
|
-
autobyteus/tools/multimedia/audio_tools.py,sha256=
|
|
381
|
-
autobyteus/tools/multimedia/
|
|
382
|
-
autobyteus/tools/multimedia/
|
|
384
|
+
autobyteus/tools/multimedia/__init__.py,sha256=UgucHEd7HCUvBQpyXnjk64ZOlJ2FOCBPe0Ikg8PsEDM,330
|
|
385
|
+
autobyteus/tools/multimedia/audio_tools.py,sha256=WI0rFucPREwK_gzE2f9EK3v9A4NYf-rPWkPtbjl-lsA,4316
|
|
386
|
+
autobyteus/tools/multimedia/download_media_tool.py,sha256=LNC1IRjkp2wirEZr-mSQcx_fEkXj8YTJjpECzRcyhsk,6556
|
|
387
|
+
autobyteus/tools/multimedia/image_tools.py,sha256=No4e3pawqfTta6e_Ej2sCCwH45xlWrloBjQP3gzBJww,7682
|
|
388
|
+
autobyteus/tools/multimedia/media_reader_tool.py,sha256=5MMCn9fbSsy1gVUZcvvS4QPCkzbl-hLuUDyzLQchJhM,5831
|
|
383
389
|
autobyteus/tools/operation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
384
390
|
autobyteus/tools/operation/file_operation.py,sha256=bAehQ9PfHoCDpk9Wa7vx9h3ohzVuaGzzBUogxleTwq8,2375
|
|
385
391
|
autobyteus/tools/operation/file_rename_operation.py,sha256=pExiC69HUzYbKihlVumlGHMGxmmrsKQB0JfAM5x4JH0,1710
|
|
386
392
|
autobyteus/tools/operation/operation.py,sha256=9sIZnlrPct5CwkCKuwbspVKvjF4KumP6twmXRo1blwo,1702
|
|
387
393
|
autobyteus/tools/operation/shell_operation.py,sha256=_BiGIRGWCzzwPVtbqFwXpHOvnqH68YqJujQI-gWeKx0,1860
|
|
388
394
|
autobyteus/tools/registry/__init__.py,sha256=39TSHm7mD6NXhsrczsX5Mdr32US0I6z3Bzad4hgcrrA,250
|
|
389
|
-
autobyteus/tools/registry/tool_definition.py,sha256=
|
|
390
|
-
autobyteus/tools/registry/tool_registry.py,sha256=
|
|
395
|
+
autobyteus/tools/registry/tool_definition.py,sha256=Hlr85O4lak47YMY7H4J-NA9iDKuF10hpS5BRCE9xDcM,9242
|
|
396
|
+
autobyteus/tools/registry/tool_registry.py,sha256=z6xm0CnlrF-e3MUQiLdivR3k2nYv9fPdbIPYmnRk76U,8644
|
|
397
|
+
autobyteus/tools/search/__init__.py,sha256=amxh1rGPc8Tz3jN3G4DSAE79N7KkRgrs1P_0TJHlFSY,507
|
|
398
|
+
autobyteus/tools/search/base_strategy.py,sha256=xsOhJVoiEJ8wsOkq4JnVSkgBqha735Jtcm1Qp-0PhVw,987
|
|
399
|
+
autobyteus/tools/search/client.py,sha256=04q9BZDEHPEl9ur8cCm9Pnb-iqAlDUkNlLUZ8WD_M38,833
|
|
400
|
+
autobyteus/tools/search/factory.py,sha256=AElxRbeaePHfFzeXAzoyefu3evvS7sncqQpAKVCjSBI,3665
|
|
401
|
+
autobyteus/tools/search/google_cse_strategy.py,sha256=LpWptdBSNCCB2vlhOxTt3Q0U1sEmTc6qKLM5F-rcRkY,2874
|
|
402
|
+
autobyteus/tools/search/providers.py,sha256=VE-alemtM_ozz2sbyK17-dbLQVYRYdx7WURiFYPx8Oc,242
|
|
403
|
+
autobyteus/tools/search/serpapi_strategy.py,sha256=9oVOZa4psAu73DhWxnxjMquuTEDLxKvpMun8OuLSgjI,2692
|
|
404
|
+
autobyteus/tools/search/serper_strategy.py,sha256=QWXp8DU1D42gmPvQwtGl-kRP0Tl80zjsQe7NvDe1JuI,3602
|
|
391
405
|
autobyteus/tools/usage/__init__.py,sha256=0kJoUH-m0d1AHTYJQyXlCjlXhMJ3e95Ykf-8J9lO2g4,224
|
|
392
406
|
autobyteus/tools/usage/formatters/__init__.py,sha256=BThdI_R8Dkda1eHJFr1cQ7nLCgf5KfSuvWokjPrnT9U,1424
|
|
393
407
|
autobyteus/tools/usage/formatters/anthropic_json_example_formatter.py,sha256=EVVPZ7e1tG3QRcEPjdOC0yTvnGisubfUm9geWbd9r2g,792
|
|
@@ -435,7 +449,7 @@ autobyteus/workflow/bootstrap_steps/__init__.py,sha256=9C9HvkXHNYJfI-OfXvMWOyerA
|
|
|
435
449
|
autobyteus/workflow/bootstrap_steps/agent_tool_injection_step.py,sha256=LLPCKwzh0tQI6aUrWWrWNsU92uK-YdP0xDCkv1LWgTU,1942
|
|
436
450
|
autobyteus/workflow/bootstrap_steps/base_workflow_bootstrap_step.py,sha256=mj6SvAbKVL_HFygRh5QkuEhOhDhi4djU8opBARLa8fM,880
|
|
437
451
|
autobyteus/workflow/bootstrap_steps/coordinator_initialization_step.py,sha256=zZqc2fxOwy1Crll6VEXt2a8UC7ROSG_jmXC5Kjs7fhk,1927
|
|
438
|
-
autobyteus/workflow/bootstrap_steps/coordinator_prompt_preparation_step.py,sha256=
|
|
452
|
+
autobyteus/workflow/bootstrap_steps/coordinator_prompt_preparation_step.py,sha256=gVKte0a0SxBC31SiwbTk3dsJZ611mESXfcscpmuVzdI,5534
|
|
439
453
|
autobyteus/workflow/bootstrap_steps/workflow_bootstrapper.py,sha256=0fz-eN5DCtWPsYZLMUeFh-OOKQSBpwhN6ry3tAB5AM8,2746
|
|
440
454
|
autobyteus/workflow/bootstrap_steps/workflow_runtime_queue_initialization_step.py,sha256=uE8Ixgv66BMpzkBR_ohXY5i3A4CsaKdFmod514dzYj4,1369
|
|
441
455
|
autobyteus/workflow/context/__init__.py,sha256=aOkJMgX6bo7Cq1UBC4oENgb7lZYhMdJJSLJ-3uUhnA0,653
|
|
@@ -479,18 +493,19 @@ autobyteus/workflow/streaming/workflow_stream_event_payloads.py,sha256=jv1bVYg-7
|
|
|
479
493
|
autobyteus/workflow/streaming/workflow_stream_events.py,sha256=75P29jNgcL7Go7D9wVz236KTwPfmqc5K7hUvVnc94K0,2221
|
|
480
494
|
autobyteus/workflow/utils/__init__.py,sha256=SzaMZHnJBIJKcT_r-HOeyIcuxzRu2bGeFkOcMLJaalk,222
|
|
481
495
|
autobyteus/workflow/utils/wait_for_idle.py,sha256=FgHtz59DN0eg8Na1PkkVR55Ihdd2e5Gn_mr7RVHl4qI,2001
|
|
482
|
-
autobyteus-1.2.
|
|
496
|
+
autobyteus-1.2.1.dist-info/licenses/LICENSE,sha256=Ompok_c8HRsXRwmax-pGR9OZRRxZC9RPp4JB6eTJd0M,1360
|
|
483
497
|
examples/__init__.py,sha256=BtTQJ6yeHyksK5GC3kfN6RFR6Gcrwq1TBmp6FIIj3Z8,40
|
|
484
498
|
examples/discover_phase_transitions.py,sha256=NiFK_XzDCpWwmNsQqf0Ou2w6L5bofKIKODq7sH5uPzk,3679
|
|
499
|
+
examples/run_agentic_software_engineer.py,sha256=-1GzNFTBUFJh31olYLW0vGJAMY0L8BlJdMyNy3FT9ew,10967
|
|
485
500
|
examples/run_browser_agent.py,sha256=tpBJGIYYvVsNZAUo_WsZbhV_8fdeORUoHlQ8uQvnXPM,11737
|
|
486
501
|
examples/run_google_slides_agent.py,sha256=R3skoCO7gxNKCdqm_Px3YVlzSh5WzJc7KAxqO-x7sJc,13105
|
|
487
502
|
examples/run_mcp_browser_client.py,sha256=6vEBxGtAuGffkFk-gr3NvqetO84IdhNzip5Jp7V1tSc,6772
|
|
488
503
|
examples/run_mcp_google_slides_client.py,sha256=l5B4sgDyyVEfL52WUiZw9mJjL5vOuD5ZJlnzIJbA-iw,11824
|
|
489
504
|
examples/run_mcp_list_tools.py,sha256=-dOM-7xyyDM2gp5e_8KZVGbX5ZxWqFQB9l-fHfR8XxY,7367
|
|
490
|
-
examples/run_poem_writer.py,sha256=
|
|
505
|
+
examples/run_poem_writer.py,sha256=C64YXkEYa3ZzUYv1AqZqe0NbLU8FEnUbujh22taRJu0,13141
|
|
491
506
|
examples/run_sqlite_agent.py,sha256=wy1Mp_F7RR0WmvfmxsPLG9JFPi6SpTVd0x_Ep76bUQ8,13159
|
|
492
507
|
examples/agent_team/__init__.py,sha256=WIg0HENp1TUClJ3p2gIRn0C-VW9Qr7Ttqtedr4xQ3Jo,51
|
|
493
|
-
autobyteus-1.2.
|
|
494
|
-
autobyteus-1.2.
|
|
495
|
-
autobyteus-1.2.
|
|
496
|
-
autobyteus-1.2.
|
|
508
|
+
autobyteus-1.2.1.dist-info/METADATA,sha256=1cQU7gEO6YR_sUD41ygzM0aHfMmwIbYOtbv5HdxGY0c,10174
|
|
509
|
+
autobyteus-1.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
510
|
+
autobyteus-1.2.1.dist-info/top_level.txt,sha256=vNmK1Y8Irbc0iDPdRtr9gIx5eLM-c2v1ntItkzICzHU,20
|
|
511
|
+
autobyteus-1.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# file: autobyteus/examples/run_agentic_software_engineer.py
|
|
2
|
+
import asyncio
|
|
3
|
+
import logging
|
|
4
|
+
import argparse
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
import sys
|
|
7
|
+
import os
|
|
8
|
+
|
|
9
|
+
# --- Boilerplate to make the script runnable from the project root ---
|
|
10
|
+
SCRIPT_DIR = Path(__file__).resolve().parent
|
|
11
|
+
PACKAGE_ROOT = SCRIPT_DIR.parent
|
|
12
|
+
if str(PACKAGE_ROOT) not in sys.path:
|
|
13
|
+
sys.path.insert(0, str(PACKAGE_ROOT))
|
|
14
|
+
|
|
15
|
+
# Load environment variables from .env file in the project root
|
|
16
|
+
try:
|
|
17
|
+
from dotenv import load_dotenv
|
|
18
|
+
env_file_path = PACKAGE_ROOT / ".env"
|
|
19
|
+
if env_file_path.exists():
|
|
20
|
+
load_dotenv(env_file_path)
|
|
21
|
+
print(f"Loaded environment variables from: {env_file_path}")
|
|
22
|
+
else:
|
|
23
|
+
print(f"Info: No .env file found at: {env_file_path}. Relying on exported environment variables.")
|
|
24
|
+
except ImportError:
|
|
25
|
+
print("Warning: python-dotenv not installed. Cannot load .env file.")
|
|
26
|
+
|
|
27
|
+
# --- Imports for the Agentic Software Engineer Example ---
|
|
28
|
+
try:
|
|
29
|
+
# Tool related imports
|
|
30
|
+
from autobyteus.tools.registry import default_tool_registry
|
|
31
|
+
from autobyteus.tools.tool_origin import ToolOrigin
|
|
32
|
+
# Import local tools to ensure they are registered
|
|
33
|
+
import autobyteus.tools.local_tools
|
|
34
|
+
|
|
35
|
+
# Workspace imports
|
|
36
|
+
from autobyteus.agent.workspace.local_workspace import LocalWorkspace
|
|
37
|
+
from autobyteus.agent.workspace.workspace_config import WorkspaceConfig
|
|
38
|
+
|
|
39
|
+
# For Agent creation
|
|
40
|
+
from autobyteus.agent.context.agent_config import AgentConfig
|
|
41
|
+
from autobyteus.llm.models import LLMModel
|
|
42
|
+
from autobyteus.llm.llm_factory import default_llm_factory, LLMFactory
|
|
43
|
+
from autobyteus.agent.factory.agent_factory import AgentFactory
|
|
44
|
+
from autobyteus.cli import agent_cli
|
|
45
|
+
except ImportError as e:
|
|
46
|
+
print(f"Error importing autobyteus components: {e}", file=sys.stderr)
|
|
47
|
+
print("Please ensure that the autobyteus library is installed and accessible.", file=sys.stderr)
|
|
48
|
+
sys.exit(1)
|
|
49
|
+
|
|
50
|
+
# --- Logging Setup ---
|
|
51
|
+
logger = logging.getLogger("agentic_swe_example")
|
|
52
|
+
interactive_logger = logging.getLogger("autobyteus.cli.interactive")
|
|
53
|
+
|
|
54
|
+
def setup_logging(args: argparse.Namespace):
|
|
55
|
+
"""
|
|
56
|
+
Configures logging for the interactive session.
|
|
57
|
+
"""
|
|
58
|
+
loggers_to_clear = [
|
|
59
|
+
logging.getLogger(),
|
|
60
|
+
logging.getLogger("autobyteus"),
|
|
61
|
+
logging.getLogger("autobyteus.cli"),
|
|
62
|
+
interactive_logger,
|
|
63
|
+
]
|
|
64
|
+
for l in loggers_to_clear:
|
|
65
|
+
if l.hasHandlers():
|
|
66
|
+
for handler in l.handlers[:]:
|
|
67
|
+
l.removeHandler(handler)
|
|
68
|
+
if hasattr(handler, 'close'): handler.close()
|
|
69
|
+
|
|
70
|
+
script_log_level = logging.DEBUG if args.debug else logging.INFO
|
|
71
|
+
|
|
72
|
+
# 1. Handler for unformatted interactive output
|
|
73
|
+
interactive_handler = logging.StreamHandler(sys.stdout)
|
|
74
|
+
interactive_logger.addHandler(interactive_handler)
|
|
75
|
+
interactive_logger.setLevel(logging.INFO)
|
|
76
|
+
interactive_logger.propagate = False
|
|
77
|
+
|
|
78
|
+
# 2. Handler for formatted console logs
|
|
79
|
+
console_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(name)s - %(message)s')
|
|
80
|
+
|
|
81
|
+
class FormattedConsoleFilter(logging.Filter):
|
|
82
|
+
def filter(self, record):
|
|
83
|
+
if record.name.startswith("agentic_swe_example") or record.name.startswith("autobyteus.cli"):
|
|
84
|
+
return True
|
|
85
|
+
if record.levelno >= logging.CRITICAL:
|
|
86
|
+
return True
|
|
87
|
+
return False
|
|
88
|
+
|
|
89
|
+
formatted_console_handler = logging.StreamHandler(sys.stdout)
|
|
90
|
+
formatted_console_handler.setFormatter(console_formatter)
|
|
91
|
+
formatted_console_handler.addFilter(FormattedConsoleFilter())
|
|
92
|
+
|
|
93
|
+
root_logger = logging.getLogger()
|
|
94
|
+
root_logger.addHandler(formatted_console_handler)
|
|
95
|
+
root_logger.setLevel(script_log_level)
|
|
96
|
+
|
|
97
|
+
# 3. Handler for the main agent log file
|
|
98
|
+
log_file_path = Path(args.agent_log_file).resolve()
|
|
99
|
+
log_file_path.parent.mkdir(parents=True, exist_ok=True)
|
|
100
|
+
agent_file_handler = logging.FileHandler(log_file_path, mode='w')
|
|
101
|
+
agent_file_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(name)s:%(lineno)d - %(message)s')
|
|
102
|
+
agent_file_handler.setFormatter(agent_file_formatter)
|
|
103
|
+
file_log_level = logging.DEBUG if args.debug else logging.INFO
|
|
104
|
+
|
|
105
|
+
autobyteus_logger = logging.getLogger("autobyteus")
|
|
106
|
+
autobyteus_logger.addHandler(agent_file_handler)
|
|
107
|
+
autobyteus_logger.setLevel(file_log_level)
|
|
108
|
+
autobyteus_logger.propagate = True
|
|
109
|
+
|
|
110
|
+
# 4. Configure `autobyteus.cli` package logging
|
|
111
|
+
cli_logger = logging.getLogger("autobyteus.cli")
|
|
112
|
+
cli_logger.setLevel(script_log_level)
|
|
113
|
+
cli_logger.propagate = True
|
|
114
|
+
|
|
115
|
+
logger.info(f"Core library logs (excluding CLI) redirected to: {log_file_path} (level: {logging.getLevelName(file_log_level)})")
|
|
116
|
+
|
|
117
|
+
# --- Environment Variable Checks ---
|
|
118
|
+
def check_required_env_vars():
|
|
119
|
+
"""Checks for environment variables required by this example. None are strictly required."""
|
|
120
|
+
logger.info("No specific environment variables are required, but ensure your chosen LLM provider's API key is set (e.g., GOOGLE_API_KEY).")
|
|
121
|
+
return {}
|
|
122
|
+
|
|
123
|
+
async def main(args: argparse.Namespace):
|
|
124
|
+
"""Main function to configure and run the Agentic Software Engineer."""
|
|
125
|
+
logger.info("--- Starting Agentic Software Engineer Example ---")
|
|
126
|
+
check_required_env_vars()
|
|
127
|
+
|
|
128
|
+
try:
|
|
129
|
+
# 1. Create a workspace for the agent.
|
|
130
|
+
workspace_path = Path(args.workspace_path).resolve()
|
|
131
|
+
workspace_path.mkdir(parents=True, exist_ok=True)
|
|
132
|
+
logger.info(f"Agent workspace initialized at: {workspace_path}")
|
|
133
|
+
workspace_config = WorkspaceConfig(params={"root_path": str(workspace_path)})
|
|
134
|
+
workspace = LocalWorkspace(config=workspace_config)
|
|
135
|
+
|
|
136
|
+
# 2. Get all available local tools.
|
|
137
|
+
tool_registry = default_tool_registry
|
|
138
|
+
local_tool_defs = tool_registry.get_tools_by_origin(ToolOrigin.LOCAL)
|
|
139
|
+
local_tool_names = [tool_def.name for tool_def in local_tool_defs]
|
|
140
|
+
|
|
141
|
+
if not local_tool_names:
|
|
142
|
+
logger.error("No local tools were found in the registry. Cannot create agent.")
|
|
143
|
+
return
|
|
144
|
+
|
|
145
|
+
logger.info(f"Creating instances for registered local tools: {local_tool_names}")
|
|
146
|
+
tools_for_agent = [tool_registry.create_tool(name) for name in local_tool_names]
|
|
147
|
+
|
|
148
|
+
# 3. Configure and create the agent.
|
|
149
|
+
try:
|
|
150
|
+
_ = LLMModel[args.llm_model]
|
|
151
|
+
except (KeyError, ValueError):
|
|
152
|
+
logger.error(f"LLM Model '{args.llm_model}' is not valid or ambiguous.", file=sys.stderr)
|
|
153
|
+
try:
|
|
154
|
+
LLMFactory.ensure_initialized()
|
|
155
|
+
print("\nAvailable LLM Models (use the 'Identifier' with --llm-model):")
|
|
156
|
+
all_models = sorted(list(LLMModel), key=lambda m: m.model_identifier)
|
|
157
|
+
if not all_models:
|
|
158
|
+
print(" No models found.")
|
|
159
|
+
for model in all_models:
|
|
160
|
+
print(f" - Display Name: {model.name:<30} Identifier: {model.model_identifier}")
|
|
161
|
+
except Exception as e:
|
|
162
|
+
print(f"Additionally, an error occurred while listing models: {e}", file=sys.stderr)
|
|
163
|
+
sys.exit(1)
|
|
164
|
+
|
|
165
|
+
logger.info(f"Creating LLM instance for model: {args.llm_model}")
|
|
166
|
+
llm_instance = default_llm_factory.create_llm(model_identifier=args.llm_model)
|
|
167
|
+
|
|
168
|
+
# Load system prompt from file
|
|
169
|
+
prompt_path = SCRIPT_DIR / "prompts" / "agentic_software_engineer.prompt"
|
|
170
|
+
if not prompt_path.exists():
|
|
171
|
+
logger.error(f"System prompt file not found at: {prompt_path}")
|
|
172
|
+
sys.exit(1)
|
|
173
|
+
with open(prompt_path, "r", encoding="utf-8") as f:
|
|
174
|
+
system_prompt = f.read()
|
|
175
|
+
logger.info(f"Loaded system prompt from: {prompt_path}")
|
|
176
|
+
|
|
177
|
+
agent_config = AgentConfig(
|
|
178
|
+
name="AgenticSoftwareDeveloper",
|
|
179
|
+
role="SoftwareEngineer",
|
|
180
|
+
description="An AI agent that can reason, plan, and execute software development tasks.",
|
|
181
|
+
llm_instance=llm_instance,
|
|
182
|
+
system_prompt=system_prompt,
|
|
183
|
+
tools=tools_for_agent,
|
|
184
|
+
workspace=workspace,
|
|
185
|
+
use_xml_tool_format=True, # As specified in the prompt
|
|
186
|
+
auto_execute_tools=False # Require user approval for safety
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
agent = AgentFactory().create_agent(config=agent_config)
|
|
190
|
+
logger.info(f"Agentic Software Engineer instance created: {agent.agent_id}")
|
|
191
|
+
|
|
192
|
+
# 4. Run the agent in an interactive CLI session.
|
|
193
|
+
logger.info(f"Starting interactive session for agent {agent.agent_id}...")
|
|
194
|
+
initial_prompt = f"Hello! I'm ready to work. My current working directory is `{workspace_path}`. What's the first task?"
|
|
195
|
+
await agent_cli.run(agent=agent, initial_prompt=initial_prompt, show_tool_logs=not args.no_tool_logs)
|
|
196
|
+
logger.info(f"Interactive session for agent {agent.agent_id} finished.")
|
|
197
|
+
|
|
198
|
+
except Exception as e:
|
|
199
|
+
logger.error(f"An error occurred during the agent workflow: {e}", exc_info=True)
|
|
200
|
+
|
|
201
|
+
logger.info("--- Agentic Software Engineer Example Finished ---")
|
|
202
|
+
|
|
203
|
+
if __name__ == "__main__":
|
|
204
|
+
parser = argparse.ArgumentParser(description="Run the Agentic Software Engineer interactively.")
|
|
205
|
+
parser.add_argument("--llm-model", type=str, default="gemini-2.0-flash-", help=f"The LLM model identifier to use. Call --help-models for list.")
|
|
206
|
+
parser.add_argument("--workspace-path", type=str, default="./agent_workspace", help="Path to the agent's working directory. (Default: ./agent_workspace)")
|
|
207
|
+
parser.add_argument("--help-models", action="store_true", help="Display available LLM models and exit.")
|
|
208
|
+
parser.add_argument("--debug", action="store_true", help="Enable debug logging.")
|
|
209
|
+
parser.add_argument("--agent-log-file", type=str, default="./agent_logs_swe.txt",
|
|
210
|
+
help="Path to the log file for autobyteus.* library logs. (Default: ./agent_logs_swe.txt)")
|
|
211
|
+
parser.add_argument("--no-tool-logs", action="store_true",
|
|
212
|
+
help="Disable display of [Tool Log (...)] messages on the console by the agent_cli.")
|
|
213
|
+
|
|
214
|
+
if "--help-models" in sys.argv:
|
|
215
|
+
try:
|
|
216
|
+
LLMFactory.ensure_initialized()
|
|
217
|
+
print("Available LLM Models (use the 'Identifier' with --llm-model):")
|
|
218
|
+
all_models = sorted(list(LLMModel), key=lambda m: m.model_identifier)
|
|
219
|
+
if not all_models:
|
|
220
|
+
print(" No models found.")
|
|
221
|
+
for model in all_models:
|
|
222
|
+
print(f" - Display Name: {model.name:<30} Identifier: {model.model_identifier}")
|
|
223
|
+
except Exception as e:
|
|
224
|
+
print(f"Error listing models: {e}")
|
|
225
|
+
sys.exit(0)
|
|
226
|
+
|
|
227
|
+
parsed_args = parser.parse_args()
|
|
228
|
+
|
|
229
|
+
setup_logging(parsed_args)
|
|
230
|
+
check_required_env_vars()
|
|
231
|
+
|
|
232
|
+
try:
|
|
233
|
+
asyncio.run(main(parsed_args))
|
|
234
|
+
except (KeyboardInterrupt, SystemExit):
|
|
235
|
+
logger.info("Script interrupted by user. Exiting.")
|
|
236
|
+
except Exception as e:
|
|
237
|
+
logger.error(f"An unhandled error occurred at the top level: {e}", exc_info=True)
|
|
238
|
+
finally:
|
|
239
|
+
logger.info("Exiting script.")
|
examples/run_poem_writer.py
CHANGED
|
@@ -39,7 +39,7 @@ try:
|
|
|
39
39
|
from autobyteus.llm.llm_factory import default_llm_factory, LLMFactory
|
|
40
40
|
from autobyteus.agent.factory.agent_factory import AgentFactory
|
|
41
41
|
from autobyteus.cli import agent_cli
|
|
42
|
-
from autobyteus.tools.file.
|
|
42
|
+
from autobyteus.tools.file.write_file import write_file
|
|
43
43
|
# Import core workspace and schema components from the library
|
|
44
44
|
from autobyteus.agent.workspace import BaseAgentWorkspace, WorkspaceConfig
|
|
45
45
|
from autobyteus.utils.parameter_schema import ParameterSchema, ParameterDefinition, ParameterType
|
|
@@ -176,8 +176,8 @@ async def main(args: argparse.Namespace):
|
|
|
176
176
|
workspace_base_path.mkdir(parents=True, exist_ok=True)
|
|
177
177
|
logger.info(f"Agent will be configured with a local workspace at: {workspace_base_path}")
|
|
178
178
|
|
|
179
|
-
# The
|
|
180
|
-
tools_for_agent = [
|
|
179
|
+
# The write_file tool is an instance ready to be used
|
|
180
|
+
tools_for_agent = [write_file]
|
|
181
181
|
|
|
182
182
|
# UPDATED: The system prompt now provides context about the workspace.
|
|
183
183
|
system_prompt = (
|
autobyteus/person/__init__.py
DELETED
|
File without changes
|
|
File without changes
|