agentic-mesh-protocol 0.2.1.dev0__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.
- agentic_mesh_protocol/__init__.py +5 -0
- agentic_mesh_protocol/__version__.py +8 -0
- agentic_mesh_protocol/cost/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.py +108 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +120 -0
- agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py +4 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +38 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +5 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +169 -0
- agentic_mesh_protocol/filesystem/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +160 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +248 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2_grpc.py +4 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +38 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +5 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +274 -0
- agentic_mesh_protocol/module/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/information_pb2.py +77 -0
- agentic_mesh_protocol/module/v1/information_pb2.pyi +88 -0
- agentic_mesh_protocol/module/v1/information_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.py +70 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +61 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +40 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +500 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +58 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +64 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.py +63 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +49 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +46 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +24 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +40 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +406 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.py +57 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +42 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.py +58 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +70 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +4 -0
- agentic_mesh_protocol/py.typed +0 -0
- agentic_mesh_protocol/registry/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +43 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +59 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.py +105 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.pyi +82 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +110 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +102 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.py +39 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +6 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +322 -0
- agentic_mesh_protocol/setup/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.py +142 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.pyi +234 -0
- agentic_mesh_protocol/setup/v1/setup_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.py +38 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +5 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +480 -0
- agentic_mesh_protocol/storage/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/data_pb2.py +136 -0
- agentic_mesh_protocol/storage/v1/data_pb2.pyi +148 -0
- agentic_mesh_protocol/storage/v1/data_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.py +38 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +5 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +301 -0
- agentic_mesh_protocol/user_profile/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +72 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +82 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +38 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +5 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +81 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/METADATA +177 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/RECORD +100 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/WHEEL +5 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/licenses/LICENSE +430 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/top_level.txt +3 -0
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +465 -0
- buf/validate/validate_pb2.pyi +650 -0
- buf/validate/validate_pb2_grpc.py +4 -0
- digitalkin_proto/__init__.py +5 -0
- digitalkin_proto/__version__.py +8 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/module_registry/v1/discover.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/module_registry/v1/discover.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.module_registry.v1 import metadata_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_metadata__pb2
|
|
26
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7agentic_mesh_protocol/module_registry/v1/discover.proto\x12(agentic_mesh_protocol.module_registry.v1\x1a\x37\x61gentic_mesh_protocol/module_registry/v1/metadata.proto\x1a\x1b\x62uf/validate/validate.proto\"\xa5\x02\n\x15\x44iscoverSearchRequest\x12H\n\x0bmodule_type\x18\x01 \x01(\tB\"\xbaH\x1fr\x1aR\x07triggerR\x04toolR\x03kinR\x04view\xc8\x01\x01H\x00R\nmoduleType\x88\x01\x01\x12#\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01H\x01R\x04name\x88\x01\x01\x12\x41\n\x04tags\x18\x03 \x03(\x0b\x32-.agentic_mesh_protocol.module_registry.v1.TagR\x04tags\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x42\x0e\n\x0c_module_typeB\x07\n\x05_nameB\x0e\n\x0c_description\"r\n\x16\x44iscoverSearchResponse\x12X\n\x07modules\x18\x01 \x03(\x0b\x32>.agentic_mesh_protocol.module_registry.v1.DiscoverInfoResponseR\x07modules\">\n\x13\x44iscoverInfoRequest\x12\'\n\tmodule_id\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x08moduleId\"\xd6\x02\n\x14\x44iscoverInfoResponse\x12\'\n\tmodule_id\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x08moduleId\x12\x43\n\x0bmodule_type\x18\x02 \x01(\tB\"\xbaH\x1fr\x1aR\x07triggerR\x04toolR\x03kinR\x04view\xc8\x01\x01R\nmoduleType\x12$\n\x07\x61\x64\x64ress\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x07\x61\x64\x64ress\x12\"\n\x04port\x18\x04 \x01(\x05\x42\x0e\xbaH\x0b\x1a\x06\x18\xff\xff\x03(\x01\xc8\x01\x01R\x04port\x12$\n\x07version\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x07version\x12S\n\x08metadata\x18\x06 \x01(\x0b\x32\x32.agentic_mesh_protocol.module_registry.v1.MetadataH\x00R\x08metadata\x88\x01\x01\x42\x0b\n\t_metadataB\xf3\x01\n,com.agentic_mesh_protocol.module_registry.v1B\rDiscoverProtoP\x01\xa2\x02\x03\x41MX\xaa\x02%AgenticMeshProtocol.ModuleRegistry.V1\xca\x02%AgenticMeshProtocol\\ModuleRegistry\\V1\xe2\x02\x31\x41genticMeshProtocol\\ModuleRegistry\\V1\\GPBMetadata\xea\x02\'AgenticMeshProtocol::ModuleRegistry::V1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.module_registry.v1.discover_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n,com.agentic_mesh_protocol.module_registry.v1B\rDiscoverProtoP\001\242\002\003AMX\252\002%AgenticMeshProtocol.ModuleRegistry.V1\312\002%AgenticMeshProtocol\\ModuleRegistry\\V1\342\0021AgenticMeshProtocol\\ModuleRegistry\\V1\\GPBMetadata\352\002\'AgenticMeshProtocol::ModuleRegistry::V1'
|
|
37
|
+
_globals['_DISCOVERSEARCHREQUEST'].fields_by_name['module_type']._loaded_options = None
|
|
38
|
+
_globals['_DISCOVERSEARCHREQUEST'].fields_by_name['module_type']._serialized_options = b'\272H\037r\032R\007triggerR\004toolR\003kinR\004view\310\001\001'
|
|
39
|
+
_globals['_DISCOVERSEARCHREQUEST'].fields_by_name['name']._loaded_options = None
|
|
40
|
+
_globals['_DISCOVERSEARCHREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
41
|
+
_globals['_DISCOVERSEARCHREQUEST'].fields_by_name['description']._loaded_options = None
|
|
42
|
+
_globals['_DISCOVERSEARCHREQUEST'].fields_by_name['description']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
43
|
+
_globals['_DISCOVERINFOREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
44
|
+
_globals['_DISCOVERINFOREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
45
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['module_id']._loaded_options = None
|
|
46
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['module_id']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
47
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['module_type']._loaded_options = None
|
|
48
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['module_type']._serialized_options = b'\272H\037r\032R\007triggerR\004toolR\003kinR\004view\310\001\001'
|
|
49
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['address']._loaded_options = None
|
|
50
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['address']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
51
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['port']._loaded_options = None
|
|
52
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['port']._serialized_options = b'\272H\013\032\006\030\377\377\003(\001\310\001\001'
|
|
53
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['version']._loaded_options = None
|
|
54
|
+
_globals['_DISCOVERINFORESPONSE'].fields_by_name['version']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
55
|
+
_globals['_DISCOVERSEARCHREQUEST']._serialized_start=188
|
|
56
|
+
_globals['_DISCOVERSEARCHREQUEST']._serialized_end=481
|
|
57
|
+
_globals['_DISCOVERSEARCHRESPONSE']._serialized_start=483
|
|
58
|
+
_globals['_DISCOVERSEARCHRESPONSE']._serialized_end=597
|
|
59
|
+
_globals['_DISCOVERINFOREQUEST']._serialized_start=599
|
|
60
|
+
_globals['_DISCOVERINFOREQUEST']._serialized_end=661
|
|
61
|
+
_globals['_DISCOVERINFORESPONSE']._serialized_start=664
|
|
62
|
+
_globals['_DISCOVERINFORESPONSE']._serialized_end=1006
|
|
63
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from agentic_mesh_protocol.module_registry.v1 import metadata_pb2 as _metadata_pb2
|
|
2
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
3
|
+
from google.protobuf.internal import containers as _containers
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
7
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class DiscoverSearchRequest(_message.Message):
|
|
12
|
+
__slots__ = ()
|
|
13
|
+
MODULE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
module_type: str
|
|
18
|
+
name: str
|
|
19
|
+
tags: _containers.RepeatedCompositeFieldContainer[_metadata_pb2.Tag]
|
|
20
|
+
description: str
|
|
21
|
+
def __init__(self, module_type: _Optional[str] = ..., name: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[_metadata_pb2.Tag, _Mapping]]] = ..., description: _Optional[str] = ...) -> None: ...
|
|
22
|
+
|
|
23
|
+
class DiscoverSearchResponse(_message.Message):
|
|
24
|
+
__slots__ = ()
|
|
25
|
+
MODULES_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
modules: _containers.RepeatedCompositeFieldContainer[DiscoverInfoResponse]
|
|
27
|
+
def __init__(self, modules: _Optional[_Iterable[_Union[DiscoverInfoResponse, _Mapping]]] = ...) -> None: ...
|
|
28
|
+
|
|
29
|
+
class DiscoverInfoRequest(_message.Message):
|
|
30
|
+
__slots__ = ()
|
|
31
|
+
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
module_id: str
|
|
33
|
+
def __init__(self, module_id: _Optional[str] = ...) -> None: ...
|
|
34
|
+
|
|
35
|
+
class DiscoverInfoResponse(_message.Message):
|
|
36
|
+
__slots__ = ()
|
|
37
|
+
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
MODULE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
ADDRESS_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
PORT_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
module_id: str
|
|
44
|
+
module_type: str
|
|
45
|
+
address: str
|
|
46
|
+
port: int
|
|
47
|
+
version: str
|
|
48
|
+
metadata: _metadata_pb2.Metadata
|
|
49
|
+
def __init__(self, module_id: _Optional[str] = ..., module_type: _Optional[str] = ..., address: _Optional[str] = ..., port: _Optional[int] = ..., version: _Optional[str] = ..., metadata: _Optional[_Union[_metadata_pb2.Metadata, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/module_registry/v1/metadata.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/module_registry/v1/metadata.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7agentic_mesh_protocol/module_registry/v1/metadata.proto\x12(agentic_mesh_protocol.module_registry.v1\x1a\x1b\x62uf/validate/validate.proto\"#\n\x03Tag\x12\x1c\n\x03tag\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x03tag\"\xb0\x01\n\x08Metadata\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12\x41\n\x04tags\x18\x02 \x03(\x0b\x32-.agentic_mesh_protocol.module_registry.v1.TagR\x04tags\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x42\x0e\n\x0c_descriptionB\xf3\x01\n,com.agentic_mesh_protocol.module_registry.v1B\rMetadataProtoP\x01\xa2\x02\x03\x41MX\xaa\x02%AgenticMeshProtocol.ModuleRegistry.V1\xca\x02%AgenticMeshProtocol\\ModuleRegistry\\V1\xe2\x02\x31\x41genticMeshProtocol\\ModuleRegistry\\V1\\GPBMetadata\xea\x02\'AgenticMeshProtocol::ModuleRegistry::V1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.module_registry.v1.metadata_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n,com.agentic_mesh_protocol.module_registry.v1B\rMetadataProtoP\001\242\002\003AMX\252\002%AgenticMeshProtocol.ModuleRegistry.V1\312\002%AgenticMeshProtocol\\ModuleRegistry\\V1\342\0021AgenticMeshProtocol\\ModuleRegistry\\V1\\GPBMetadata\352\002\'AgenticMeshProtocol::ModuleRegistry::V1'
|
|
36
|
+
_globals['_TAG'].fields_by_name['tag']._loaded_options = None
|
|
37
|
+
_globals['_TAG'].fields_by_name['tag']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
38
|
+
_globals['_METADATA'].fields_by_name['name']._loaded_options = None
|
|
39
|
+
_globals['_METADATA'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
40
|
+
_globals['_METADATA'].fields_by_name['description']._loaded_options = None
|
|
41
|
+
_globals['_METADATA'].fields_by_name['description']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
42
|
+
_globals['_TAG']._serialized_start=130
|
|
43
|
+
_globals['_TAG']._serialized_end=165
|
|
44
|
+
_globals['_METADATA']._serialized_start=168
|
|
45
|
+
_globals['_METADATA']._serialized_end=344
|
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class Tag(_message.Message):
|
|
11
|
+
__slots__ = ()
|
|
12
|
+
TAG_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
tag: str
|
|
14
|
+
def __init__(self, tag: _Optional[str] = ...) -> None: ...
|
|
15
|
+
|
|
16
|
+
class Metadata(_message.Message):
|
|
17
|
+
__slots__ = ()
|
|
18
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
name: str
|
|
22
|
+
tags: _containers.RepeatedCompositeFieldContainer[Tag]
|
|
23
|
+
description: str
|
|
24
|
+
def __init__(self, name: _Optional[str] = ..., tags: _Optional[_Iterable[_Union[Tag, _Mapping]]] = ..., description: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/module_registry/v1/module_registry_service.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/module_registry/v1/module_registry_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.module_registry.v1 import discover_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2
|
|
26
|
+
from agentic_mesh_protocol.module_registry.v1 import registration_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2
|
|
27
|
+
from agentic_mesh_protocol.module_registry.v1 import status_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFagentic_mesh_protocol/module_registry/v1/module_registry_service.proto\x12(agentic_mesh_protocol.module_registry.v1\x1a\x37\x61gentic_mesh_protocol/module_registry/v1/discover.proto\x1a;agentic_mesh_protocol/module_registry/v1/registration.proto\x1a\x35\x61gentic_mesh_protocol/module_registry/v1/status.proto2\xd9\t\n\x15ModuleRegistryService\x12\x89\x01\n\x0eRegisterModule\x12\x39.agentic_mesh_protocol.module_registry.v1.RegisterRequest\x1a:.agentic_mesh_protocol.module_registry.v1.RegisterResponse\"\x00\x12\x8f\x01\n\x10\x44\x65registerModule\x12;.agentic_mesh_protocol.module_registry.v1.DeregisterRequest\x1a<.agentic_mesh_protocol.module_registry.v1.DeregisterResponse\"\x00\x12\x95\x01\n\x12\x44iscoverInfoModule\x12=.agentic_mesh_protocol.module_registry.v1.DiscoverInfoRequest\x1a>.agentic_mesh_protocol.module_registry.v1.DiscoverInfoResponse\"\x00\x12\x9b\x01\n\x14\x44iscoverSearchModule\x12?.agentic_mesh_protocol.module_registry.v1.DiscoverSearchRequest\x1a@.agentic_mesh_protocol.module_registry.v1.DiscoverSearchResponse\"\x00\x12\x92\x01\n\x0fGetModuleStatus\x12=.agentic_mesh_protocol.module_registry.v1.ModuleStatusRequest\x1a>.agentic_mesh_protocol.module_registry.v1.ModuleStatusResponse\"\x00\x12\x9d\x01\n\x10ListModuleStatus\x12\x42.agentic_mesh_protocol.module_registry.v1.ListModulesStatusRequest\x1a\x43.agentic_mesh_protocol.module_registry.v1.ListModulesStatusResponse\"\x00\x12\x9e\x01\n\x12GetAllModuleStatus\x12\x44.agentic_mesh_protocol.module_registry.v1.GetAllModulesStatusRequest\x1a>.agentic_mesh_protocol.module_registry.v1.ModuleStatusResponse\"\x00\x30\x01\x12\x95\x01\n\x12UpdateModuleStatus\x12=.agentic_mesh_protocol.module_registry.v1.UpdateStatusRequest\x1a>.agentic_mesh_protocol.module_registry.v1.UpdateStatusResponse\"\x00\x42\x80\x02\n,com.agentic_mesh_protocol.module_registry.v1B\x1aModuleRegistryServiceProtoP\x01\xa2\x02\x03\x41MX\xaa\x02%AgenticMeshProtocol.ModuleRegistry.V1\xca\x02%AgenticMeshProtocol\\ModuleRegistry\\V1\xe2\x02\x31\x41genticMeshProtocol\\ModuleRegistry\\V1\\GPBMetadata\xea\x02\'AgenticMeshProtocol::ModuleRegistry::V1b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.module_registry.v1.module_registry_service_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n,com.agentic_mesh_protocol.module_registry.v1B\032ModuleRegistryServiceProtoP\001\242\002\003AMX\252\002%AgenticMeshProtocol.ModuleRegistry.V1\312\002%AgenticMeshProtocol\\ModuleRegistry\\V1\342\0021AgenticMeshProtocol\\ModuleRegistry\\V1\\GPBMetadata\352\002\'AgenticMeshProtocol::ModuleRegistry::V1'
|
|
38
|
+
_globals['_MODULEREGISTRYSERVICE']._serialized_start=290
|
|
39
|
+
_globals['_MODULEREGISTRYSERVICE']._serialized_end=1531
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
from agentic_mesh_protocol.module_registry.v1 import discover_pb2 as _discover_pb2
|
|
2
|
+
from agentic_mesh_protocol.module_registry.v1 import registration_pb2 as _registration_pb2
|
|
3
|
+
from agentic_mesh_protocol.module_registry.v1 import status_pb2 as _status_pb2
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from typing import ClassVar as _ClassVar
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from agentic_mesh_protocol.module_registry.v1 import discover_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2
|
|
6
|
+
from agentic_mesh_protocol.module_registry.v1 import registration_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2
|
|
7
|
+
from agentic_mesh_protocol.module_registry.v1 import status_pb2 as agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ModuleRegistryServiceStub(object):
|
|
11
|
+
"""ModuleRegistryService
|
|
12
|
+
It manages the registration, discovery, and status tracking of modules within a multi-agent system (MAS).
|
|
13
|
+
In the context of MAS, this service allows autonomous agents to register their modules, making their capabilities
|
|
14
|
+
discoverable by other agents. It facilitates dynamic collaboration by enabling agents to find and interact
|
|
15
|
+
with available modules in real-time. Additionally, it ensures that the status of each module is kept up to date,
|
|
16
|
+
supporting the overall adaptability and coordination of the multi-agent environment.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
def __init__(self, channel):
|
|
20
|
+
"""Constructor.
|
|
21
|
+
|
|
22
|
+
Args:
|
|
23
|
+
channel: A grpc.Channel.
|
|
24
|
+
"""
|
|
25
|
+
self.RegisterModule = channel.unary_unary(
|
|
26
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/RegisterModule',
|
|
27
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.RegisterRequest.SerializeToString,
|
|
28
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.RegisterResponse.FromString,
|
|
29
|
+
_registered_method=True)
|
|
30
|
+
self.DeregisterModule = channel.unary_unary(
|
|
31
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/DeregisterModule',
|
|
32
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.DeregisterRequest.SerializeToString,
|
|
33
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.DeregisterResponse.FromString,
|
|
34
|
+
_registered_method=True)
|
|
35
|
+
self.DiscoverInfoModule = channel.unary_unary(
|
|
36
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/DiscoverInfoModule',
|
|
37
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverInfoRequest.SerializeToString,
|
|
38
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverInfoResponse.FromString,
|
|
39
|
+
_registered_method=True)
|
|
40
|
+
self.DiscoverSearchModule = channel.unary_unary(
|
|
41
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/DiscoverSearchModule',
|
|
42
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverSearchRequest.SerializeToString,
|
|
43
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverSearchResponse.FromString,
|
|
44
|
+
_registered_method=True)
|
|
45
|
+
self.GetModuleStatus = channel.unary_unary(
|
|
46
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/GetModuleStatus',
|
|
47
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusRequest.SerializeToString,
|
|
48
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusResponse.FromString,
|
|
49
|
+
_registered_method=True)
|
|
50
|
+
self.ListModuleStatus = channel.unary_unary(
|
|
51
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/ListModuleStatus',
|
|
52
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ListModulesStatusRequest.SerializeToString,
|
|
53
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ListModulesStatusResponse.FromString,
|
|
54
|
+
_registered_method=True)
|
|
55
|
+
self.GetAllModuleStatus = channel.unary_stream(
|
|
56
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/GetAllModuleStatus',
|
|
57
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.GetAllModulesStatusRequest.SerializeToString,
|
|
58
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusResponse.FromString,
|
|
59
|
+
_registered_method=True)
|
|
60
|
+
self.UpdateModuleStatus = channel.unary_unary(
|
|
61
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/UpdateModuleStatus',
|
|
62
|
+
request_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.UpdateStatusRequest.SerializeToString,
|
|
63
|
+
response_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.UpdateStatusResponse.FromString,
|
|
64
|
+
_registered_method=True)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class ModuleRegistryServiceServicer(object):
|
|
68
|
+
"""ModuleRegistryService
|
|
69
|
+
It manages the registration, discovery, and status tracking of modules within a multi-agent system (MAS).
|
|
70
|
+
In the context of MAS, this service allows autonomous agents to register their modules, making their capabilities
|
|
71
|
+
discoverable by other agents. It facilitates dynamic collaboration by enabling agents to find and interact
|
|
72
|
+
with available modules in real-time. Additionally, it ensures that the status of each module is kept up to date,
|
|
73
|
+
supporting the overall adaptability and coordination of the multi-agent environment.
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
def RegisterModule(self, request, context):
|
|
77
|
+
"""RegisterModule
|
|
78
|
+
"""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
83
|
+
def DeregisterModule(self, request, context):
|
|
84
|
+
"""DeregisterModule
|
|
85
|
+
"""
|
|
86
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
|
+
context.set_details('Method not implemented!')
|
|
88
|
+
raise NotImplementedError('Method not implemented!')
|
|
89
|
+
|
|
90
|
+
def DiscoverInfoModule(self, request, context):
|
|
91
|
+
"""DiscoverInfoModule
|
|
92
|
+
"""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
97
|
+
def DiscoverSearchModule(self, request, context):
|
|
98
|
+
"""DiscoverSearchModule
|
|
99
|
+
"""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
def GetModuleStatus(self, request, context):
|
|
105
|
+
"""GetModuleStatus
|
|
106
|
+
"""
|
|
107
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
|
+
context.set_details('Method not implemented!')
|
|
109
|
+
raise NotImplementedError('Method not implemented!')
|
|
110
|
+
|
|
111
|
+
def ListModuleStatus(self, request, context):
|
|
112
|
+
"""ListModuleStatus
|
|
113
|
+
"""
|
|
114
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
115
|
+
context.set_details('Method not implemented!')
|
|
116
|
+
raise NotImplementedError('Method not implemented!')
|
|
117
|
+
|
|
118
|
+
def GetAllModuleStatus(self, request, context):
|
|
119
|
+
"""GetAllModuleStatus
|
|
120
|
+
"""
|
|
121
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
122
|
+
context.set_details('Method not implemented!')
|
|
123
|
+
raise NotImplementedError('Method not implemented!')
|
|
124
|
+
|
|
125
|
+
def UpdateModuleStatus(self, request, context):
|
|
126
|
+
"""UpdateModuleStatus
|
|
127
|
+
"""
|
|
128
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
129
|
+
context.set_details('Method not implemented!')
|
|
130
|
+
raise NotImplementedError('Method not implemented!')
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def add_ModuleRegistryServiceServicer_to_server(servicer, server):
|
|
134
|
+
rpc_method_handlers = {
|
|
135
|
+
'RegisterModule': grpc.unary_unary_rpc_method_handler(
|
|
136
|
+
servicer.RegisterModule,
|
|
137
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.RegisterRequest.FromString,
|
|
138
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.RegisterResponse.SerializeToString,
|
|
139
|
+
),
|
|
140
|
+
'DeregisterModule': grpc.unary_unary_rpc_method_handler(
|
|
141
|
+
servicer.DeregisterModule,
|
|
142
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.DeregisterRequest.FromString,
|
|
143
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.DeregisterResponse.SerializeToString,
|
|
144
|
+
),
|
|
145
|
+
'DiscoverInfoModule': grpc.unary_unary_rpc_method_handler(
|
|
146
|
+
servicer.DiscoverInfoModule,
|
|
147
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverInfoRequest.FromString,
|
|
148
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverInfoResponse.SerializeToString,
|
|
149
|
+
),
|
|
150
|
+
'DiscoverSearchModule': grpc.unary_unary_rpc_method_handler(
|
|
151
|
+
servicer.DiscoverSearchModule,
|
|
152
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverSearchRequest.FromString,
|
|
153
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverSearchResponse.SerializeToString,
|
|
154
|
+
),
|
|
155
|
+
'GetModuleStatus': grpc.unary_unary_rpc_method_handler(
|
|
156
|
+
servicer.GetModuleStatus,
|
|
157
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusRequest.FromString,
|
|
158
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusResponse.SerializeToString,
|
|
159
|
+
),
|
|
160
|
+
'ListModuleStatus': grpc.unary_unary_rpc_method_handler(
|
|
161
|
+
servicer.ListModuleStatus,
|
|
162
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ListModulesStatusRequest.FromString,
|
|
163
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ListModulesStatusResponse.SerializeToString,
|
|
164
|
+
),
|
|
165
|
+
'GetAllModuleStatus': grpc.unary_stream_rpc_method_handler(
|
|
166
|
+
servicer.GetAllModuleStatus,
|
|
167
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.GetAllModulesStatusRequest.FromString,
|
|
168
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusResponse.SerializeToString,
|
|
169
|
+
),
|
|
170
|
+
'UpdateModuleStatus': grpc.unary_unary_rpc_method_handler(
|
|
171
|
+
servicer.UpdateModuleStatus,
|
|
172
|
+
request_deserializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.UpdateStatusRequest.FromString,
|
|
173
|
+
response_serializer=agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.UpdateStatusResponse.SerializeToString,
|
|
174
|
+
),
|
|
175
|
+
}
|
|
176
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
177
|
+
'agentic_mesh_protocol.module_registry.v1.ModuleRegistryService', rpc_method_handlers)
|
|
178
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
179
|
+
server.add_registered_method_handlers('agentic_mesh_protocol.module_registry.v1.ModuleRegistryService', rpc_method_handlers)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
# This class is part of an EXPERIMENTAL API.
|
|
183
|
+
class ModuleRegistryService(object):
|
|
184
|
+
"""ModuleRegistryService
|
|
185
|
+
It manages the registration, discovery, and status tracking of modules within a multi-agent system (MAS).
|
|
186
|
+
In the context of MAS, this service allows autonomous agents to register their modules, making their capabilities
|
|
187
|
+
discoverable by other agents. It facilitates dynamic collaboration by enabling agents to find and interact
|
|
188
|
+
with available modules in real-time. Additionally, it ensures that the status of each module is kept up to date,
|
|
189
|
+
supporting the overall adaptability and coordination of the multi-agent environment.
|
|
190
|
+
"""
|
|
191
|
+
|
|
192
|
+
@staticmethod
|
|
193
|
+
def RegisterModule(request,
|
|
194
|
+
target,
|
|
195
|
+
options=(),
|
|
196
|
+
channel_credentials=None,
|
|
197
|
+
call_credentials=None,
|
|
198
|
+
insecure=False,
|
|
199
|
+
compression=None,
|
|
200
|
+
wait_for_ready=None,
|
|
201
|
+
timeout=None,
|
|
202
|
+
metadata=None):
|
|
203
|
+
return grpc.experimental.unary_unary(
|
|
204
|
+
request,
|
|
205
|
+
target,
|
|
206
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/RegisterModule',
|
|
207
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.RegisterRequest.SerializeToString,
|
|
208
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.RegisterResponse.FromString,
|
|
209
|
+
options,
|
|
210
|
+
channel_credentials,
|
|
211
|
+
insecure,
|
|
212
|
+
call_credentials,
|
|
213
|
+
compression,
|
|
214
|
+
wait_for_ready,
|
|
215
|
+
timeout,
|
|
216
|
+
metadata,
|
|
217
|
+
_registered_method=True)
|
|
218
|
+
|
|
219
|
+
@staticmethod
|
|
220
|
+
def DeregisterModule(request,
|
|
221
|
+
target,
|
|
222
|
+
options=(),
|
|
223
|
+
channel_credentials=None,
|
|
224
|
+
call_credentials=None,
|
|
225
|
+
insecure=False,
|
|
226
|
+
compression=None,
|
|
227
|
+
wait_for_ready=None,
|
|
228
|
+
timeout=None,
|
|
229
|
+
metadata=None):
|
|
230
|
+
return grpc.experimental.unary_unary(
|
|
231
|
+
request,
|
|
232
|
+
target,
|
|
233
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/DeregisterModule',
|
|
234
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.DeregisterRequest.SerializeToString,
|
|
235
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_registration__pb2.DeregisterResponse.FromString,
|
|
236
|
+
options,
|
|
237
|
+
channel_credentials,
|
|
238
|
+
insecure,
|
|
239
|
+
call_credentials,
|
|
240
|
+
compression,
|
|
241
|
+
wait_for_ready,
|
|
242
|
+
timeout,
|
|
243
|
+
metadata,
|
|
244
|
+
_registered_method=True)
|
|
245
|
+
|
|
246
|
+
@staticmethod
|
|
247
|
+
def DiscoverInfoModule(request,
|
|
248
|
+
target,
|
|
249
|
+
options=(),
|
|
250
|
+
channel_credentials=None,
|
|
251
|
+
call_credentials=None,
|
|
252
|
+
insecure=False,
|
|
253
|
+
compression=None,
|
|
254
|
+
wait_for_ready=None,
|
|
255
|
+
timeout=None,
|
|
256
|
+
metadata=None):
|
|
257
|
+
return grpc.experimental.unary_unary(
|
|
258
|
+
request,
|
|
259
|
+
target,
|
|
260
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/DiscoverInfoModule',
|
|
261
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverInfoRequest.SerializeToString,
|
|
262
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverInfoResponse.FromString,
|
|
263
|
+
options,
|
|
264
|
+
channel_credentials,
|
|
265
|
+
insecure,
|
|
266
|
+
call_credentials,
|
|
267
|
+
compression,
|
|
268
|
+
wait_for_ready,
|
|
269
|
+
timeout,
|
|
270
|
+
metadata,
|
|
271
|
+
_registered_method=True)
|
|
272
|
+
|
|
273
|
+
@staticmethod
|
|
274
|
+
def DiscoverSearchModule(request,
|
|
275
|
+
target,
|
|
276
|
+
options=(),
|
|
277
|
+
channel_credentials=None,
|
|
278
|
+
call_credentials=None,
|
|
279
|
+
insecure=False,
|
|
280
|
+
compression=None,
|
|
281
|
+
wait_for_ready=None,
|
|
282
|
+
timeout=None,
|
|
283
|
+
metadata=None):
|
|
284
|
+
return grpc.experimental.unary_unary(
|
|
285
|
+
request,
|
|
286
|
+
target,
|
|
287
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/DiscoverSearchModule',
|
|
288
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverSearchRequest.SerializeToString,
|
|
289
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_discover__pb2.DiscoverSearchResponse.FromString,
|
|
290
|
+
options,
|
|
291
|
+
channel_credentials,
|
|
292
|
+
insecure,
|
|
293
|
+
call_credentials,
|
|
294
|
+
compression,
|
|
295
|
+
wait_for_ready,
|
|
296
|
+
timeout,
|
|
297
|
+
metadata,
|
|
298
|
+
_registered_method=True)
|
|
299
|
+
|
|
300
|
+
@staticmethod
|
|
301
|
+
def GetModuleStatus(request,
|
|
302
|
+
target,
|
|
303
|
+
options=(),
|
|
304
|
+
channel_credentials=None,
|
|
305
|
+
call_credentials=None,
|
|
306
|
+
insecure=False,
|
|
307
|
+
compression=None,
|
|
308
|
+
wait_for_ready=None,
|
|
309
|
+
timeout=None,
|
|
310
|
+
metadata=None):
|
|
311
|
+
return grpc.experimental.unary_unary(
|
|
312
|
+
request,
|
|
313
|
+
target,
|
|
314
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/GetModuleStatus',
|
|
315
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusRequest.SerializeToString,
|
|
316
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusResponse.FromString,
|
|
317
|
+
options,
|
|
318
|
+
channel_credentials,
|
|
319
|
+
insecure,
|
|
320
|
+
call_credentials,
|
|
321
|
+
compression,
|
|
322
|
+
wait_for_ready,
|
|
323
|
+
timeout,
|
|
324
|
+
metadata,
|
|
325
|
+
_registered_method=True)
|
|
326
|
+
|
|
327
|
+
@staticmethod
|
|
328
|
+
def ListModuleStatus(request,
|
|
329
|
+
target,
|
|
330
|
+
options=(),
|
|
331
|
+
channel_credentials=None,
|
|
332
|
+
call_credentials=None,
|
|
333
|
+
insecure=False,
|
|
334
|
+
compression=None,
|
|
335
|
+
wait_for_ready=None,
|
|
336
|
+
timeout=None,
|
|
337
|
+
metadata=None):
|
|
338
|
+
return grpc.experimental.unary_unary(
|
|
339
|
+
request,
|
|
340
|
+
target,
|
|
341
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/ListModuleStatus',
|
|
342
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ListModulesStatusRequest.SerializeToString,
|
|
343
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ListModulesStatusResponse.FromString,
|
|
344
|
+
options,
|
|
345
|
+
channel_credentials,
|
|
346
|
+
insecure,
|
|
347
|
+
call_credentials,
|
|
348
|
+
compression,
|
|
349
|
+
wait_for_ready,
|
|
350
|
+
timeout,
|
|
351
|
+
metadata,
|
|
352
|
+
_registered_method=True)
|
|
353
|
+
|
|
354
|
+
@staticmethod
|
|
355
|
+
def GetAllModuleStatus(request,
|
|
356
|
+
target,
|
|
357
|
+
options=(),
|
|
358
|
+
channel_credentials=None,
|
|
359
|
+
call_credentials=None,
|
|
360
|
+
insecure=False,
|
|
361
|
+
compression=None,
|
|
362
|
+
wait_for_ready=None,
|
|
363
|
+
timeout=None,
|
|
364
|
+
metadata=None):
|
|
365
|
+
return grpc.experimental.unary_stream(
|
|
366
|
+
request,
|
|
367
|
+
target,
|
|
368
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/GetAllModuleStatus',
|
|
369
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.GetAllModulesStatusRequest.SerializeToString,
|
|
370
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.ModuleStatusResponse.FromString,
|
|
371
|
+
options,
|
|
372
|
+
channel_credentials,
|
|
373
|
+
insecure,
|
|
374
|
+
call_credentials,
|
|
375
|
+
compression,
|
|
376
|
+
wait_for_ready,
|
|
377
|
+
timeout,
|
|
378
|
+
metadata,
|
|
379
|
+
_registered_method=True)
|
|
380
|
+
|
|
381
|
+
@staticmethod
|
|
382
|
+
def UpdateModuleStatus(request,
|
|
383
|
+
target,
|
|
384
|
+
options=(),
|
|
385
|
+
channel_credentials=None,
|
|
386
|
+
call_credentials=None,
|
|
387
|
+
insecure=False,
|
|
388
|
+
compression=None,
|
|
389
|
+
wait_for_ready=None,
|
|
390
|
+
timeout=None,
|
|
391
|
+
metadata=None):
|
|
392
|
+
return grpc.experimental.unary_unary(
|
|
393
|
+
request,
|
|
394
|
+
target,
|
|
395
|
+
'/agentic_mesh_protocol.module_registry.v1.ModuleRegistryService/UpdateModuleStatus',
|
|
396
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.UpdateStatusRequest.SerializeToString,
|
|
397
|
+
agentic__mesh__protocol_dot_module__registry_dot_v1_dot_status__pb2.UpdateStatusResponse.FromString,
|
|
398
|
+
options,
|
|
399
|
+
channel_credentials,
|
|
400
|
+
insecure,
|
|
401
|
+
call_credentials,
|
|
402
|
+
compression,
|
|
403
|
+
wait_for_ready,
|
|
404
|
+
timeout,
|
|
405
|
+
metadata,
|
|
406
|
+
_registered_method=True)
|