agentx-python 0.4.0__tar.gz → 0.4.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentx-python
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Official Python SDK for AgentX (https://www.agentx.so/)
5
5
  Home-page: https://github.com/AgentX-ai/AgentX-python-sdk
6
6
  Author: Robin Wang and AgentX Team
@@ -13,6 +13,9 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: urllib3>=1.26.11
15
15
  Requires-Dist: certifi
16
+ Requires-Dist: requests
17
+ Requires-Dist: pydantic
18
+ Requires-Dist: pydantic_core
16
19
  Dynamic: author
17
20
  Dynamic: author-email
18
21
  Dynamic: classifier
@@ -52,6 +55,28 @@ Why build AI agent with AgentX?
52
55
  pip install --upgrade agentx-python
53
56
  ```
54
57
 
58
+ ## Quick Start
59
+
60
+ Get started with AgentX in just a few lines of code:
61
+
62
+ ```python
63
+ from agentx import AgentX
64
+
65
+ # Initialize the client
66
+ client = AgentX(api_key="your-api-key-here")
67
+
68
+ # Get your agents
69
+ agents = client.list_agents()
70
+ print(f"You have {len(agents)} agents")
71
+
72
+ # Start chatting with your first agent
73
+ if agents:
74
+ agent = agents[0]
75
+ conversation = agent.new_conversation()
76
+ response = conversation.chat("Hello! What can you help me with?")
77
+ print(response)
78
+ ```
79
+
55
80
  ## Usage
56
81
 
57
82
  Provide an `api_key` inline or set `AGENTX_API_KEY` as an environment variable.
@@ -26,6 +26,28 @@ Why build AI agent with AgentX?
26
26
  pip install --upgrade agentx-python
27
27
  ```
28
28
 
29
+ ## Quick Start
30
+
31
+ Get started with AgentX in just a few lines of code:
32
+
33
+ ```python
34
+ from agentx import AgentX
35
+
36
+ # Initialize the client
37
+ client = AgentX(api_key="your-api-key-here")
38
+
39
+ # Get your agents
40
+ agents = client.list_agents()
41
+ print(f"You have {len(agents)} agents")
42
+
43
+ # Start chatting with your first agent
44
+ if agents:
45
+ agent = agents[0]
46
+ conversation = agent.new_conversation()
47
+ response = conversation.chat("Hello! What can you help me with?")
48
+ print(response)
49
+ ```
50
+
29
51
  ## Usage
30
52
 
31
53
  Provide an `api_key` inline or set `AGENTX_API_KEY` as an environment variable.
@@ -0,0 +1 @@
1
+ VERSION = "0.4.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentx-python
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Official Python SDK for AgentX (https://www.agentx.so/)
5
5
  Home-page: https://github.com/AgentX-ai/AgentX-python-sdk
6
6
  Author: Robin Wang and AgentX Team
@@ -13,6 +13,9 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: urllib3>=1.26.11
15
15
  Requires-Dist: certifi
16
+ Requires-Dist: requests
17
+ Requires-Dist: pydantic
18
+ Requires-Dist: pydantic_core
16
19
  Dynamic: author
17
20
  Dynamic: author-email
18
21
  Dynamic: classifier
@@ -52,6 +55,28 @@ Why build AI agent with AgentX?
52
55
  pip install --upgrade agentx-python
53
56
  ```
54
57
 
58
+ ## Quick Start
59
+
60
+ Get started with AgentX in just a few lines of code:
61
+
62
+ ```python
63
+ from agentx import AgentX
64
+
65
+ # Initialize the client
66
+ client = AgentX(api_key="your-api-key-here")
67
+
68
+ # Get your agents
69
+ agents = client.list_agents()
70
+ print(f"You have {len(agents)} agents")
71
+
72
+ # Start chatting with your first agent
73
+ if agents:
74
+ agent = agents[0]
75
+ conversation = agent.new_conversation()
76
+ response = conversation.chat("Hello! What can you help me with?")
77
+ print(response)
78
+ ```
79
+
55
80
  ## Usage
56
81
 
57
82
  Provide an `api_key` inline or set `AGENTX_API_KEY` as an environment variable.
@@ -0,0 +1,5 @@
1
+ urllib3>=1.26.11
2
+ certifi
3
+ requests
4
+ pydantic
5
+ pydantic_core
@@ -24,6 +24,9 @@ setup(
24
24
  install_requires=[
25
25
  "urllib3>=1.26.11",
26
26
  "certifi",
27
+ "requests",
28
+ "pydantic",
29
+ "pydantic_core",
27
30
  ],
28
31
  author="Robin Wang and AgentX Team",
29
32
  author_email="contact@agentx.so",
@@ -1 +0,0 @@
1
- VERSION = "0.4.0"
@@ -1,2 +0,0 @@
1
- urllib3>=1.26.11
2
- certifi
File without changes
File without changes