agent0-sdk 1.4.0__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,57 @@
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
+ from .core.transaction_handle import TransactionHandle, TransactionMined
28
+ _sdk_available = True
29
+ except ImportError:
30
+ SDK = None
31
+ Agent = None
32
+ TransactionHandle = None
33
+ TransactionMined = None
34
+ _sdk_available = False
35
+
36
+ __version__ = "1.4.0"
37
+ __all__ = [
38
+ "SDK",
39
+ "Agent",
40
+ "TransactionHandle",
41
+ "TransactionMined",
42
+ "AgentId",
43
+ "ChainId",
44
+ "Address",
45
+ "URI",
46
+ "CID",
47
+ "Timestamp",
48
+ "IdemKey",
49
+ "EndpointType",
50
+ "TrustModel",
51
+ "Endpoint",
52
+ "RegistrationFile",
53
+ "AgentSummary",
54
+ "Feedback",
55
+ "SearchParams",
56
+ "SearchFeedbackParams",
57
+ ]