agentcrew-ai 0.8.8__py3-none-any.whl → 0.8.9__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.
AgentCrew/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.8.8"
1
+ __version__ = "0.8.9"
AgentCrew/app.py CHANGED
@@ -43,6 +43,41 @@ PROVIDER_LIST = [
43
43
  ]
44
44
 
45
45
 
46
+ def common_options(func):
47
+ import functools
48
+
49
+ @click.option(
50
+ "--provider",
51
+ type=click.Choice(PROVIDER_LIST),
52
+ default=None,
53
+ help="LLM provider to use (claude, groq, openai, google, github_copilot, or deepinfra)",
54
+ )
55
+ @click.option(
56
+ "--agent-config",
57
+ default=None,
58
+ help="Path/URL to the agent configuration file.",
59
+ )
60
+ @click.option(
61
+ "--mcp-config", default=None, help="Path to the mcp servers configuration file."
62
+ )
63
+ @click.option(
64
+ "--memory-llm",
65
+ type=click.Choice(
66
+ ["claude", "groq", "openai", "google", "deepinfra", "github_copilot"]
67
+ ),
68
+ default=None,
69
+ help="LLM Model use for analyzing and processing memory",
70
+ )
71
+ @click.option(
72
+ "--memory-path", default=None, help="Path to the memory database location"
73
+ )
74
+ @functools.wraps(func)
75
+ def wrapper(*args, **kwargs):
76
+ return func(*args, **kwargs)
77
+
78
+ return wrapper
79
+
80
+
46
81
  class AgentCrewApplication:
