agent0-sdk 0.31__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.
agent0_sdk/__init__.py ADDED
@@ -0,0 +1,52 @@
1
+ """
2
+ Agent0 SDK - Python SDK for agent portability, discovery and trust based on ERC-8004.
3
+ """
4
+
5
+ from .core.models import (
6
+ AgentId,
7
+ ChainId,
8
+ Address,
9
+ URI,
10
+ CID,
11
+ Timestamp,
12
+ IdemKey,
13
+ EndpointType,
14
+ TrustModel,
15
+ Endpoint,
16
+ RegistrationFile,
17
+ AgentSummary,
18
+ Feedback,
19
+ SearchParams,
20
+ SearchFeedbackParams,
21
+ )
22
+
23
+ # Try to import SDK and Agent (may fail if web3 is not installed)
24
+ try:
25
+ from .core.sdk import SDK
26
+ from .core.agent import Agent
27
+ _sdk_available = True
28
+ except ImportError:
29
+ SDK = None
30
+ Agent = None
31
+ _sdk_available = False
32
+
33
+ __version__ = "0.31"
34
+ __all__ = [
35
+ "SDK",
36
+ "Agent",
37
+ "AgentId",
38
+ "ChainId",
39
+ "Address",
40
+ "URI",
41
+ "CID",
42
+ "Timestamp",
43
+ "IdemKey",
44
+ "EndpointType",
45
+ "TrustModel",
46
+ "Endpoint",
47
+ "RegistrationFile",
48
+ "AgentSummary",
49
+ "Feedback",
50
+ "SearchParams",
51
+ "SearchFeedbackParams",
52
+ ]