agentkit-sdk-python 0.8.2__py3-none-any.whl → 0.8.3__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.
@@ -22,6 +22,7 @@ from contextlib import asynccontextmanager
22
22
  from typing import TYPE_CHECKING, Any
23
23
 
24
24
  import uvicorn
25
+ from a2a.types import AgentCard
25
26
  from fastapi import FastAPI, HTTPException, Request
26
27
  from fastapi.responses import StreamingResponse
27
28
  from google.adk.a2a.utils.agent_to_a2a import to_a2a
@@ -246,6 +247,12 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
246
247
  app: App | None = None,
247
248
  allow_origins: list[str] | None = None,
248
249
  allow_origin_regex: str | list[str] | None = None,
250
+ a2a_host: str = "localhost",
251
+ a2a_port: int = 8000,
252
+ a2a_protocol: str = "http",
253
+ agent_card: AgentCard | str | None = None,
254
+ push_config_store: Any | None = None,
255
+ task_store: Any | None = None,
249
256
  enable_auth: bool = False,
250
257
  identity: IdentityRuntimeConfig | RuntimeIdentity | None = None,
251
258
  identity_health_routes: tuple[str, ...] = (),
@@ -291,7 +298,16 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
291
298
  artifact_service=_artifact_service,
292
299
  credential_service=_credential_service,
293
300
  )
294
- to_a2a_kwargs: dict[str, Any] = {"agent": root_agent, "runner": runner}
301
+ to_a2a_kwargs: dict[str, Any] = {
302
+ "agent": root_agent,
303
+ "runner": runner,
304
+ "host": a2a_host,
305
+ "port": a2a_port,
306
+ "protocol": a2a_protocol,
307
+ "agent_card": agent_card,
308
+ "push_config_store": push_config_store,
309
+ "task_store": task_store,
310
+ }
295
311
  if enable_auth:
296
312
  to_a2a_kwargs["agent_executor_factory"] = (
297
313
  build_a2a_inbound_auth_executor_factory(
agentkit/version.py CHANGED
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- VERSION = "0.8.2"
15
+ VERSION = "0.8.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentkit-sdk-python
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure.
5
5
  Author-email: Xiangrui Cheng <innsdcc@gmail.com>, Yumeng Bao <baoyumeng.123@gmail.com>, Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>
6
6
  License: Apache License
@@ -1,6 +1,6 @@
1
1
  agentkit/__init__.py,sha256=l27ZMDslc3VhmmnPZJyrqVvTDoZ0LqhCtM5hw0caHcU,1021
2
2
  agentkit/errors.py,sha256=UWlXv0ZsXd_oLTMlxuf4u9-XkTdRYeVZueE--Z3JsHU,1214
3
- agentkit/version.py,sha256=g4CsgqE9kLMs6p4wSITaFW9ouorJTtg305eCrh59Tp0,653
3
+ agentkit/version.py,sha256=xEhKawiqKh4RyyWrZyHOgMSF5bDCSQFbUSczluijIkw,653
4
4
  agentkit/apps/__init__.py,sha256=_Na1A4NSaMbVfPbsFKj2U-yI5mytD7W5skMaAOGbauY,2328
5
5
  agentkit/apps/base_app.py,sha256=3hZZExL1wyTGWveJEZZoqXN086MzmkVS_WU1vyulIWg,754
6
6
  agentkit/apps/utils.py,sha256=IzimIDmT6FS6PV9MLimPh46mq5zT-EjVmnYPxBdyEq0,1934
@@ -8,7 +8,7 @@ agentkit/apps/a2a_app/__init__.py,sha256=pkSabKw7_ai4NOo56pXKL40EcaxIDh6HYxPXOY7
8
8
  agentkit/apps/a2a_app/a2a_app.py,sha256=mFuPFuqRlGdQ2VIjQq2_gtQKWwnkwSjSmIMRnammWJU,7605
9
9
  agentkit/apps/a2a_app/telemetry.py,sha256=vR8tf7EHLor62cxs5PBx4mrfHeOaV1a7Xryqlu8nGCU,4290
10
10
  agentkit/apps/agent_server_app/__init__.py,sha256=pkSabKw7_ai4NOo56pXKL40EcaxIDh6HYxPXOY7qWbo,634
11
- agentkit/apps/agent_server_app/agent_server_app.py,sha256=d955uLspgQg3B6sKtI2NKer1encsYFFb7mG2eleOLYo,26465
11
+ agentkit/apps/agent_server_app/agent_server_app.py,sha256=vdaNu0T3uRAVrw21KA2KWl5_0TyjoYxTCDh6vP0CGXM,26997
12
12
  agentkit/apps/agent_server_app/credential_service.py,sha256=jBSIY6-1yc01rRRVYN8wuahTIs9AEY4zH5JGSAWIzUU,3468
13
13
  agentkit/apps/agent_server_app/inbound_auth.py,sha256=FPCfFdg13Z9E-kasyZ-in3COdXHG_exKHAFThwXFnS8,1394
14
14
  agentkit/apps/agent_server_app/inbound_auth_adapter.py,sha256=n0ji_wKVmBOabepqTqWR1_0mrcYjH2xZlQJx-tGgNcs,6087
@@ -285,9 +285,9 @@ agentkit_identity/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
285
285
  agentkit_identity/runtime.py,sha256=hQHLvbAK760teFPTGZ0RG9Ed5DQAXAqIdaAm9ojzS34,14423
286
286
  agentkit_identity/transport.py,sha256=kwGHSEQ5Qcn1kIu6N6DVid7MdDUMj5uaIRIUA_tJ3cM,7693
287
287
  agentkit_identity/types.py,sha256=lT8KQz1pG0rgdy5Gh6WnM0mq9VqCsWSE41Z8Fw3DHZo,7358
288
- agentkit_sdk_python-0.8.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
289
- agentkit_sdk_python-0.8.2.dist-info/METADATA,sha256=ugfvvvLHRLoSYCYia3xEE394p17bvkHjjXPaQCGX5s0,21580
290
- agentkit_sdk_python-0.8.2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
291
- agentkit_sdk_python-0.8.2.dist-info/entry_points.txt,sha256=fhzZUsvsLXeB4mPaa0SBQiTBqFT404uDAKPaePAOUAE,58
292
- agentkit_sdk_python-0.8.2.dist-info/top_level.txt,sha256=Kw8DVx7vzg-oUh7xC_hBZw7OwKW3Y_fo_8rkWOL1d5o,27
293
- agentkit_sdk_python-0.8.2.dist-info/RECORD,,
288
+ agentkit_sdk_python-0.8.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
289
+ agentkit_sdk_python-0.8.3.dist-info/METADATA,sha256=HmabftCPFsfiG8eq1yjcw0E4Yi5bl6rME51RfTsyklY,21580
290
+ agentkit_sdk_python-0.8.3.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
291
+ agentkit_sdk_python-0.8.3.dist-info/entry_points.txt,sha256=fhzZUsvsLXeB4mPaa0SBQiTBqFT404uDAKPaePAOUAE,58
292
+ agentkit_sdk_python-0.8.3.dist-info/top_level.txt,sha256=Kw8DVx7vzg-oUh7xC_hBZw7OwKW3Y_fo_8rkWOL1d5o,27
293
+ agentkit_sdk_python-0.8.3.dist-info/RECORD,,