47
82
  """
48
83
  Centralized application class for AgentCrew.
AgentCrew/main.py CHANGED
@@ -4,6 +4,7 @@ import sys
4
4
  import requests
5
5
  import subprocess
6
6
  import platform
7
+ from .app import common_options
7
8
 
8
9
 
9
10
  PROVIDER_LIST = [
@@ -48,38 +49,6 @@ def cli():
48
49
  )
49
50
 
50
51
 
51
- def common_options(func):
52
- import functools
53
-
54
- @click.option(
55
- "--provider",
56
- type=click.Choice(PROVIDER_LIST),
57
- default=None,
58
- help="LLM provider to use (claude, groq, openai, google, github_copilot, or deepinfra)",
59
- )
60
- @click.option(
61
- "--agent-config",
62
- default=None,
63
- help="Path/URL to the agent configuration file.",
64
- )
65
- @click.option(
66
- "--mcp-config", default=None, help="Path to the mcp servers configuration file."
67
- )
68
- @click.option(
69
- "--memory-llm",
70
- type=click.Choice(
71
- ["claude", "groq", "openai", "google", "deepinfra", "github_copilot"]
72
- ),
73
- default=None,
74
- help="LLM Model use for analyzing and processing memory",
75
- )
76
- @functools.wraps(func)
77
- def wrapper(*args, **kwargs):
78
- return func(*args, **kwargs)
79
-
80
- return wrapper
81
-
82
-
83
52
  def cli_prod():
84
53
  if sys.argv[1] == "--version":
85
54
  click.echo(f"AgentCrew version: {get_current_version()}")
@@ -251,11 +220,16 @@ def run_update_command():
251
220
  default=False,
252
221
  help="Enable voice input/output (if supported by the agent)",
253
222
  )
254
- def chat(provider, agent_config, mcp_config, memory_llm, console, with_voice):
223
+ def chat(
224
+ provider, agent_config, mcp_config, memory_llm, memory_path, console, with_voice
225
+ ):
255
226
  """Start an interactive chat session with LLM"""
256
227
  check_and_update()
257
228
  from AgentCrew.app import AgentCrewApplication
258
229
 
230
+ if memory_path:
231
+ os.environ["MEMORYDB_PATH"] = memory_path
232
+
259
233
  app = AgentCrewApplication()
260
234
 
261
235
  if console:
@@ -276,15 +250,19 @@ def a2a_server(
276
250
  port,
277
251
  base_url,
278
252
  provider,
279
- model_id,
280
253
  agent_config,
281
- api_key,
282
254
  mcp_config,
283
255
  memory_llm,
256
+ memory_path,
257
+ model_id,
258
+ api_key,
284
259
  ):
285
260
  """Start an A2A server exposing all SwissKnife agents"""
286
261
  from AgentCrew.app import AgentCrewApplication
287
262
 
263
+ if memory_path:
264
+ os.environ["MEMORYDB_PATH"] = memory_path
265
+
288
266
  app = AgentCrewApplication()
289
267
  app.run_server(
290
268
  host=host,
@@ -325,6 +303,7 @@ def job(
325
303
  agent_config,
326
304
  mcp_config,
327
305
  memory_llm,
306
+ memory_path,
328
307
  output_schema,
329
308
  task,
330
309
  files,
@@ -332,6 +311,9 @@ def job(
332
311
  """Run a single job/task with an agent"""
333
312
  from AgentCrew.app import AgentCrewApplication
334
313
 
314
+ if memory_path:
315
+ os.environ["MEMORYDB_PATH"] = memory_path
316
+
335
317
  try:
336
318
  app = AgentCrewApplication()
337
319
  response = app.run_job(
AgentCrew/main_docker.py CHANGED
@@ -96,10 +96,13 @@ def get_current_version():
96
96
 
97
97
  @cli.command()
98
98
  @common_options
99
- def chat(provider, agent_config, mcp_config, memory_llm):
99
+ def chat(provider, agent_config, mcp_config, memory_llm, memory_path):
100
100
  """Start an interactive chat session with LLM"""
101
101
  from AgentCrew.app import AgentCrewApplication
102
102
 
103
+ if memory_path:
104
+ os.environ["MEMORYDB_PATH"] = memory_path
105
+
103
106
  app = AgentCrewApplication()
104
107
  app.run_console(provider, agent_config, mcp_config, memory_llm)
105
108
 
@@ -116,15 +119,19 @@ def a2a_server(
116
119
  port,
117
120
  base_url,
118
121
  provider,
119
- model_id,
120
122
  agent_config,
121
- api_key,
122
123
  mcp_config,
123
124
  memory_llm,
125
+ memory_path,
126
+ model_id,
127
+ api_key,
124
128
  ):
125
129
  """Start an A2A server exposing all SwissKnife agents"""
126
130
  from AgentCrew.app import AgentCrewApplication
127
131
 
132
+ if memory_path:
133
+ os.environ["MEMORYDB_PATH"] = memory_path
134
+
128
135
  app = AgentCrewApplication()
129
136
  app.run_server(
130
137
  host=host,
@@ -165,6 +172,7 @@ def job(
165
172
  agent_config,
166
173
  mcp_config,
167
174
  memory_llm,
175
+ memory_path,
168
176
  output_schema,
169
177
  task,
170
178
  files,
@@ -172,6 +180,9 @@ def job(
172
180
  """Run a single job/task with an agent"""
173
181
  from AgentCrew.app import AgentCrewApplication
174
182
 
183
+ if memory_path:
184
+ os.environ["MEMORYDB_PATH"] = memory_path
185
+
175
186
  try:
176
187
  app = AgentCrewApplication()
177
188
  response = app.run_job(
@@ -170,10 +170,6 @@ def extract_clickable_elements(chrome_interface, uuid_mapping: Dict[str, str]) -
170
170
  text = element.get("text", "").strip()
171
171
  element_type = element.get("type", "").strip()
172
172
 
173
- # Skip empty text entries
174
- if not text:
175
- continue
176
-
177
173
  # Generate UUID and store mapping
178
174
  element_uuid = str(uuid.uuid4())[:8] # Use first 8 characters for brevity
179
175
  uuid_mapping[element_uuid] = xpath
@@ -231,7 +231,9 @@ class CommandHandlers:
231
231
  """
232
232
  try:
233
233
  if file_or_url.startswith("@hub/"):
234
- hub_host = os.environ.get("AGENTCREW_HUB_HOST", "https://agentplace.cloud")
234
+ hub_host = os.environ.get(
235
+ "AGENTCREW_HUB_HOST", "https://agentplace.cloud"
236
+ )
235
237
  file_or_url = hub_host.rstrip("/") + "/" + file_or_url[5:]
236
238
 
237
239
  if file_or_url.startswith(("http://", "https://")):
@@ -90,6 +90,15 @@ _OPENAI_MODELS = [
90
90
  input_token_price_1m=0.25,
91
91
  output_token_price_1m=2.0,
92
92
  ),
