webagents 0.1.12__py3-none-any.whl → 0.1.13__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.
- webagents-0.1.13.dist-info/METADATA +32 -0
- {webagents-0.1.12.dist-info → webagents-0.1.13.dist-info}/RECORD +5 -5
- webagents-0.1.12.dist-info/METADATA +0 -99
- {webagents-0.1.12.dist-info → webagents-0.1.13.dist-info}/WHEEL +0 -0
- {webagents-0.1.12.dist-info → webagents-0.1.13.dist-info}/entry_points.txt +0 -0
- {webagents-0.1.12.dist-info → webagents-0.1.13.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: webagents
|
3
|
+
Version: 0.1.13
|
4
|
+
Summary: Web AI Agents SDK
|
5
|
+
Author: Awesome Opensource Contributors and Robutler Team
|
6
|
+
License: TBD
|
7
|
+
License-File: LICENSE
|
8
|
+
Requires-Python: >=3.10
|
9
|
+
Requires-Dist: colorama>=0.4.6
|
10
|
+
Requires-Dist: fastapi>=0.100.0
|
11
|
+
Requires-Dist: fastmcp>=2.3.0
|
12
|
+
Requires-Dist: httpx>=0.24.0
|
13
|
+
Requires-Dist: litellm>=1.0.0
|
14
|
+
Requires-Dist: pillow>=10.0.0
|
15
|
+
Requires-Dist: pydantic-settings>=2.0.0
|
16
|
+
Requires-Dist: pydantic>=2.7.0
|
17
|
+
Requires-Dist: python-dotenv>=1.0.0
|
18
|
+
Requires-Dist: tiktoken>=0.5.0
|
19
|
+
Requires-Dist: uvicorn>=0.23.0
|
20
|
+
Provides-Extra: dev
|
21
|
+
Requires-Dist: black>=23.0.0; extra == 'dev'
|
22
|
+
Requires-Dist: mypy>=1.0.0; extra == 'dev'
|
23
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
|
24
|
+
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
25
|
+
Requires-Dist: ruff>=0.0.270; extra == 'dev'
|
26
|
+
Provides-Extra: examples
|
27
|
+
Requires-Dist: openai-agents>=0.0.16; extra == 'examples'
|
28
|
+
Description-Content-Type: text/markdown
|
29
|
+
|
30
|
+
# Webagents
|
31
|
+
|
32
|
+
SDK for https://robutler.ai
|
@@ -89,8 +89,8 @@ webagents/server/endpoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
89
89
|
webagents/server/interfaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
90
90
|
webagents/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
91
91
|
webagents/utils/logging.py,sha256=F2Cfee7O_KgYvUIvuAqTZrkE8FXJ3_Zgvn-jR3rHC8Y,14057
|
92
|
-
webagents-0.1.
|
93
|
-
webagents-0.1.
|
94
|
-
webagents-0.1.
|
95
|
-
webagents-0.1.
|
96
|
-
webagents-0.1.
|
92
|
+
webagents-0.1.13.dist-info/METADATA,sha256=4fNw5tYNfsTcf4RNohIYIN9Xo4LRKS1qCWmz50memZ4,966
|
93
|
+
webagents-0.1.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
94
|
+
webagents-0.1.13.dist-info/entry_points.txt,sha256=bITAYBK8-H8EQUrDctEeEKuer4jAp3lfxKfvH5TT1eM,54
|
95
|
+
webagents-0.1.13.dist-info/licenses/LICENSE,sha256=A2JlSaWav2SO5ZFjs7isv2bDZRPLHnbW4ne8BEySbjA,3
|
96
|
+
webagents-0.1.13.dist-info/RECORD,,
|
@@ -1,99 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: webagents
|
3
|
-
Version: 0.1.12
|
4
|
-
Summary: Web AI Agents SDK
|
5
|
-
Author: Awesome Opensource Contributors and Robutler Team
|
6
|
-
License: TBD
|
7
|
-
License-File: LICENSE
|
8
|
-
Requires-Python: >=3.10
|
9
|
-
Requires-Dist: colorama>=0.4.6
|
10
|
-
Requires-Dist: fastapi>=0.100.0
|
11
|
-
Requires-Dist: fastmcp>=2.3.0
|
12
|
-
Requires-Dist: httpx>=0.24.0
|
13
|
-
Requires-Dist: litellm>=1.0.0
|
14
|
-
Requires-Dist: pillow>=10.0.0
|
15
|
-
Requires-Dist: pydantic-settings>=2.0.0
|
16
|
-
Requires-Dist: pydantic>=2.7.0
|
17
|
-
Requires-Dist: python-dotenv>=1.0.0
|
18
|
-
Requires-Dist: tiktoken>=0.5.0
|
19
|
-
Requires-Dist: uvicorn>=0.23.0
|
20
|
-
Provides-Extra: dev
|
21
|
-
Requires-Dist: black>=23.0.0; extra == 'dev'
|
22
|
-
Requires-Dist: mypy>=1.0.0; extra == 'dev'
|
23
|
-
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
|
24
|
-
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
25
|
-
Requires-Dist: ruff>=0.0.270; extra == 'dev'
|
26
|
-
Provides-Extra: examples
|
27
|
-
Requires-Dist: openai-agents>=0.0.16; extra == 'examples'
|
28
|
-
Description-Content-Type: text/markdown
|
29
|
-
|
30
|
-
# Robutler
|
31
|
-
|
32
|
-
Build discoverable and monetizable AI agents.
|
33
|
-
|
34
|
-
|
35
|
-
## Installation
|
36
|
-
|
37
|
-
```bash
|
38
|
-
pip install robutler
|
39
|
-
```
|
40
|
-
|
41
|
-
## Quick Start
|
42
|
-
|
43
|
-
### AI Agent Server
|
44
|
-
|
45
|
-
Create AI agents with OpenAI-compatible endpoints:
|
46
|
-
|
47
|
-
```python
|
48
|
-
from robutler.server import RobutlerServer, pricing
|
49
|
-
from robutler.agent import RobutlerAgent
|
50
|
-
|
51
|
-
# Create tools with pricing
|
52
|
-
@pricing(credits_per_call=100)
|
53
|
-
def get_weather(location: str) -> str:
|
54
|
-
"""Get current weather for a location"""
|
55
|
-
return f"Weather in {location}: Sunny, 72°F"
|
56
|
-
|
57
|
-
# Create an agent with intents
|
58
|
-
agent = RobutlerAgent(
|
59
|
-
name="assistant",
|
60
|
-
instructions="You are a helpful AI assistant.",
|
61
|
-
credits_per_token=5,
|
62
|
-
model="gpt-4o-mini",
|
63
|
-
tools=[get_weather],
|
64
|
-
intents=["help with weather", "provide assistance", "answer questions"]
|
65
|
-
)
|
66
|
-
|
67
|
-
# Create server with automatic endpoint creation
|
68
|
-
app = RobutlerServer(agents=[agent])
|
69
|
-
|
70
|
-
# Endpoints are automatically created:
|
71
|
-
# POST /assistant/chat/completions - OpenAI-compatible chat
|
72
|
-
# GET /assistant - Agent info
|
73
|
-
```
|
74
|
-
|
75
|
-
Run the server:
|
76
|
-
|
77
|
-
```bash
|
78
|
-
uvicorn main:app --host 0.0.0.0 --port 8000
|
79
|
-
```
|
80
|
-
|
81
|
-
### API Client
|
82
|
-
|
83
|
-
```python
|
84
|
-
from robutler.api import RobutlerApi
|
85
|
-
|
86
|
-
async with RobutlerApi() as api:
|
87
|
-
user = await api.get_user_info()
|
88
|
-
credits = await api.get_user_credits()
|
89
|
-
```
|
90
|
-
|
91
|
-
## Documentation
|
92
|
-
|
93
|
-
For comprehensive documentation, visit: [docs.robutler.ai](https://docs.robutler.ai)
|
94
|
-
|
95
|
-
## Environment Variables
|
96
|
-
|
97
|
-
```bash
|
98
|
-
ROBUTLER_API_KEY=your_api_key
|
99
|
-
```
|
File without changes
|
File without changes
|
File without changes
|