traia-iatp 0.1.2__py3-none-any.whl → 0.1.67__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.
- traia_iatp/__init__.py +105 -8
- traia_iatp/cli/main.py +85 -1
- traia_iatp/client/__init__.py +28 -3
- traia_iatp/client/crewai_a2a_tools.py +32 -12
- traia_iatp/client/d402_a2a_client.py +348 -0
- traia_iatp/contracts/__init__.py +11 -0
- traia_iatp/contracts/data/abis/contract-abis-localhost.json +4091 -0
- traia_iatp/contracts/data/abis/contract-abis-sepolia.json +4890 -0
- traia_iatp/contracts/data/addresses/contract-addresses.json +17 -0
- traia_iatp/contracts/data/addresses/contract-proxies.json +12 -0
- traia_iatp/contracts/iatp_contracts_config.py +263 -0
- traia_iatp/contracts/wallet_creator.py +369 -0
- traia_iatp/core/models.py +17 -3
- traia_iatp/d402/MIDDLEWARE_ARCHITECTURE.md +205 -0
- traia_iatp/d402/PRICE_BUILDER_USAGE.md +249 -0
- traia_iatp/d402/README.md +489 -0
- traia_iatp/d402/__init__.py +54 -0
- traia_iatp/d402/asgi_wrapper.py +469 -0
- traia_iatp/d402/chains.py +102 -0
- traia_iatp/d402/client.py +150 -0
- traia_iatp/d402/clients/__init__.py +7 -0
- traia_iatp/d402/clients/base.py +218 -0
- traia_iatp/d402/clients/httpx.py +266 -0
- traia_iatp/d402/common.py +114 -0
- traia_iatp/d402/encoding.py +28 -0
- traia_iatp/d402/examples/client_example.py +197 -0
- traia_iatp/d402/examples/server_example.py +171 -0
- traia_iatp/d402/facilitator.py +481 -0
- traia_iatp/d402/mcp_middleware.py +296 -0
- traia_iatp/d402/models.py +116 -0
- traia_iatp/d402/networks.py +98 -0
- traia_iatp/d402/path.py +43 -0
- traia_iatp/d402/payment_introspection.py +126 -0
- traia_iatp/d402/payment_signing.py +183 -0
- traia_iatp/d402/price_builder.py +164 -0
- traia_iatp/d402/servers/__init__.py +61 -0
- traia_iatp/d402/servers/base.py +139 -0
- traia_iatp/d402/servers/example_general_server.py +140 -0
- traia_iatp/d402/servers/fastapi.py +253 -0
- traia_iatp/d402/servers/mcp.py +304 -0
- traia_iatp/d402/servers/starlette.py +878 -0
- traia_iatp/d402/starlette_middleware.py +529 -0
- traia_iatp/d402/types.py +300 -0
- traia_iatp/mcp/D402_MCP_ADAPTER_FLOW.md +357 -0
- traia_iatp/mcp/__init__.py +3 -0
- traia_iatp/mcp/d402_mcp_tool_adapter.py +526 -0
- traia_iatp/mcp/mcp_agent_template.py +78 -13
- traia_iatp/mcp/templates/Dockerfile.j2 +27 -4
- traia_iatp/mcp/templates/README.md.j2 +104 -8
- traia_iatp/mcp/templates/cursor-rules.md.j2 +194 -0
- traia_iatp/mcp/templates/deployment_params.json.j2 +1 -2
- traia_iatp/mcp/templates/docker-compose.yml.j2 +13 -3
- traia_iatp/mcp/templates/env.example.j2 +60 -0
- traia_iatp/mcp/templates/mcp_health_check.py.j2 +2 -2
- traia_iatp/mcp/templates/pyproject.toml.j2 +11 -5
- traia_iatp/mcp/templates/pyrightconfig.json.j2 +22 -0
- traia_iatp/mcp/templates/run_local_docker.sh.j2 +320 -10
- traia_iatp/mcp/templates/server.py.j2 +174 -197
- traia_iatp/mcp/traia_mcp_adapter.py +182 -20
- traia_iatp/registry/__init__.py +47 -12
- traia_iatp/registry/atlas_search_indexes.json +108 -54
- traia_iatp/registry/iatp_search_api.py +169 -39
- traia_iatp/registry/mongodb_registry.py +241 -69
- traia_iatp/registry/readmes/EMBEDDINGS_SETUP.md +1 -1
- traia_iatp/registry/readmes/IATP_SEARCH_API_GUIDE.md +8 -8
- traia_iatp/registry/readmes/MONGODB_X509_AUTH.md +1 -1
- traia_iatp/registry/readmes/README.md +3 -3
- traia_iatp/registry/readmes/REFACTORING_SUMMARY.md +6 -6
- traia_iatp/scripts/__init__.py +2 -0
- traia_iatp/scripts/create_wallet.py +244 -0
- traia_iatp/server/a2a_server.py +22 -7
- traia_iatp/server/iatp_server_template_generator.py +23 -0
- traia_iatp/server/templates/.dockerignore.j2 +48 -0
- traia_iatp/server/templates/Dockerfile.j2 +23 -1
- traia_iatp/server/templates/README.md +2 -2
- traia_iatp/server/templates/README.md.j2 +5 -5
- traia_iatp/server/templates/__main__.py.j2 +374 -66
- traia_iatp/server/templates/agent.py.j2 +12 -11
- traia_iatp/server/templates/agent_config.json.j2 +3 -3
- traia_iatp/server/templates/agent_executor.py.j2 +45 -27
- traia_iatp/server/templates/env.example.j2 +32 -4
- traia_iatp/server/templates/gitignore.j2 +7 -0
- traia_iatp/server/templates/pyproject.toml.j2 +13 -12
- traia_iatp/server/templates/run_local_docker.sh.j2 +143 -11
- traia_iatp/server/templates/server.py.j2 +197 -10
- traia_iatp/special_agencies/registry_search_agency.py +1 -1
- traia_iatp/utils/iatp_utils.py +6 -6
- traia_iatp-0.1.67.dist-info/METADATA +320 -0
- traia_iatp-0.1.67.dist-info/RECORD +117 -0
- traia_iatp-0.1.2.dist-info/METADATA +0 -414
- traia_iatp-0.1.2.dist-info/RECORD +0 -72
- {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/WHEEL +0 -0
- {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/entry_points.txt +0 -0
- {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/licenses/LICENSE +0 -0
- {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
traia_iatp/README.md,sha256=Ry0X-sXiJ0Qi8WAq58mvUaazDqxIoV3ZvgpAoTtxSSU,10937
|
|
2
|
+
traia_iatp/__init__.py,sha256=CYc-2fXYhVi4dIhksUKJ74hlYAQMh-LNyrWWPtJfjPw,4315
|
|
3
|
+
traia_iatp/preview_diagrams.html,sha256=v5T6sAyA33b2DHib29WEa02wJq31UlvES9TFkKqrdMk,4708
|
|
4
|
+
traia_iatp/cli/__init__.py,sha256=nGgVg7pOjyIiWN5akKxqhKSHcpvU0VaDrH_vuhBEVcE,65
|
|
5
|
+
traia_iatp/cli/main.py,sha256=j-4FCMTi8bWojyuSoj7iByLuynEN5I9phmLOtz4L_bc,24417
|
|
6
|
+
traia_iatp/client/__init__.py,sha256=SPaUmhXKdNeDk3702iF3MGJ2DErioed2N2g6YsVRSpI,1093
|
|
7
|
+
traia_iatp/client/a2a_client.py,sha256=fJwcPC9vmuH6Q4QSDUDGFNZyx9QQvuR9pPtbgKavkiM,10116
|
|
8
|
+
traia_iatp/client/crewai_a2a_tools.py,sha256=AKHlcRDByahVi3Xnpc-xXRJtZyGvhCRbF0qs1BMZNco,15469
|
|
9
|
+
traia_iatp/client/d402_a2a_client.py,sha256=kxmDmX-fp6qGCrAtA7B_pRorjtNN7ldf4WSyhf97oXc,12361
|
|
10
|
+
traia_iatp/client/grpc_a2a_tools.py,sha256=pVt6UASXdt096ZNfcTqY0pjaTqLr-0Ptl8xd68rxRWQ,13003
|
|
11
|
+
traia_iatp/client/root_path_a2a_client.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
12
|
+
traia_iatp/contracts/__init__.py,sha256=NmCAWo-wNwnwl9q9EpebluUPaapy8Ga8Ibev1xD26-0,280
|
|
13
|
+
traia_iatp/contracts/iatp_contracts_config.py,sha256=BSHdILvHTG-d6I6iDY3I0NaSKqbq79GxljFOhMXuBCw,8293
|
|
14
|
+
traia_iatp/contracts/wallet_creator.py,sha256=vWqkJUkQ4v9LxOHqHIZjus39Jz7T2pHWVfZ0bnptrKg,14666
|
|
15
|
+
traia_iatp/contracts/data/abis/contract-abis-localhost.json,sha256=7OoOXM0DjXx7eaBpURVkb3PVaM8_ocULJNdA8K6xDP8,137907
|
|
16
|
+
traia_iatp/contracts/data/abis/contract-abis-sepolia.json,sha256=04EWx874CCsIiZYpf3g2hhZfVnC0Nyv34xRCjb8z0I8,163822
|
|
17
|
+
traia_iatp/contracts/data/addresses/contract-addresses.json,sha256=f5_C7PyEu-BBpGrIFI-gEy0h2ywBcfX1pqvbNKlf5XY,958
|
|
18
|
+
traia_iatp/contracts/data/addresses/contract-proxies.json,sha256=iCSx730pepSB3OAE9ZO08wB0_PU_R0mO70wh-6t9SD0,492
|
|
19
|
+
traia_iatp/core/__init__.py,sha256=SdGs25MkNWok77wRtbCJFGkD85QAmYUAB40Fn9mHeXk,755
|
|
20
|
+
traia_iatp/core/models.py,sha256=E56IKUjcyTRyY6byaKkjLLa_wMVXYCx-QddLtmBw1AI,9306
|
|
21
|
+
traia_iatp/d402/MIDDLEWARE_ARCHITECTURE.md,sha256=xCTI07THNTaCXDei16U3P8Ca9diop82Q220dPcZDI7E,6052
|
|
22
|
+
traia_iatp/d402/PRICE_BUILDER_USAGE.md,sha256=PHGZYrongC8J3Hfps9ytLmoJz8bTGrnLPfEgmQweuGU,6706
|
|
23
|
+
traia_iatp/d402/README.md,sha256=zdGz7VWawYtE9jVlyH3SGZJA275WdluwaTjHGEO6WfY,15775
|
|
24
|
+
traia_iatp/d402/__init__.py,sha256=3TBlj2tCzS5apDYn5Vo4IXMwCv_lnJxJ_7xl5-PTC9U,1564
|
|
25
|
+
traia_iatp/d402/asgi_wrapper.py,sha256=4xwNC5EZIiKuwyL3IuZI-q-JF_0Ri1GUCy_la2aGxGM,20170
|
|
26
|
+
traia_iatp/d402/chains.py,sha256=Fb8rBHzvrk6xHctOMO_e9-Ws0EKcIBAnwxRzw5fQCCE,3141
|
|
27
|
+
traia_iatp/d402/client.py,sha256=cC0UiaHC1lMr655s_XQTBRV6XB8nibcBoi58ZNXGf2s,5071
|
|
28
|
+
traia_iatp/d402/common.py,sha256=I330oSOcXq-GFsRrbZ3b6_AaszHaOYlBHrV3OSu32YA,3561
|
|
29
|
+
traia_iatp/d402/encoding.py,sha256=n-D5CevbJI7y0O_9OASOinB1vigYOOSU9RsWWSixMTk,633
|
|
30
|
+
traia_iatp/d402/facilitator.py,sha256=7sZhkbGI6VEfv70HxVYhCdau78eL2j_tggaKI1Cy6eg,21414
|
|
31
|
+
traia_iatp/d402/mcp_middleware.py,sha256=UM928uy-sFXLLUGP4hdxRXltUVHBaWgSywrOb037m34,12262
|
|
32
|
+
traia_iatp/d402/models.py,sha256=POK7YMbO8E6v6U-269UzaHF0yVIwDma7clzArBlqpJA,4577
|
|
33
|
+
traia_iatp/d402/networks.py,sha256=ZKEtnf-pEfh0YKtNIBpmSlUaAusEzZrLZrYLBnTSPns,2963
|
|
34
|
+
traia_iatp/d402/path.py,sha256=G3oxm12FS1OsxXK_BPopS4bVCFrei5MOMnQAvDbgZsY,1311
|
|
35
|
+
traia_iatp/d402/payment_introspection.py,sha256=-DLLz303Sr0rQuMwSZeR-QhGhXpssib8D9LtmxtS6Zs,5053
|
|
36
|
+
traia_iatp/d402/payment_signing.py,sha256=C3aKrJHPDwakXCqiIsm_uCe3-RnEKzH7djMUR_mMvaI,7152
|
|
37
|
+
traia_iatp/d402/price_builder.py,sha256=G1FaEkY_6Fn705b0YIt4P8kPfWCJB9y63bzmr0kXxno,5721
|
|
38
|
+
traia_iatp/d402/starlette_middleware.py,sha256=-ucvhuP2YOsVWAcspHhuLtp2MHMtskHW-iRS85eaAQc,29562
|
|
39
|
+
traia_iatp/d402/types.py,sha256=bRi-rNAFIhbfYclOJ8RHs1RSFFEkFGCx7gVZuFxztHA,8190
|
|
40
|
+
traia_iatp/d402/clients/__init__.py,sha256=nC5qL6u35KDfK_NtGJdl8tvK7CQzyq8su4a6Kn2z9Ks,244
|
|
41
|
+
traia_iatp/d402/clients/base.py,sha256=_u3ass6j6RPupuV6QvsHqNunc1JXi9K1SZR9v1J-i1Y,8382
|
|
42
|
+
traia_iatp/d402/clients/httpx.py,sha256=Et2iggvbc74RrrSa9HG9RMChny743HM3gvab3KhqWtI,11118
|
|
43
|
+
traia_iatp/d402/examples/client_example.py,sha256=28l8L5wOrEZKfCdwJBoslAEmR2tQ-XMD2HpsYT82trs,6337
|
|
44
|
+
traia_iatp/d402/examples/server_example.py,sha256=Xt6BDp6yzVmFnGE6or_TppElKxt9d3XIVQCZ9e9l7w4,5101
|
|
45
|
+
traia_iatp/d402/servers/__init__.py,sha256=OsLIUFuSjWZRFqMataG4oHCULWCBVGD5Km39qlgZGCg,1697
|
|
46
|
+
traia_iatp/d402/servers/base.py,sha256=lyu88cISPaLSCeX7yb2Pm7Cy-KhmuriWy_qKmovvm1U,4649
|
|
47
|
+
traia_iatp/d402/servers/example_general_server.py,sha256=7e-gkZw-41ZMLDlJRNIw_2UB3_y-rW6Lbclc3T-CdM4,4444
|
|
48
|
+
traia_iatp/d402/servers/fastapi.py,sha256=O2TjsYQFN7ZloJ8eLXQvGw4B4GzhEgcmq4Kjtqx9PNA,8630
|
|
49
|
+
traia_iatp/d402/servers/mcp.py,sha256=g0g4sLc2LovfPyogZCRjP6y2kBe3T6JG3B7aQo1rNLA,12422
|
|
50
|
+
traia_iatp/d402/servers/starlette.py,sha256=DH0XiGm9pmzwRXH9iR2E3af-GEpzuoDUj6u4kkYlmn0,42457
|
|
51
|
+
traia_iatp/mcp/D402_MCP_ADAPTER_FLOW.md,sha256=L9nXJCWhMsqlHKMCVdIpfTLzh0GbgWRI37Xc29dQoJ0,12396
|
|
52
|
+
traia_iatp/mcp/__init__.py,sha256=QMAqz4blmFuGBAbaPnu8hQVO2XP1ss2OHlol2Zk30ng,563
|
|
53
|
+
traia_iatp/mcp/client.py,sha256=IMw_fO36GcAa92zHOkCuJJquG9untnkgX6LPOtrN1lU,7859
|
|
54
|
+
traia_iatp/mcp/d402_mcp_tool_adapter.py,sha256=qSW9K3pn1E7EMmD2ms5cn3B7H6MhwxBi-viiFz8B160,21193
|
|
55
|
+
traia_iatp/mcp/mcp_agent_template.py,sha256=kEnyvNiN30S9YcnBWmvCkd-I0wsjTIP7D40mlBQ6InE,19321
|
|
56
|
+
traia_iatp/mcp/traia_mcp_adapter.py,sha256=A-cANWzkjHeh4AC7QmfTAgq8rYBqSWAxfJ5fQDJI5Xg,19537
|
|
57
|
+
traia_iatp/mcp/templates/Dockerfile.j2,sha256=k0-nG1Z84ODqpYdVRuIZMq9PRf5kab97cQ216iscuUs,2477
|
|
58
|
+
traia_iatp/mcp/templates/README.md.j2,sha256=So7e0Q_wcNDMLmtHZBDHRsGlN_vvRx4AlmOuxGtap0c,9578
|
|
59
|
+
traia_iatp/mcp/templates/cursor-rules.md.j2,sha256=Kp1WF8BATC32KTRIWwonN8erm-0va7GFkmayG-Msvk8,18154
|
|
60
|
+
traia_iatp/mcp/templates/deployment_params.json.j2,sha256=2srfObMUoYMYMalhXeOvq0M9ew3-pkV9gf5UigbLvDk,616
|
|
61
|
+
traia_iatp/mcp/templates/docker-compose.yml.j2,sha256=eXyoVZHOvCWUm4v9UVbMD6zX_yJVIYs4QcJTLiogJXE,1320
|
|
62
|
+
traia_iatp/mcp/templates/dockerignore.j2,sha256=EsXzYQ5Ku3NROEgmfv670VuSpla8_-tllblEE0Hp89Y,366
|
|
63
|
+
traia_iatp/mcp/templates/env.example.j2,sha256=CCnCB0Pa1c3Zs4xhwxwXC88LWIpjklGC7dundKctHGw,2241
|
|
64
|
+
traia_iatp/mcp/templates/gitignore.j2,sha256=shz2n7MlRBOvwRm4leCjpxDi8r0bm8DJLAtvLcp6X_0,698
|
|
65
|
+
traia_iatp/mcp/templates/mcp_health_check.py.j2,sha256=IeCabouTt7GD9efRo-rucEGs2pYernKummJ5fVMLqrs,5204
|
|
66
|
+
traia_iatp/mcp/templates/pyproject.toml.j2,sha256=LyoGAMgfc-7jxPrbaazs8fo7dZKArLh84jpgwN-Vzow,831
|
|
67
|
+
traia_iatp/mcp/templates/pyrightconfig.json.j2,sha256=mCDgat0oRlBJ0vAn0UV_mHRSmXddYp3TY61BWoqF0Bc,399
|
|
68
|
+
traia_iatp/mcp/templates/run_local_docker.sh.j2,sha256=8LL7lULxxFip61j4MRM033bzM-GuaowTq9geiBoi_cM,16163
|
|
69
|
+
traia_iatp/mcp/templates/server.py.j2,sha256=4gWZKvatUH3_BZvQf25EUSgPC60p-9HjljzH_LOPZ1I,8270
|
|
70
|
+
traia_iatp/registry/__init__.py,sha256=E4xNllADK9UQrSntoTElOxt_mAUF-AVAqxxrtYXVeBI,2073
|
|
71
|
+
traia_iatp/registry/atlas_search_indexes.json,sha256=gJKStsOAKv5xbA_MjDO8KAoWrMMLh34B8vXsgjB0NaY,8265
|
|
72
|
+
traia_iatp/registry/embeddings.py,sha256=LvmQvQFbOBEZsQkCotBRLZWAyWDNYddRjaF5Ir8XEHw,11224
|
|
73
|
+
traia_iatp/registry/iatp_search_api.py,sha256=xbo5JJw2ZVqA9ruyE5BZpgBFNZL-3oTtk-7Ic4AH8ts,35051
|
|
74
|
+
traia_iatp/registry/mongodb_registry.py,sha256=77705b3LduIe0syhA2xecJnU9HJFQNdSTYT60yGOSpE,41994
|
|
75
|
+
traia_iatp/registry/readmes/ATLAS_SEARCH_INDEXES.md,sha256=vwYtLmqOfS-8f18CUc7D5z8meLl0O-GZ6n0cL1LXuy0,6049
|
|
76
|
+
traia_iatp/registry/readmes/ATLAS_SEARCH_SETUP.md,sha256=6fpFmRI-ZYOugK6wW2Y20odlivqhjZrNWcOIa3Smzpo,4782
|
|
77
|
+
traia_iatp/registry/readmes/AUTHENTICATION_UPDATE.md,sha256=sgj6xwd2XSW2AWLVUwEjZ6FME5XNtYEdvegp-AqdsUg,3525
|
|
78
|
+
traia_iatp/registry/readmes/EMBEDDINGS_SETUP.md,sha256=qxOOPCcwFTV4auSH6WrVPVW4_vcKFO0ymRAWe0rt1fc,5498
|
|
79
|
+
traia_iatp/registry/readmes/IATP_SEARCH_API_GUIDE.md,sha256=CO2jXeyHGKQ2MNldzN2pXvF0Culs-d5fsaqxgtu1ado,6943
|
|
80
|
+
traia_iatp/registry/readmes/MONGODB_X509_AUTH.md,sha256=VCKzHfklSN4kg-ycdkf2OQdpSh_2cLR8Mx9AyAHmIFo,5415
|
|
81
|
+
traia_iatp/registry/readmes/README.md,sha256=rb8XSQLUUqV-rpD0G7QLlWbvuse2wRXby-bJ4Pv23Iw,7178
|
|
82
|
+
traia_iatp/registry/readmes/REFACTORING_SUMMARY.md,sha256=DwnvOmtCb0kGcqBDR7R2EdpaGxh8z7GycxTyYP5msyA,6038
|
|
83
|
+
traia_iatp/scripts/__init__.py,sha256=pb_bi3iw605AJ2ucTw2huUQnlZPfJeKmvOrl6h6UA6o,29
|
|
84
|
+
traia_iatp/scripts/create_wallet.py,sha256=PZYrXFB0zGsAhMQmaae0SZ5Cfejj8sXzapbyYdT76G8,7207
|
|
85
|
+
traia_iatp/server/__init__.py,sha256=sh_tdZJhF1PO2GBTfPMy9UI4Dqz1TQBqnJTBNA68VgA,385
|
|
86
|
+
traia_iatp/server/a2a_server.py,sha256=sjYqVLLefzJDqSI3_G2dLlx47UUWnoM9jXXeen7lClY,8257
|
|
87
|
+
traia_iatp/server/example_template_usage.py,sha256=5hiI9eOxvT0Cow6Khm63IHZIuadNDPDEVOHC94nR5Fc,2294
|
|
88
|
+
traia_iatp/server/iatp_server_agent_generator.py,sha256=uMVO9jODPXyLs6DxGSfhJl01N6l4_CShu88O3I9UZqQ,8880
|
|
89
|
+
traia_iatp/server/iatp_server_template_generator.py,sha256=XqrrvAKZcsrFAD8-4OF3UeZA12kcsQFtHBmsBtNf3d4,11127
|
|
90
|
+
traia_iatp/server/templates/.dockerignore.j2,sha256=3XIuxSqhujKRc6-50tqiJ9jqW-b3A7sv-R7RlNGgOwM,388
|
|
91
|
+
traia_iatp/server/templates/Dockerfile.j2,sha256=Uwrw9gbfdkeoCc-B6Ew7YFU2xPTd9EqKkCgeqw65X_8,2161
|
|
92
|
+
traia_iatp/server/templates/README.md,sha256=CiV97pmuyqzbjuNd54Kt1sHv2Xra9Dg8k3KKE0drjns,5185
|
|
93
|
+
traia_iatp/server/templates/README.md.j2,sha256=I7pNgxYGeACf2Jw1hy8VUkk8VkN_OqzGQ5JbIPrScMo,10613
|
|
94
|
+
traia_iatp/server/templates/__init__.py,sha256=OfnDqxbgP51KEUSxFpfnePOF_72LlC00DOeR744ky4M,53
|
|
95
|
+
traia_iatp/server/templates/__main__.py.j2,sha256=wjIVQyOo9GCS5FmVJaEHeeWcB3en7ehHaT0HEVGfNqg,33593
|
|
96
|
+
traia_iatp/server/templates/agent.py.j2,sha256=wlqyCrbG25YMZXF3RxdWbMRmCMdgYp9fWvYLoPpfWM8,3626
|
|
97
|
+
traia_iatp/server/templates/agent_config.json.j2,sha256=Rto91z-PBdNYUqU6m0UFOHtn8R0-9gxcbWm0WlSS8rs,834
|
|
98
|
+
traia_iatp/server/templates/agent_executor.py.j2,sha256=Zn8PmE3uYSOZmrcVcii6DM6pGvq1qyjY7riCHkqoDzo,12733
|
|
99
|
+
traia_iatp/server/templates/docker-compose.yml.j2,sha256=3jRkkUU6gazKyVgelfQRf6x0KRbpXINEsVkBIgqrQbc,610
|
|
100
|
+
traia_iatp/server/templates/env.example.j2,sha256=J9HlluDZ6z--4s6fvf65bgmlebQHQweWkm_Yq0XTFtQ,2935
|
|
101
|
+
traia_iatp/server/templates/gitignore.j2,sha256=jgvATjRFJ7RVWv4dSOt2QmEeWiTIFjKt0Ex8RJm4jO4,943
|
|
102
|
+
traia_iatp/server/templates/grpc_server.py.j2,sha256=GFZv0b146QthPDnBMEn2GpD8fRCfuCXzcq4RBEEGAac,7610
|
|
103
|
+
traia_iatp/server/templates/pyproject.toml.j2,sha256=bK9i2f6BZ2tr81vRwKeBDTYyjb4oTGDjcqIvMq5COFs,1928
|
|
104
|
+
traia_iatp/server/templates/run_local_docker.sh.j2,sha256=LO5LuJG0K5rHDtgDQaHwB9DiNhrN2nbt5Me2C_dvrnI,8859
|
|
105
|
+
traia_iatp/server/templates/server.py.j2,sha256=8gTU5f72n3Bmqo4vfB4LCBecDQFhN2up8rC_D047VM4,14536
|
|
106
|
+
traia_iatp/special_agencies/__init__.py,sha256=9Uh0X8gjrAnl6yjmjGeCaxyJvB3HVwoOKhTc9ljmsr4,122
|
|
107
|
+
traia_iatp/special_agencies/registry_search_agency.py,sha256=wnWtyGPD4maZx2FYNhusZOC47FhlJkebk31w5CN8CH0,11225
|
|
108
|
+
traia_iatp/utils/__init__.py,sha256=D739Fc3KWPlAaPZ-3XM7uRvBAA7V8b4t6PBYJvMSsig,202
|
|
109
|
+
traia_iatp/utils/docker_utils.py,sha256=mPD09TPJKEe9SKjrR5E_o9z8xle-iCZq6JLzHZ6JXFk,8634
|
|
110
|
+
traia_iatp/utils/general.py,sha256=g6sRKzalBPwRWobBg3a7pz4eNIvvxv8RefoUNFdHm4o,1503
|
|
111
|
+
traia_iatp/utils/iatp_utils.py,sha256=TPukdlwLun_36ko6qiAAJSoDCXL_H_bj0ImlaO1Pd5M,4694
|
|
112
|
+
traia_iatp-0.1.67.dist-info/licenses/LICENSE,sha256=R8vcu8GZdTTXF40sbOll11-FbarDm7_PiuaGzQp9whw,1065
|
|
113
|
+
traia_iatp-0.1.67.dist-info/METADATA,sha256=lJKgfOWkBPN0McV2ecwyeZ5WT_pbqNXteTgqoUd7yPg,12421
|
|
114
|
+
traia_iatp-0.1.67.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
115
|
+
traia_iatp-0.1.67.dist-info/entry_points.txt,sha256=K4p9Z2lBdPEybzXfed3JbUtrVHDdg60CRnJ178df7K0,55
|
|
116
|
+
traia_iatp-0.1.67.dist-info/top_level.txt,sha256=FozpD3vmZ4WP01hjSDUt5ENn0ttnIxxm1tPrTiIsyzI,11
|
|
117
|
+
traia_iatp-0.1.67.dist-info/RECORD,,
|
|
@@ -1,414 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: traia-iatp
|
|
3
|
-
Version: 0.1.2
|
|
4
|
-
Summary: Inter-Agent Transfer Protocol (IATP) - Enable AI Agents to utilize other AI Agents as tools
|
|
5
|
-
Project-URL: Documentation, https://pypi.org/project/traia-iatp
|
|
6
|
-
Project-URL: Source, https://github.com/Traia-IO/IATP
|
|
7
|
-
Keywords: crewai,iatp,agent-to-agent,a2a,mcp,web3,cryptocurrency,tools
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Operating System :: OS Independent
|
|
10
|
-
Requires-Python: >=3.12.8
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
License-File: LICENSE
|
|
13
|
-
Requires-Dist: a2a-sdk==0.2.6
|
|
14
|
-
Requires-Dist: aiohttp>=3.12.13
|
|
15
|
-
Requires-Dist: crewai>=0.130.0
|
|
16
|
-
Requires-Dist: crewai-tools[mcp]>=0.47.1
|
|
17
|
-
Requires-Dist: docker>=7.1.0
|
|
18
|
-
Requires-Dist: fastapi>=0.115.12
|
|
19
|
-
Requires-Dist: fastmcp>=2.8.1
|
|
20
|
-
Requires-Dist: httpx>=0.28.1
|
|
21
|
-
Requires-Dist: jinja2>=3.1.6
|
|
22
|
-
Requires-Dist: openai>=1.90.0
|
|
23
|
-
Requires-Dist: pydantic>=2.11.5
|
|
24
|
-
Requires-Dist: pymongo>=4.13.2
|
|
25
|
-
Requires-Dist: python-dotenv>=1.1.0
|
|
26
|
-
Requires-Dist: pytz>=2025.2
|
|
27
|
-
Requires-Dist: requests>=2.32.3
|
|
28
|
-
Requires-Dist: rich>=13.9.4
|
|
29
|
-
Requires-Dist: typer>=0.16.0
|
|
30
|
-
Requires-Dist: uvicorn>=0.34.3
|
|
31
|
-
Requires-Dist: agentops>=0.3.0
|
|
32
|
-
Provides-Extra: dev
|
|
33
|
-
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
34
|
-
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
35
|
-
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
36
|
-
Requires-Dist: flake8>=6.0.0; extra == "dev"
|
|
37
|
-
Requires-Dist: mypy>=1.0.0; extra == "dev"
|
|
38
|
-
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
|
|
39
|
-
Dynamic: license-file
|
|
40
|
-
|
|
41
|
-
# Traia IATP
|
|
42
|
-
|
|
43
|
-
[](https://badge.fury.io/py/traia-iatp)
|
|
44
|
-
[](https://www.python.org/downloads/)
|
|
45
|
-
[](https://opensource.org/licenses/MIT)
|
|
46
|
-
|
|
47
|
-
**Traia IATP** is an Inter-Agent Transfer Protocol (IATP) package that enables AI agents to utilize other AI agents as tools via the A2A (Agent-to-Agent) protocol. This implementation allows CrewAI agents to act as both IATP servers (utility agents) and clients.
|
|
48
|
-
|
|
49
|
-
## Features
|
|
50
|
-
|
|
51
|
-
- 🤖 **Utility Agent Creation**: Convert MCP servers into IATP-compatible utility agents
|
|
52
|
-
- 🔌 **IATP Client Tools**: Enable CrewAI crews to use utility agents as tools via IATP protocol
|
|
53
|
-
- 🌐 **Protocol Support**: HTTP/2 with SSE streaming and optional gRPC for high-performance scenarios
|
|
54
|
-
- 📊 **Registry Management**: MongoDB-based registry for discovering utility agents
|
|
55
|
-
- 🐳 **Docker Support**: Complete containerization for deployment
|
|
56
|
-
- 🐳 **Local Docker Deployment**: Complete containerization for local deployment
|
|
57
|
-
|
|
58
|
-
## Installation
|
|
59
|
-
|
|
60
|
-
### From PyPI (Recommended)
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
pip install traia-iatp
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### From Source
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
git clone https://github.com/Traia-IO/IATP.git
|
|
70
|
-
cd IATP
|
|
71
|
-
pip install -e .
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Development Installation
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
# Install with all dependencies for development
|
|
78
|
-
pip install -e ".[dev]"
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
## Quick Start
|
|
82
|
-
|
|
83
|
-
### 1. Creating a Utility Agency (IATP Server)
|
|
84
|
-
|
|
85
|
-
```python
|
|
86
|
-
import asyncio
|
|
87
|
-
from traia_iatp import MCPServer, MCPServerType, IATPServerAgentGenerator
|
|
88
|
-
|
|
89
|
-
async def create_utility_agency():
|
|
90
|
-
# Define an MCP server
|
|
91
|
-
mcp_server = MCPServer(
|
|
92
|
-
name="example-mcp-server",
|
|
93
|
-
url="http://example-mcp-server:8080",
|
|
94
|
-
server_type=MCPServerType.STREAMABLE_HTTP,
|
|
95
|
-
description="Example MCP server that provides utility functions"
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
# Generate and deploy utility agency
|
|
99
|
-
generator = IATPServerAgentGenerator()
|
|
100
|
-
agency = await generator.create_from_mcp(mcp_server)
|
|
101
|
-
|
|
102
|
-
# Deploy locally with Docker
|
|
103
|
-
await generator.deploy_local(agency)
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### 2. Using Utility Agencies in CrewAI (IATP Client)
|
|
107
|
-
|
|
108
|
-
```python
|
|
109
|
-
from crewai import Agent, Task, Crew
|
|
110
|
-
from traia_iatp import find_utility_agent
|
|
111
|
-
from traia_iatp.client import A2AToolkit
|
|
112
|
-
|
|
113
|
-
# Find available utility agents by agent_id
|
|
114
|
-
agent = find_utility_agent(agent_id="finbert-mcp-traia-utility-agent")
|
|
115
|
-
|
|
116
|
-
if agent:
|
|
117
|
-
# Get the IATP endpoint
|
|
118
|
-
endpoint = agent.base_url
|
|
119
|
-
if agent.endpoints and 'iatp_endpoint' in agent.endpoints:
|
|
120
|
-
endpoint = agent.endpoints['iatp_endpoint']
|
|
121
|
-
|
|
122
|
-
# Create tool from agent endpoint
|
|
123
|
-
finbert_tool = A2AToolkit.create_tool_from_endpoint(
|
|
124
|
-
endpoint=endpoint,
|
|
125
|
-
name=agent.name,
|
|
126
|
-
description=agent.description,
|
|
127
|
-
timeout=300,
|
|
128
|
-
retry_attempts=1,
|
|
129
|
-
supports_streaming=False,
|
|
130
|
-
iatp_endpoint=endpoint
|
|
131
|
-
)
|
|
132
|
-
|
|
133
|
-
# Use in CrewAI agent
|
|
134
|
-
sentiment_analyst = Agent(
|
|
135
|
-
role="Financial Sentiment Analyst",
|
|
136
|
-
goal="Analyze sentiment of financial texts using FinBERT models",
|
|
137
|
-
backstory="Expert financial sentiment analyst with deep knowledge of market psychology",
|
|
138
|
-
tools=[finbert_tool],
|
|
139
|
-
verbose=True,
|
|
140
|
-
allow_delegation=False
|
|
141
|
-
)
|
|
142
|
-
|
|
143
|
-
# Create task
|
|
144
|
-
task = Task(
|
|
145
|
-
description="Analyze the sentiment of: 'Apple Inc. reported record quarterly earnings'",
|
|
146
|
-
expected_output="Sentiment classification with confidence score and investment implications",
|
|
147
|
-
agent=sentiment_analyst
|
|
148
|
-
)
|
|
149
|
-
|
|
150
|
-
# Run crew
|
|
151
|
-
crew = Crew(agents=[sentiment_analyst], tasks=[task])
|
|
152
|
-
result = crew.kickoff()
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
#### Alternative: Batch Tool Creation
|
|
156
|
-
|
|
157
|
-
For creating multiple tools at once, you can use the convenience function:
|
|
158
|
-
|
|
159
|
-
```python
|
|
160
|
-
from traia_iatp.client import create_utility_agency_tools
|
|
161
|
-
|
|
162
|
-
# Search and create tools in batch
|
|
163
|
-
tools = create_utility_agency_tools(
|
|
164
|
-
query="sentiment analysis",
|
|
165
|
-
tags=["finbert", "nlp"],
|
|
166
|
-
capabilities=["sentiment_analysis"]
|
|
167
|
-
)
|
|
168
|
-
|
|
169
|
-
# Use all found tools in an agent
|
|
170
|
-
agent = Agent(
|
|
171
|
-
role="Multi-Tool Analyst",
|
|
172
|
-
tools=tools,
|
|
173
|
-
goal="Analyze using multiple available utility agents"
|
|
174
|
-
)
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### 3. CLI Usage
|
|
178
|
-
|
|
179
|
-
The package includes a powerful CLI for managing utility agencies:
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
# First, register an MCP server in the registry
|
|
183
|
-
traia-iatp register-mcp \
|
|
184
|
-
--name "Trading MCP" \
|
|
185
|
-
--url "http://localhost:8000/mcp" \
|
|
186
|
-
--description "Trading MCP server" \
|
|
187
|
-
--capability "trading" \
|
|
188
|
-
--capability "crypto"
|
|
189
|
-
|
|
190
|
-
# Create a utility agency from registered MCP server
|
|
191
|
-
traia-iatp create-agency \
|
|
192
|
-
--name "My Trading Agent" \
|
|
193
|
-
--description "Advanced trading utility agent" \
|
|
194
|
-
--mcp-name "Trading MCP" \
|
|
195
|
-
--deploy
|
|
196
|
-
|
|
197
|
-
# List available utility agencies
|
|
198
|
-
traia-iatp list-agencies
|
|
199
|
-
|
|
200
|
-
# Search for agencies by capability
|
|
201
|
-
traia-iatp search-agencies --query "trading crypto"
|
|
202
|
-
|
|
203
|
-
# Deploy from a generated agency directory
|
|
204
|
-
traia-iatp deploy ./utility_agencies/my-trading-agent --port 8001
|
|
205
|
-
|
|
206
|
-
# Find available tools for CrewAI
|
|
207
|
-
traia-iatp find-tools --tag "trading" --capability "crypto"
|
|
208
|
-
|
|
209
|
-
# List registered MCP servers
|
|
210
|
-
traia-iatp list-mcp-servers
|
|
211
|
-
|
|
212
|
-
# Show example CrewAI integration code
|
|
213
|
-
traia-iatp example-crew
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
## Architecture
|
|
217
|
-
|
|
218
|
-
### IATP Operation Modes
|
|
219
|
-
|
|
220
|
-
The IATP protocol supports two distinct operation modes:
|
|
221
|
-
|
|
222
|
-
#### 1. Synchronous JSON-RPC Mode
|
|
223
|
-
For simple request-response patterns:
|
|
224
|
-
- Client sends: `message/send` request via JSON-RPC
|
|
225
|
-
- Server processes the request using CrewAI agents
|
|
226
|
-
- Server returns: A single `Message` result
|
|
227
|
-
|
|
228
|
-
#### 2. Streaming SSE Mode
|
|
229
|
-
For real-time data and long-running operations:
|
|
230
|
-
- Client sends: `message/send` request via JSON-RPC
|
|
231
|
-
- Server returns: Stream of events via Server-Sent Events (SSE)
|
|
232
|
-
- Supports progress updates, partial results, and completion notifications
|
|
233
|
-
|
|
234
|
-
### Component Overview
|
|
235
|
-
|
|
236
|
-
```
|
|
237
|
-
┌─────────────────────┐ ┌─────────────────────┐ ┌─────────────────────┐
|
|
238
|
-
│ CrewAI Agent │───▶│ IATP Client │───▶│ Utility Agency │
|
|
239
|
-
│ (A2A Client) │ │ (HTTP/2 + gRPC) │ │ (A2A Server) │
|
|
240
|
-
└─────────────────────┘ └─────────────────────┘ └─────────────────────┘
|
|
241
|
-
│
|
|
242
|
-
▼
|
|
243
|
-
┌─────────────────────┐
|
|
244
|
-
│ MCP Server │
|
|
245
|
-
│ (Tools Provider) │
|
|
246
|
-
└─────────────────────┘
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
## Key Components
|
|
250
|
-
|
|
251
|
-
### Server Components (`traia_iatp.server`)
|
|
252
|
-
- **Template Generation**: Jinja2 templates for creating utility agents
|
|
253
|
-
- **HTTP/2 + SSE Support**: Modern protocol support with streaming
|
|
254
|
-
- **gRPC Integration**: Optional high-performance protocol support
|
|
255
|
-
- **Docker Containerization**: Complete deployment packaging
|
|
256
|
-
|
|
257
|
-
### Client Components (`traia_iatp.client`)
|
|
258
|
-
- **CrewAI Integration**: Native tools for CrewAI agents
|
|
259
|
-
- **HTTP/2 Client**: Persistent connections with multiplexing
|
|
260
|
-
- **SSE Streaming**: Real-time data consumption
|
|
261
|
-
- **Connection Management**: Pooling and retry logic
|
|
262
|
-
|
|
263
|
-
### Registry Components (`traia_iatp.registry`)
|
|
264
|
-
- **MongoDB Integration**: Persistent storage and search
|
|
265
|
-
- **Vector Search**: Embedding-based capability discovery
|
|
266
|
-
- **Atlas Search**: Full-text search capabilities
|
|
267
|
-
- **Agent Discovery**: Find agents by capability, tags, or description
|
|
268
|
-
|
|
269
|
-
## Environment Variables
|
|
270
|
-
|
|
271
|
-
```bash
|
|
272
|
-
# MongoDB Configuration (choose one method)
|
|
273
|
-
MONGODB_CONNECTION_STRING="mongodb+srv://..."
|
|
274
|
-
# OR
|
|
275
|
-
MONGODB_USER="username"
|
|
276
|
-
MONGODB_PASSWORD="password"
|
|
277
|
-
# OR X.509 Certificate
|
|
278
|
-
MONGODB_X509_CERT_FILE="/path/to/cert.pem"
|
|
279
|
-
|
|
280
|
-
# Optional: Custom MongoDB cluster
|
|
281
|
-
MONGODB_CLUSTER_URI="custom-cluster.mongodb.net"
|
|
282
|
-
MONGODB_DATABASE_NAME="custom_db"
|
|
283
|
-
|
|
284
|
-
# OpenAI for embeddings (optional)
|
|
285
|
-
OPENAI_API_KEY="your-openai-key"
|
|
286
|
-
|
|
287
|
-
# MCP Server Authentication (as needed)
|
|
288
|
-
MCP_API_KEY="your-mcp-api-key"
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
## Examples
|
|
292
|
-
|
|
293
|
-
### Advanced IATP Integration
|
|
294
|
-
|
|
295
|
-
```python
|
|
296
|
-
from traia_iatp import find_utility_agent
|
|
297
|
-
from traia_iatp.client import A2AToolkit
|
|
298
|
-
|
|
299
|
-
# Find multiple utility agents
|
|
300
|
-
trading_agent = find_utility_agent(agent_id="trading-mcp-agent")
|
|
301
|
-
sentiment_agent = find_utility_agent(agent_id="finbert-mcp-agent")
|
|
302
|
-
|
|
303
|
-
tools = []
|
|
304
|
-
for agent in [trading_agent, sentiment_agent]:
|
|
305
|
-
if agent:
|
|
306
|
-
# Get endpoint and create tool
|
|
307
|
-
endpoint = agent.endpoints.get('iatp_endpoint', agent.base_url)
|
|
308
|
-
tool = A2AToolkit.create_tool_from_endpoint(
|
|
309
|
-
endpoint=endpoint,
|
|
310
|
-
name=agent.name,
|
|
311
|
-
description=agent.description,
|
|
312
|
-
iatp_endpoint=endpoint
|
|
313
|
-
)
|
|
314
|
-
tools.append(tool)
|
|
315
|
-
|
|
316
|
-
# Use multiple IATP tools in one agent
|
|
317
|
-
multi_tool_agent = Agent(
|
|
318
|
-
role="Multi-Domain Analyst",
|
|
319
|
-
goal="Analyze markets using multiple specialized AI agents",
|
|
320
|
-
tools=tools,
|
|
321
|
-
backstory="Expert analyst with access to specialized AI agents for trading and sentiment analysis"
|
|
322
|
-
)
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
### Local Docker Deployment
|
|
326
|
-
|
|
327
|
-
```python
|
|
328
|
-
from traia_iatp.utils.docker_utils import LocalDockerRunner
|
|
329
|
-
from pathlib import Path
|
|
330
|
-
|
|
331
|
-
# Deploy a generated agency locally (not yet configured properly)
|
|
332
|
-
runner = LocalDockerRunner()
|
|
333
|
-
deployment_info = await runner.run_agent_docker(
|
|
334
|
-
agent_path=Path("./utility_agencies/my-trading-agent"),
|
|
335
|
-
port=8000,
|
|
336
|
-
detached=True
|
|
337
|
-
)
|
|
338
|
-
|
|
339
|
-
if deployment_info["success"]:
|
|
340
|
-
print(f"Agency deployed at: {deployment_info['iatp_endpoint']}")
|
|
341
|
-
print(f"Container: {deployment_info['container_name']}")
|
|
342
|
-
print(f"Stop with: {deployment_info['stop_command']}")
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
## Development
|
|
346
|
-
|
|
347
|
-
### Setting Up Development Environment
|
|
348
|
-
|
|
349
|
-
```bash
|
|
350
|
-
# Clone the repository
|
|
351
|
-
git clone https://github.com/Traia-IO/IATP.git
|
|
352
|
-
cd IATP
|
|
353
|
-
|
|
354
|
-
# Create virtual environment
|
|
355
|
-
python -m venv venv
|
|
356
|
-
source venv/bin/activate # On Windows: venv\Scripts\activate
|
|
357
|
-
|
|
358
|
-
# Install in development mode with dev dependencies
|
|
359
|
-
pip install -e ".[dev]"
|
|
360
|
-
|
|
361
|
-
# Run tests
|
|
362
|
-
pytest
|
|
363
|
-
|
|
364
|
-
# Run linting
|
|
365
|
-
black .
|
|
366
|
-
flake8 .
|
|
367
|
-
mypy .
|
|
368
|
-
```
|
|
369
|
-
|
|
370
|
-
### Running Tests
|
|
371
|
-
|
|
372
|
-
```bash
|
|
373
|
-
# Run all tests
|
|
374
|
-
pytest
|
|
375
|
-
|
|
376
|
-
# Run specific test file
|
|
377
|
-
pytest tests/test_client.py
|
|
378
|
-
|
|
379
|
-
# Run with coverage
|
|
380
|
-
pytest --cov=traia_iatp --cov-report=html
|
|
381
|
-
```
|
|
382
|
-
|
|
383
|
-
## Contributing
|
|
384
|
-
|
|
385
|
-
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
|
|
386
|
-
|
|
387
|
-
This is a private code base hence only members of Dcentralab can contribute
|
|
388
|
-
|
|
389
|
-
1. Fork the repository
|
|
390
|
-
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
|
|
391
|
-
3. Commit your changes (`git commit -m 'Add amazing feature'`)
|
|
392
|
-
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
393
|
-
5. Open a Pull Request
|
|
394
|
-
|
|
395
|
-
## License
|
|
396
|
-
|
|
397
|
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
398
|
-
|
|
399
|
-
## Support
|
|
400
|
-
|
|
401
|
-
- 📖 **Documentation**: [https://pypi.org/project/traia-iatp](https://pypi.org/project/traia-iatp)
|
|
402
|
-
- 🐛 **Bug Reports**: [GitHub Issues](https://github.com/Traia-IO/IATP/issues)
|
|
403
|
-
- 💬 **Community**: [Visit our website](https://traia.io)
|
|
404
|
-
- 📧 **Email**: support@traia.io
|
|
405
|
-
|
|
406
|
-
## Related Projects
|
|
407
|
-
|
|
408
|
-
- [A2A Protocol](https://github.com/google-a2a/A2A) - Agent-to-Agent communication protocol
|
|
409
|
-
- [CrewAI](https://github.com/joaomdmoura/crewAI) - Framework for orchestrating role-playing AI agents
|
|
410
|
-
- [FastMCP](https://github.com/modelcontextprotocol/fastmcp) - Fast implementation of Model Context Protocol
|
|
411
|
-
|
|
412
|
-
---
|
|
413
|
-
|
|
414
|
-
**Made with ❤️ by the Traia Team**
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
traia_iatp/README.md,sha256=Ry0X-sXiJ0Qi8WAq58mvUaazDqxIoV3ZvgpAoTtxSSU,10937
|
|
2
|
-
traia_iatp/__init__.py,sha256=HCSN9SndlPJ0NoPL9eRkvbrvt5yLIafAksi74NHXzok,966
|
|
3
|
-
traia_iatp/preview_diagrams.html,sha256=v5T6sAyA33b2DHib29WEa02wJq31UlvES9TFkKqrdMk,4708
|
|
4
|
-
traia_iatp/cli/__init__.py,sha256=nGgVg7pOjyIiWN5akKxqhKSHcpvU0VaDrH_vuhBEVcE,65
|
|
5
|
-
traia_iatp/cli/main.py,sha256=cRz53ceSFQMn-G3oqqJYWl5Pji1cWRhdjSMC4tslNa4,20385
|
|
6
|
-
traia_iatp/client/__init__.py,sha256=eo1oIMijV63WpklHEIftfoNWjEmhW4udcL7aIuZjf6M,259
|
|
7
|
-
traia_iatp/client/a2a_client.py,sha256=fJwcPC9vmuH6Q4QSDUDGFNZyx9QQvuR9pPtbgKavkiM,10116
|
|
8
|
-
traia_iatp/client/crewai_a2a_tools.py,sha256=RTmUzQmPnHx_wHhrAf-zPQjU9gSCyq-6S0RV1RDA7DQ,14317
|
|
9
|
-
traia_iatp/client/grpc_a2a_tools.py,sha256=pVt6UASXdt096ZNfcTqY0pjaTqLr-0Ptl8xd68rxRWQ,13003
|
|
10
|
-
traia_iatp/client/root_path_a2a_client.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
11
|
-
traia_iatp/core/__init__.py,sha256=SdGs25MkNWok77wRtbCJFGkD85QAmYUAB40Fn9mHeXk,755
|
|
12
|
-
traia_iatp/core/models.py,sha256=nvpLJjXAW2zTLOejjFXaTeDEN_gRo6lETGOCyvYKXPI,8381
|
|
13
|
-
traia_iatp/mcp/__init__.py,sha256=kb2bX9yMwatWBFb0xq-BeuDD_d7DLRt8huA32hDcnCo,427
|
|
14
|
-
traia_iatp/mcp/client.py,sha256=IMw_fO36GcAa92zHOkCuJJquG9untnkgX6LPOtrN1lU,7859
|
|
15
|
-
traia_iatp/mcp/mcp_agent_template.py,sha256=vGiBJy7ZtQ4Z0KkoHMW2lrmow2MAoIMpY9cjmjYylrU,14997
|
|
16
|
-
traia_iatp/mcp/traia_mcp_adapter.py,sha256=8C6ZxQFN9fE-wN0bmQ_saYCNDr_OTuUJXkJyppBwrao,11933
|
|
17
|
-
traia_iatp/mcp/templates/Dockerfile.j2,sha256=bYCbpsawIO8WfGPjncvE8pZ6Dn9US6dsK61WdpW5DN4,1332
|
|
18
|
-
traia_iatp/mcp/templates/README.md.j2,sha256=xxdrFYcY8RmfKzSJs87PGSxRFjkGcrHzfY9a66wN_LI,5781
|
|
19
|
-
traia_iatp/mcp/templates/cursor-rules.md.j2,sha256=ixlzCMTWmmLgRNjnO8k1IIEk2z3Cpl8_TmRYqMFjbio,10976
|
|
20
|
-
traia_iatp/mcp/templates/deployment_params.json.j2,sha256=Jr4xTXBdH2AbJWHGkghbsaVF1twQjCaLUCeGxGhhdMc,638
|
|
21
|
-
traia_iatp/mcp/templates/docker-compose.yml.j2,sha256=Zge8VYa629Av8E22asCV60jlrFZ-RXl4E4XkQ5elG3o,581
|
|
22
|
-
traia_iatp/mcp/templates/dockerignore.j2,sha256=EsXzYQ5Ku3NROEgmfv670VuSpla8_-tllblEE0Hp89Y,366
|
|
23
|
-
traia_iatp/mcp/templates/gitignore.j2,sha256=shz2n7MlRBOvwRm4leCjpxDi8r0bm8DJLAtvLcp6X_0,698
|
|
24
|
-
traia_iatp/mcp/templates/mcp_health_check.py.j2,sha256=s_7C1fUdApoto52HxX1BN2PNLaEnr00B9ZNw_bpcPDg,5234
|
|
25
|
-
traia_iatp/mcp/templates/pyproject.toml.j2,sha256=nJJ-53rsteCuO6UjWFGL55OJNl1pWGzeLmMQYUkgnKE,601
|
|
26
|
-
traia_iatp/mcp/templates/run_local_docker.sh.j2,sha256=n0dwabQMgQe1pDpqCZmZafVtebv97M2E21u5N8SQxoc,3233
|
|
27
|
-
traia_iatp/mcp/templates/server.py.j2,sha256=zty-7UGU8CgWSbbFj-3tuJfrGJI79pBBYhcXDzU5GZA,8169
|
|
28
|
-
traia_iatp/registry/__init__.py,sha256=YGFGRqgRp0f09ND-FWTG9GQNwxz-HpUBYbt_KhLP-ZY,662
|
|
29
|
-
traia_iatp/registry/atlas_search_indexes.json,sha256=_tXLH9us_AXonubuLKCX7uTDHuqw80u89E7Zt_tcdxI,6843
|
|
30
|
-
traia_iatp/registry/embeddings.py,sha256=LvmQvQFbOBEZsQkCotBRLZWAyWDNYddRjaF5Ir8XEHw,11224
|
|
31
|
-
traia_iatp/registry/iatp_search_api.py,sha256=CvXm0HWbSaspdxsdq4IJAIXvHSCybSA12PE2HHgrY-E,28984
|
|
32
|
-
traia_iatp/registry/mongodb_registry.py,sha256=w8YNA5xlIbTGhKNMojS4nmBU9kVgLuhlADvlpHmaV3U,32565
|
|
33
|
-
traia_iatp/registry/readmes/ATLAS_SEARCH_INDEXES.md,sha256=vwYtLmqOfS-8f18CUc7D5z8meLl0O-GZ6n0cL1LXuy0,6049
|
|
34
|
-
traia_iatp/registry/readmes/ATLAS_SEARCH_SETUP.md,sha256=6fpFmRI-ZYOugK6wW2Y20odlivqhjZrNWcOIa3Smzpo,4782
|
|
35
|
-
traia_iatp/registry/readmes/AUTHENTICATION_UPDATE.md,sha256=sgj6xwd2XSW2AWLVUwEjZ6FME5XNtYEdvegp-AqdsUg,3525
|
|
36
|
-
traia_iatp/registry/readmes/EMBEDDINGS_SETUP.md,sha256=o9j8LNr4V0LAdoQVTPckTB7XM-6WSAw5b6ubtNyewBA,5492
|
|
37
|
-
traia_iatp/registry/readmes/IATP_SEARCH_API_GUIDE.md,sha256=dwBV-bAKNs9QW8YG2bMCoLMWdgq6cvwZiixD_7O_Tsc,6895
|
|
38
|
-
traia_iatp/registry/readmes/MONGODB_X509_AUTH.md,sha256=iA9hFxtfj4FtUb6nc-xkF-f8KFUDXh_vgj4NAo_R4yg,5409
|
|
39
|
-
traia_iatp/registry/readmes/README.md,sha256=hifEDRfrx1dB7SOlDmR1-IoLwS-8BzNmB70oGoXproo,7160
|
|
40
|
-
traia_iatp/registry/readmes/REFACTORING_SUMMARY.md,sha256=AoBy0psuzinkGhNqCshuERnni9V1TKedBSt6Zkzx448,6002
|
|
41
|
-
traia_iatp/server/__init__.py,sha256=sh_tdZJhF1PO2GBTfPMy9UI4Dqz1TQBqnJTBNA68VgA,385
|
|
42
|
-
traia_iatp/server/a2a_server.py,sha256=3-RZngcoOZn_T9bAEtJrSDeFWGFomfXYMaIRNeHP2TI,7701
|
|
43
|
-
traia_iatp/server/example_template_usage.py,sha256=5hiI9eOxvT0Cow6Khm63IHZIuadNDPDEVOHC94nR5Fc,2294
|
|
44
|
-
traia_iatp/server/iatp_server_agent_generator.py,sha256=uMVO9jODPXyLs6DxGSfhJl01N6l4_CShu88O3I9UZqQ,8880
|
|
45
|
-
traia_iatp/server/iatp_server_template_generator.py,sha256=AALMsYXITlHWC_UUOoBZe0qEOKBjIAgDYEIVJjHdbkc,9772
|
|
46
|
-
traia_iatp/server/templates/Dockerfile.j2,sha256=gkP5HbuOTnJiX5XLN1oD1yoThPTWuYq5bYMNgwW-aNA,1196
|
|
47
|
-
traia_iatp/server/templates/README.md,sha256=BDiN9TpadOZOmnddgzl3SkWx9MQTb1R-UOwiYYe2ObQ,5174
|
|
48
|
-
traia_iatp/server/templates/README.md.j2,sha256=yy7N99FQ2ZkS2I-O2_YO9_UmOP3mLGNI3vpKrIqjnig,10625
|
|
49
|
-
traia_iatp/server/templates/__init__.py,sha256=OfnDqxbgP51KEUSxFpfnePOF_72LlC00DOeR744ky4M,53
|
|
50
|
-
traia_iatp/server/templates/__main__.py.j2,sha256=fvVIrQR4zUGmdRv6i1p2QQET6nPntDAS7xZiJD1ZOGg,20756
|
|
51
|
-
traia_iatp/server/templates/agent.py.j2,sha256=cp1E9NBXZnWCs9UkP_4sB6cAEu6_srv2OQNN_7evweI,3389
|
|
52
|
-
traia_iatp/server/templates/agent_config.json.j2,sha256=YGikrYXcVKZfZJP9OnlS-GJXaGExlaRN2DB_Lo5Pr7k,797
|
|
53
|
-
traia_iatp/server/templates/agent_executor.py.j2,sha256=bV3DG0_3fLZP_n2-L8u0sRETi02NyvMF0dBiIdnFH6U,11203
|
|
54
|
-
traia_iatp/server/templates/docker-compose.yml.j2,sha256=3jRkkUU6gazKyVgelfQRf6x0KRbpXINEsVkBIgqrQbc,610
|
|
55
|
-
traia_iatp/server/templates/env.example.j2,sha256=PEk8G0Itq8ombTCqqJzVnVxgAvkJjkILzb_r_3Pzc64,1888
|
|
56
|
-
traia_iatp/server/templates/gitignore.j2,sha256=rXu4kNnZUFgBDbLsburNohFVAjyE9xEeHbpEcqGGSB8,740
|
|
57
|
-
traia_iatp/server/templates/grpc_server.py.j2,sha256=GFZv0b146QthPDnBMEn2GpD8fRCfuCXzcq4RBEEGAac,7610
|
|
58
|
-
traia_iatp/server/templates/pyproject.toml.j2,sha256=kHA3YilqoeUIF81UTBWpBVduFBXbVHdC_U5iuunTpKY,1832
|
|
59
|
-
traia_iatp/server/templates/run_local_docker.sh.j2,sha256=4h1GGtwM8gsSDbChblsea2muS0MYXZtJwY4swso1PyI,3495
|
|
60
|
-
traia_iatp/server/templates/server.py.j2,sha256=uHQfngwj2IDbEjczvsX2SnikYNAxT-yJEKbQl456gFs,6351
|
|
61
|
-
traia_iatp/special_agencies/__init__.py,sha256=9Uh0X8gjrAnl6yjmjGeCaxyJvB3HVwoOKhTc9ljmsr4,122
|
|
62
|
-
traia_iatp/special_agencies/registry_search_agency.py,sha256=HZo_RYtFP3zIs4okxppLZKTR65ktxS6i5GBvXBlku_I,11219
|
|
63
|
-
traia_iatp/utils/__init__.py,sha256=D739Fc3KWPlAaPZ-3XM7uRvBAA7V8b4t6PBYJvMSsig,202
|
|
64
|
-
traia_iatp/utils/docker_utils.py,sha256=mPD09TPJKEe9SKjrR5E_o9z8xle-iCZq6JLzHZ6JXFk,8634
|
|
65
|
-
traia_iatp/utils/general.py,sha256=g6sRKzalBPwRWobBg3a7pz4eNIvvxv8RefoUNFdHm4o,1503
|
|
66
|
-
traia_iatp/utils/iatp_utils.py,sha256=26mJmE-VbZeZP3fnAVLKC00D-SFA9CHeyrJFM9DvYp8,4683
|
|
67
|
-
traia_iatp-0.1.2.dist-info/licenses/LICENSE,sha256=R8vcu8GZdTTXF40sbOll11-FbarDm7_PiuaGzQp9whw,1065
|
|
68
|
-
traia_iatp-0.1.2.dist-info/METADATA,sha256=fU8T7viY3NuhVo1jfu6E_G3hcXSnjmDR_-jETwKfm1A,13220
|
|
69
|
-
traia_iatp-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
70
|
-
traia_iatp-0.1.2.dist-info/entry_points.txt,sha256=K4p9Z2lBdPEybzXfed3JbUtrVHDdg60CRnJ178df7K0,55
|
|
71
|
-
traia_iatp-0.1.2.dist-info/top_level.txt,sha256=FozpD3vmZ4WP01hjSDUt5ENn0ttnIxxm1tPrTiIsyzI,11
|
|
72
|
-
traia_iatp-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|