93
+ Model(
94
+ id="gpt-5.1-codex-max",
95
+ provider="openai",
96
+ name="GPT-5.1 Codex Max",
97
+ description="GPT‑5.1-Codex-Max is purpose-built for agentic coding",
98
+ capabilities=["tool_use", "vision", "thinking", "stream", "structured_output"],
99
+ input_token_price_1m=1.25,
100
+ output_token_price_1m=10.0,
101
+ ),
93
102
  Model(
94
103
  id="gpt-4.1-mini",
95
104
  provider="openai",
@@ -440,6 +449,18 @@ _GITHUB_COPILOT_MODELS = [
440
449
  output_token_price_1m=0.0,
441
450
  endpoint="response",
442
451
  ),
452
+ Model(
453
+ id="gpt-5.1-codex-max",
454
+ provider="copilot_response",
455
+ name="GPT 5.1 Codex Max",
456
+ description="",
457
+ capabilities=["tool_use", "vision", "stream", "structured_output"],
458
+ default=False,
459
+ max_context_token=400_000,
460
+ input_token_price_1m=0.0,
461
+ output_token_price_1m=0.0,
462
+ endpoint="response",
463
+ ),
443
464
  Model(
444
465
  id="gpt-5-mini",
445
466
  provider="github_copilot",
@@ -225,7 +225,6 @@ class OpenAIResponseService(BaseLLMService):
225
225
  "input": input_data,
226
226
  "stream": True,
227
227
  "instructions": self.system_prompt or None,
228
- "temperature": self.temperature,
229
228
  }
230
229
 
231
230
  forced_sample_params = ModelRegistry.get_model_sample_params(full_model_id)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentcrew-ai
3
- Version: 0.8.8
3
+ Version: 0.8.9
4
4
  Summary: Multi-Agents Interactive Chat Tool
5
5
  Author-email: Quy Truong <quy.truong@saigontechnology.com>
6
6
  License-Expression: Apache-2.0
@@ -1,7 +1,7 @@
1
- AgentCrew/__init__.py,sha256=S5bBAK8bL7bybaXGJQuNE98fa3H65zGjTASMiyKGJGw,22
2
- AgentCrew/app.py,sha256=s3pPfZfaZYxCNUC3HYWVQScK1iQZil6_Xguht3XX6mc,36603
3
- AgentCrew/main.py,sha256=tjyw4Z29YKKyzVKqDgF5icI1IM59DUiJrXZw6Sv_xN8,11187
4
- AgentCrew/main_docker.py,sha256=1jpB-XOm-t3GWTKYidGHHkCSzJ-p39ua0E6-_Nj8_9Y,5472
1
+ AgentCrew/__init__.py,sha256=T_KJ6wC4_7ACZxAbwfyP-VebNMS9LmQPJkxTu-kAzQU,22
2
+ AgentCrew/app.py,sha256=-eujOhmWiZ3rUduYr_pFBXiPCDbLcGfKliEQSL7JiNI,37589
3
+ AgentCrew/main.py,sha256=oGC70laHx6le_r7k7frUGOie0-OdNkEPPQmTiCg2Hn8,10607
4
+ AgentCrew/main_docker.py,sha256=QWTpOQa9EXwkf3DqZ6O1nelXdic8vWaSlhfvr5UGp2I,5732
5
5
  AgentCrew/assets/agentcrew_logo.png,sha256=bA4WQ9QrZXxBd_GfbR2s5GWBRrRodzeDynQj7XHIPNw,944381
6
6
  AgentCrew/modules/__init__.py,sha256=XFPEOINvFcwT5wToPt3lm4wst-XiBNjeAIK3s5QfV3Q,1191
7
7
  AgentCrew/modules/a2a/__init__.py,sha256=gFX0PAA6sxCRyAo_Gbs81cK2FckW11GnTxMhQpchkmg,208
@@ -33,7 +33,7 @@ AgentCrew/modules/anthropic/__init__.py,sha256=OcpRL0PKADMAS7hxTOH6U7J-NeiQJBm6x
33
33
  AgentCrew/modules/anthropic/service.py,sha256=olpiiptIVubc11zmbALOoAMFU-XVx_bIHcj82sUBTS4,18839
34
34
  AgentCrew/modules/browser_automation/__init__.py,sha256=1Qq6Rqz4Mv4arPKWKSDgIOV-G72R5Jey2-qdkLMLVKA,86
35
35
  AgentCrew/modules/browser_automation/chrome_manager.py,sha256=iBFcImVoeUF5qc8eRzSsihuBSiPhDF0DOSYfda7OHas,11901
36
- AgentCrew/modules/browser_automation/element_extractor.py,sha256=J1Gp6xDSWFDt7690JgBhX6ryXfNeVUCLwYBA3IGtCqo,15914
36
+ AgentCrew/modules/browser_automation/element_extractor.py,sha256=APW2M-6bok4YZFG8DiY3iJ4jQEC14fqaaSquNCAjHcQ,15825
37
37
  AgentCrew/modules/browser_automation/js_loader.py,sha256=gw5ifmsenH85V2KOgtqsQpyunvWNazEeH7u_NESDK40,18010
38
38
  AgentCrew/modules/browser_automation/service.py,sha256=uG-ltAqtJwiS8KVAdVzf7STbYh6Rt2_4lVFIXDTSws8,27546
39
39
  AgentCrew/modules/browser_automation/tool.py,sha256=oKhrEeE4pld4GHbxxz6Ia3eyOq11AOZyO8tv6GbjCEQ,23263
@@ -73,7 +73,7 @@ AgentCrew/modules/command_execution/types.py,sha256=kosDGBMF7DFGLdhxYxhOOZHf0URK
73
73
  AgentCrew/modules/config/__init__.py,sha256=ehO0aAkK98f9BmMjG9uR15Hc9Lwj9CnJZl24XUtUT_M,80
74
74
  AgentCrew/modules/config/config_management.py,sha256=yxmfx1nQAZxTzJ4g3F3ybYlmTTFpMmKxfNETyzsQ9uA,33648
75
75
  AgentCrew/modules/console/__init__.py,sha256=nO53lUaMEAshdIqDEmgNZ_r35jyg6CuMa7Tsj55Y09g,66
76
- AgentCrew/modules/console/command_handlers.py,sha256=1r1iW_zWFZMAqRwyYk9vM6N_2hLnLr2zPMx2013nrow,16495
76
+ AgentCrew/modules/console/command_handlers.py,sha256=eleobLeNjnkzB_ZcvFq9gXWLs0wMqleVOJgaICo3YBI,16533
77
77
  AgentCrew/modules/console/completers.py,sha256=WeP5rJvCWq4Ept2_ajK9wjpDiTT4C5blcX5TeV3GSzU,17682
78
78
  AgentCrew/modules/console/confirmation_handler.py,sha256=sOhJVmrMgiqTlUI6G9xjzseeeWn54G-aOc6WevWcXL8,10221
79
79
  AgentCrew/modules/console/console_ui.py,sha256=jfA3X_70fyCrE1f8zsG0b1wiNpxYCEVp8dhYb2ZM2KE,29836
@@ -151,7 +151,7 @@ AgentCrew/modules/image_generation/service.py,sha256=OEuVaVd4ecKSdZn-WGMmqyZtqDw
151
151
  AgentCrew/modules/image_generation/tool.py,sha256=TCe6tOvvCXj5LvjMtmxH1AQ5s2FWHDA79ix43hdzGZs,6087
152
152
  AgentCrew/modules/llm/__init__.py,sha256=dMlHRa09bbPEVZnGXm62TcHmbvQzdBqmRIxstlrls8k,63
153
153
  AgentCrew/modules/llm/base.py,sha256=S2Tzg4LXQv69MVjNScWbpid3cM20QCgW0KHQqvghjeI,11511
154
- AgentCrew/modules/llm/constants.py,sha256=yur9HHdmRtyvMUj8m5InM0EsOfcL1Q4TuvogAjHxXjA,19807
154
+ AgentCrew/modules/llm/constants.py,sha256=yLDPMTdW2-szeN9gsf_1t1g9zy1iVQVj1RntEKnaOpM,20533
155
155
  AgentCrew/modules/llm/model_registry.py,sha256=7gJqn-YoentH2Xx0AlF5goyxQDlEBMFWak2poafjhyI,5510
156
156
  AgentCrew/modules/llm/service_manager.py,sha256=oXSjcAbrfcGLdBcm_ylnSWIp87Ecl96yZ8efkWFb4Gw,10669
157
157
  AgentCrew/modules/llm/types.py,sha256=Bkr1OIRJJ5neUiSCMUJco8SwerrycPh5Xg1kVDpO0os,949
@@ -170,7 +170,7 @@ AgentCrew/modules/memory/google_genai_ef.py,sha256=8_c9MOR3HNJ-m-KT35eOUGHsN_wsw
170
170
  AgentCrew/modules/memory/tool.py,sha256=C8igk7GGoOgkKlwmVsn3m92Is-N5obxNVmxZONrtE8k,13180
171
171
  AgentCrew/modules/memory/voyageai_ef.py,sha256=X9znUSfT9Ozd-l1Ak9ulBAZzfGu9G9W18V8XKdIytWk,4508
172
172
  AgentCrew/modules/openai/__init__.py,sha256=w5Ytp3ckIsrcrkyaQl0OWWTHlulqBT7sYEYhxkYaOmE,141
173
- AgentCrew/modules/openai/response_service.py,sha256=5HTfeCui15rYnJfXA-41BqE5iDBVObWpFB9bQxU1jjo,25050
173
+ AgentCrew/modules/openai/response_service.py,sha256=vXXcBYq_Hc3-2YMMkoszVkYijvtJ2mw_bzKOwElQFNA,25005
174
174
  AgentCrew/modules/openai/service.py,sha256=ngCT-iY-lnCCbrlOrf1V0MNH-n2VRAml_oijv7xD8f4,16235
175
175
  AgentCrew/modules/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
176
176
  AgentCrew/modules/prompts/constants.py,sha256=1PG4alXmPFKYA3UIUYG1v_ZdWg6zHlLPfgC9wAH0IkE,12223
@@ -186,9 +186,9 @@ AgentCrew/modules/voice/text_cleaner.py,sha256=NgAVBPkP2hFI330nJOyMK_oqP3R2AGZ22
186
186
  AgentCrew/modules/web_search/__init__.py,sha256=sVf_z6nH2JghK46pG92PUtDghPIkceiX1F0Ul30euXU,111
187
187
  AgentCrew/modules/web_search/service.py,sha256=DKcOdRSHB5AEvbK8pvTXdffSnk6rFRTzaM1FXf2B70E,4006
188
188
  AgentCrew/modules/web_search/tool.py,sha256=GV4xleVFs0UwiPS9toSzPzZei3ehsDZWxTQCJCRaEs8,6655
189
- agentcrew_ai-0.8.8.dist-info/licenses/LICENSE,sha256=O51CIaOUcxVLNf0_PE_a8ap5bf3iXe4SrWN_5NO1PSU,11348
190
- agentcrew_ai-0.8.8.dist-info/METADATA,sha256=cz6FnFH2CvTU0-GLEgqO0eEzO8K3wfw-J0q0QjvzMSg,18056
191
- agentcrew_ai-0.8.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
192
- agentcrew_ai-0.8.8.dist-info/entry_points.txt,sha256=N9R5jslrBYA8dTaNMRJ_JdSosJ6jkpGEtnJFzlcZD6k,54
193
- agentcrew_ai-0.8.8.dist-info/top_level.txt,sha256=bSsmhCOn6g-JytoVMpxB_QAnCgb7lV56fcnxUhbfrvg,10
194
- agentcrew_ai-0.8.8.dist-info/RECORD,,
189
+ agentcrew_ai-0.8.9.dist-info/licenses/LICENSE,sha256=O51CIaOUcxVLNf0_PE_a8ap5bf3iXe4SrWN_5NO1PSU,11348
190
+ agentcrew_ai-0.8.9.dist-info/METADATA,sha256=d6OYuXQXEkzefsABlfxc8Q7SmvbbIFKv61k3JneKWQc,18056
191
+ agentcrew_ai-0.8.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
192
+ agentcrew_ai-0.8.9.dist-info/entry_points.txt,sha256=N9R5jslrBYA8dTaNMRJ_JdSosJ6jkpGEtnJFzlcZD6k,54
193
+ agentcrew_ai-0.8.9.dist-info/top_level.txt,sha256=bSsmhCOn6g-JytoVMpxB_QAnCgb7lV56fcnxUhbfrvg,10
194
+ agentcrew_ai-0.8.9.dist-info/RECORD,,