-
Notifications
You must be signed in to change notification settings - Fork 422
Expand file tree
/
Copy path__init__.py
More file actions
32 lines (22 loc) · 873 Bytes
/
__init__.py
File metadata and controls
32 lines (22 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""The A2A Python SDK.
This SDK provides tools for building A2A (Agent-to-Agent) protocol clients
and servers with support for:
- TLS/SSL secure communication (see a2a.client.TLSConfig)
- JSON Schema message validation (see a2a.validation)
- High-performance async operations via uvloop (see a2a.performance)
Example usage:
from a2a.client import Client, ClientConfig, TLSConfig
from a2a.validation import validate_message
from a2a.performance import install_uvloop
# Enable uvloop for better performance
install_uvloop()
# Configure TLS
tls = TLSConfig(
enabled=True,
verify='/path/to/ca.pem',
cert=('/path/to/client.pem', '/path/to/key.pem'),
)
config = ClientConfig(tls_config=tls)
"""
from a2a import client, performance, types, validation
__all__ = ['client', 'performance', 'types', 'validation']