PraisonAI 2.0.12__cp311-cp311-macosx_15_0_arm64.whl → 2.2.16__cp311-cp311-macosx_15_0_arm64.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.
Potentially problematic release.
This version of PraisonAI might be problematic. Click here for more details.
- praisonai/README.md +5 -0
- praisonai/agents_generator.py +83 -44
- praisonai/api/call.py +3 -3
- praisonai/auto.py +1 -1
- praisonai/cli.py +151 -16
- praisonai/deploy.py +1 -1
- praisonai/inbuilt_tools/__init__.py +1 -1
- praisonai/public/praison-ai-agents-architecture-dark.png +0 -0
- praisonai/public/praison-ai-agents-architecture.png +0 -0
- praisonai/setup/setup_conda_env.sh +55 -22
- praisonai/train.py +442 -156
- praisonai/train_vision.py +306 -0
- praisonai/ui/agents.py +822 -0
- praisonai/ui/callbacks.py +57 -0
- praisonai/ui/code.py +4 -2
- praisonai/ui/colab.py +474 -0
- praisonai/ui/colab_chainlit.py +81 -0
- praisonai/ui/config/chainlit.md +1 -1
- praisonai/ui/realtime.py +65 -10
- praisonai/ui/sql_alchemy.py +6 -5
- praisonai/ui/tools.md +133 -0
- praisonai/upload_vision.py +140 -0
- praisonai-2.2.16.dist-info/METADATA +103 -0
- {praisonai-2.0.12.dist-info → praisonai-2.2.16.dist-info}/RECORD +26 -29
- {praisonai-2.0.12.dist-info → praisonai-2.2.16.dist-info}/WHEEL +1 -1
- praisonai/ui/config/.chainlit/config.toml +0 -120
- praisonai/ui/config/.chainlit/translations/bn.json +0 -231
- praisonai/ui/config/.chainlit/translations/en-US.json +0 -229
- praisonai/ui/config/.chainlit/translations/gu.json +0 -231
- praisonai/ui/config/.chainlit/translations/he-IL.json +0 -231
- praisonai/ui/config/.chainlit/translations/hi.json +0 -231
- praisonai/ui/config/.chainlit/translations/kn.json +0 -231
- praisonai/ui/config/.chainlit/translations/ml.json +0 -231
- praisonai/ui/config/.chainlit/translations/mr.json +0 -231
- praisonai/ui/config/.chainlit/translations/ta.json +0 -231
- praisonai/ui/config/.chainlit/translations/te.json +0 -231
- praisonai/ui/config/.chainlit/translations/zh-CN.json +0 -229
- praisonai-2.0.12.dist-info/LICENSE +0 -20
- praisonai-2.0.12.dist-info/METADATA +0 -498
- {praisonai-2.0.12.dist-info → praisonai-2.2.16.dist-info}/entry_points.txt +0 -0
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: PraisonAI
|
|
3
|
-
Version: 2.0.12
|
|
4
|
-
Summary: PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration.
|
|
5
|
-
Author: Mervin Praison
|
|
6
|
-
Requires-Python: >=3.10,<3.13
|
|
7
|
-
Classifier: Programming Language :: Python :: 3
|
|
8
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
11
|
-
Provides-Extra: agentops
|
|
12
|
-
Provides-Extra: anthropic
|
|
13
|
-
Provides-Extra: api
|
|
14
|
-
Provides-Extra: autogen
|
|
15
|
-
Provides-Extra: call
|
|
16
|
-
Provides-Extra: chat
|
|
17
|
-
Provides-Extra: code
|
|
18
|
-
Provides-Extra: cohere
|
|
19
|
-
Provides-Extra: crewai
|
|
20
|
-
Provides-Extra: google
|
|
21
|
-
Provides-Extra: gradio
|
|
22
|
-
Provides-Extra: openai
|
|
23
|
-
Provides-Extra: realtime
|
|
24
|
-
Provides-Extra: train
|
|
25
|
-
Provides-Extra: ui
|
|
26
|
-
Requires-Dist: PyYAML (>=6.0)
|
|
27
|
-
Requires-Dist: agentops (>=0.3.12) ; extra == "agentops"
|
|
28
|
-
Requires-Dist: aiosqlite (>=0.20.0) ; extra == "chat" or extra == "code" or extra == "realtime"
|
|
29
|
-
Requires-Dist: chainlit (==2.0rc1) ; extra == "ui" or extra == "chat" or extra == "code" or extra == "realtime"
|
|
30
|
-
Requires-Dist: crawl4ai (==0.3.4) ; extra == "chat" or extra == "code" or extra == "realtime"
|
|
31
|
-
Requires-Dist: crewai (>=0.32.0) ; extra == "crewai" or extra == "autogen"
|
|
32
|
-
Requires-Dist: duckduckgo_search (>=6.3.0) ; extra == "realtime"
|
|
33
|
-
Requires-Dist: fastapi (>=0.95.0) ; extra == "call"
|
|
34
|
-
Requires-Dist: flaml[automl] (>=2.3.1) ; extra == "call"
|
|
35
|
-
Requires-Dist: flask (>=3.0.0) ; extra == "api"
|
|
36
|
-
Requires-Dist: gradio (>=4.26.0) ; extra == "gradio"
|
|
37
|
-
Requires-Dist: greenlet (>=3.0.3) ; extra == "chat" or extra == "code" or extra == "realtime"
|
|
38
|
-
Requires-Dist: instructor (>=1.3.3)
|
|
39
|
-
Requires-Dist: langchain-anthropic (>=0.1.13) ; extra == "anthropic"
|
|
40
|
-
Requires-Dist: langchain-cohere (>=0.1.4) ; extra == "cohere"
|
|
41
|
-
Requires-Dist: langchain-google-genai (>=1.0.4) ; extra == "google"
|
|
42
|
-
Requires-Dist: langchain-openai (>=0.1.7) ; extra == "openai"
|
|
43
|
-
Requires-Dist: litellm (>=1.41.8) ; extra == "chat" or extra == "code" or extra == "realtime"
|
|
44
|
-
Requires-Dist: markdown (>=3.5)
|
|
45
|
-
Requires-Dist: openai (>=1.54.0) ; extra == "call"
|
|
46
|
-
Requires-Dist: playwright (>=1.47.0) ; extra == "chat" or extra == "code"
|
|
47
|
-
Requires-Dist: plotly (>=5.24.0) ; extra == "realtime"
|
|
48
|
-
Requires-Dist: praisonai-tools (>=0.0.7) ; extra == "crewai" or extra == "autogen"
|
|
49
|
-
Requires-Dist: praisonaiagents (>=0.0.4)
|
|
50
|
-
Requires-Dist: pyautogen (>=0.2.19) ; extra == "autogen"
|
|
51
|
-
Requires-Dist: pydantic (<=2.10.1) ; extra == "chat" or extra == "code"
|
|
52
|
-
Requires-Dist: pyngrok (>=1.4.0) ; extra == "call"
|
|
53
|
-
Requires-Dist: pyparsing (>=3.0.0)
|
|
54
|
-
Requires-Dist: python-dotenv (>=0.19.0)
|
|
55
|
-
Requires-Dist: rich (>=13.7) ; extra == "chat" or extra == "call"
|
|
56
|
-
Requires-Dist: sqlalchemy (>=2.0.36) ; extra == "chat" or extra == "code" or extra == "realtime"
|
|
57
|
-
Requires-Dist: tavily-python (==0.5.0) ; extra == "chat" or extra == "code" or extra == "realtime"
|
|
58
|
-
Requires-Dist: twilio (>=7.0.0) ; extra == "call"
|
|
59
|
-
Requires-Dist: uvicorn (>=0.20.0) ; extra == "call"
|
|
60
|
-
Requires-Dist: websockets (>=12.0) ; extra == "realtime" or extra == "call"
|
|
61
|
-
Requires-Dist: yfinance (>=0.2.44) ; extra == "realtime"
|
|
62
|
-
Project-URL: Homepage, https://docs.praison.ai
|
|
63
|
-
Project-URL: Repository, https://github.com/mervinpraison/PraisonAI
|
|
64
|
-
Description-Content-Type: text/markdown
|
|
65
|
-
|
|
66
|
-
<p align="center">
|
|
67
|
-
<picture>
|
|
68
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/logo/dark.png" />
|
|
69
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/logo/light.png" />
|
|
70
|
-
<img alt="PraisonAI Logo" src="docs/logo/light.png" />
|
|
71
|
-
</picture>
|
|
72
|
-
</p>
|
|
73
|
-
|
|
74
|
-
<p align="center">
|
|
75
|
-
<a href="https://github.com/MervinPraison/PraisonAI"><img src="https://static.pepy.tech/badge/PraisonAI" alt="Total Downloads" /></a>
|
|
76
|
-
<a href="https://github.com/MervinPraison/PraisonAI"><img src="https://img.shields.io/github/v/release/MervinPraison/PraisonAI" alt="Latest Stable Version" /></a>
|
|
77
|
-
<a href="https://github.com/MervinPraison/PraisonAI"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License" /></a>
|
|
78
|
-
</p>
|
|
79
|
-
|
|
80
|
-
<div align="center">
|
|
81
|
-
|
|
82
|
-
# Praison AI
|
|
83
|
-
|
|
84
|
-
<a href="https://trendshift.io/repositories/9130" target="_blank"><img src="https://trendshift.io/api/badge/repositories/9130" alt="MervinPraison%2FPraisonAI | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
85
|
-
|
|
86
|
-
</div>
|
|
87
|
-
|
|
88
|
-
Praison AI, leveraging both AutoGen and CrewAI or any other agent framework, represents a low-code, centralised framework designed to simplify the creation and orchestration of multi-agent systems for various LLM applications, emphasizing ease of use, customization, and human-agent interaction.
|
|
89
|
-
|
|
90
|
-
<div align="center">
|
|
91
|
-
<picture>
|
|
92
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/images/architecture-dark.png" />
|
|
93
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/images/architecture-light.png" />
|
|
94
|
-
<img alt="PraisonAI Architecture" src="docs/images/architecture-light.png" />
|
|
95
|
-
</picture>
|
|
96
|
-
</div>
|
|
97
|
-
|
|
98
|
-
## Different User Interfaces:
|
|
99
|
-
|
|
100
|
-
| Interface | Description | URL |
|
|
101
|
-
|---|---|---|
|
|
102
|
-
| **UI** | Multi Agents such as CrewAI or AutoGen | [https://docs.praison.ai/ui/ui](https://docs.praison.ai/ui/ui) |
|
|
103
|
-
| **Chat** | Chat with 100+ LLMs, single AI Agent | [https://docs.praison.ai/ui/chat](https://docs.praison.ai/ui/chat) |
|
|
104
|
-
| **Code** | Chat with entire Codebase, single AI Agent | [https://docs.praison.ai/ui/code](https://docs.praison.ai/ui/code) |
|
|
105
|
-
| **Realtime** | Real-time voice interaction with AI | [https://docs.praison.ai/ui/realtime](https://docs.praison.ai/ui/realtime) |
|
|
106
|
-
|
|
107
|
-
| Other Features | Description | Docs |
|
|
108
|
-
|---|---|---|
|
|
109
|
-
| **Train** | Fine-tune LLMs using your custom data | [https://docs.praison.ai/train](https://docs.praison.ai/train) |
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
## Google Colab Multi Agents
|
|
113
|
-
|
|
114
|
-
| | Cookbook | Open in Colab |
|
|
115
|
-
| ------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
116
|
-
| Basic | PraisonAI | <a target="_blank" href="https://colab.research.google.com/github/MervinPraison/PraisonAI/blob/main/cookbooks/praisonai-googlecolab.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" /></a> |
|
|
117
|
-
| Include Tools | PraisonAI Tools | <a target="_blank" href="https://colab.research.google.com/github/MervinPraison/PraisonAI/blob/main/cookbooks/praisonai-tools-googlecolab.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" /></a> |
|
|
118
|
-
|
|
119
|
-
## Installation Options
|
|
120
|
-
|
|
121
|
-
### Using pip
|
|
122
|
-
```bash
|
|
123
|
-
pip install praisonai
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
### Framework-specific Installation
|
|
127
|
-
```bash
|
|
128
|
-
# Install with CrewAI support
|
|
129
|
-
pip install "praisonai[crewai]"
|
|
130
|
-
|
|
131
|
-
# Install with AutoGen support
|
|
132
|
-
pip install "praisonai[autogen]"
|
|
133
|
-
|
|
134
|
-
# Install with both frameworks
|
|
135
|
-
pip install "praisonai[crewai,autogen]"
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
### UI and Additional Features
|
|
139
|
-
```bash
|
|
140
|
-
# Install UI support
|
|
141
|
-
pip install "praisonai[ui]"
|
|
142
|
-
|
|
143
|
-
# Install Chat interface
|
|
144
|
-
pip install "praisonai[chat]"
|
|
145
|
-
|
|
146
|
-
# Install Code interface
|
|
147
|
-
pip install "praisonai[code]"
|
|
148
|
-
|
|
149
|
-
# Install Realtime voice interaction
|
|
150
|
-
pip install "praisonai[realtime]"
|
|
151
|
-
|
|
152
|
-
# Install Call feature
|
|
153
|
-
pip install "praisonai[call]"
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
## Quick Start
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
# Set your OpenAI API key
|
|
160
|
-
export OPENAI_API_KEY="Enter your API key"
|
|
161
|
-
|
|
162
|
-
# Initialize with CrewAI (default)
|
|
163
|
-
praisonai --init "create a movie script about dog in moon"
|
|
164
|
-
|
|
165
|
-
# Or initialize with AutoGen
|
|
166
|
-
praisonai --framework autogen --init "create a movie script about dog in moon"
|
|
167
|
-
|
|
168
|
-
# Run the agents
|
|
169
|
-
praisonai
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
## Full Automatic Mode
|
|
173
|
-
|
|
174
|
-
```bash
|
|
175
|
-
# With CrewAI (default)
|
|
176
|
-
praisonai --auto "create a movie script about Dog in Moon"
|
|
177
|
-
|
|
178
|
-
# With AutoGen
|
|
179
|
-
praisonai --framework autogen --auto "create a movie script about Dog in Moon"
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
## Framework-specific Features
|
|
183
|
-
|
|
184
|
-
### CrewAI
|
|
185
|
-
When installing with `pip install "praisonai[crewai]"`, you get:
|
|
186
|
-
- CrewAI framework support
|
|
187
|
-
- PraisonAI tools integration
|
|
188
|
-
- Task delegation capabilities
|
|
189
|
-
- Sequential and parallel task execution
|
|
190
|
-
|
|
191
|
-
### AutoGen
|
|
192
|
-
When installing with `pip install "praisonai[autogen]"`, you get:
|
|
193
|
-
- AutoGen framework support
|
|
194
|
-
- PraisonAI tools integration
|
|
195
|
-
- Multi-agent conversation capabilities
|
|
196
|
-
- Code execution environment
|
|
197
|
-
|
|
198
|
-
## Key Features
|
|
199
|
-
|
|
200
|
-
- 🤖 Automated AI Agents Creation
|
|
201
|
-
- 🔄 Use CrewAI or AutoGen Framework
|
|
202
|
-
- 💯 100+ LLM Support
|
|
203
|
-
- 💻 Chat with ENTIRE Codebase
|
|
204
|
-
- 🖥️ Interactive UIs
|
|
205
|
-
- 📄 YAML-based Configuration
|
|
206
|
-
- 🛠️ Custom Tool Integration
|
|
207
|
-
- 🔍 Internet Search Capability (using Crawl4AI and Tavily)
|
|
208
|
-
- 👁️ Vision Language Model (VLM) Support
|
|
209
|
-
- 🎙️ Real-time Voice Interaction
|
|
210
|
-
|
|
211
|
-
## TL;DR Multi Agents
|
|
212
|
-
|
|
213
|
-
```bash
|
|
214
|
-
pip install praisonai
|
|
215
|
-
export OPENAI_API_KEY="Enter your API key"
|
|
216
|
-
praisonai --init create a movie script about dog in moon
|
|
217
|
-
praisonai
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
## Table of Contents
|
|
221
|
-
|
|
222
|
-
- [Installation](#installation)
|
|
223
|
-
- [Initialise](#initialise)
|
|
224
|
-
- [Run](#run)
|
|
225
|
-
- [Full Automatic Mode](#full-automatic-mode)
|
|
226
|
-
- [User Interface](#user-interface)
|
|
227
|
-
- [Praison AI Chat](#praison-ai-chat)
|
|
228
|
-
- [Create Custom Tools](#create-custom-tools)
|
|
229
|
-
- [Agents Playbook](#agents-playbook)
|
|
230
|
-
- [Include praisonai package in your project](#include-praisonai-package-in-your-project)
|
|
231
|
-
- [Commands to Install Dev Dependencies](#commands-to-install-dependencies)
|
|
232
|
-
- [Other Models](#other-models)
|
|
233
|
-
- [Contributing](#contributing)
|
|
234
|
-
- [Star History](#star-history)
|
|
235
|
-
|
|
236
|
-
## Installation Multi Agents
|
|
237
|
-
|
|
238
|
-
```bash
|
|
239
|
-
pip install praisonai
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
## Initialise
|
|
243
|
-
|
|
244
|
-
```bash
|
|
245
|
-
export OPENAI_API_KEY="Enter your API key"
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
Generate your OPENAI API KEY from here: https://platform.openai.com/api-keys
|
|
249
|
-
|
|
250
|
-
Note: You can use other providers such as Ollama, Mistral ... etc. Details are provided at the bottom.
|
|
251
|
-
|
|
252
|
-
```bash
|
|
253
|
-
praisonai --init create a movie script about dog in moon
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
This will automatically create agents.yaml file in the current directory.
|
|
257
|
-
|
|
258
|
-
### To initialise with a specific agent framework (Optional):
|
|
259
|
-
|
|
260
|
-
```bash
|
|
261
|
-
praisonai --framework autogen --init create movie script about cat in mars
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
## Run
|
|
265
|
-
|
|
266
|
-
```bash
|
|
267
|
-
praisonai
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
or
|
|
271
|
-
|
|
272
|
-
```bash
|
|
273
|
-
python -m praisonai
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
### Specify the agent framework (Optional):
|
|
277
|
-
|
|
278
|
-
```bash
|
|
279
|
-
praisonai --framework autogen
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
### Full Automatic Mode
|
|
283
|
-
|
|
284
|
-
```bash
|
|
285
|
-
praisonai --auto create a movie script about Dog in Moon
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
## User Interface
|
|
289
|
-
|
|
290
|
-
## PraisonAI User Interfaces:
|
|
291
|
-
|
|
292
|
-
| Interface | Description | URL |
|
|
293
|
-
| --------- | ------------------------------------------ | --------------------------------------------------------------------- |
|
|
294
|
-
| **UI** | Multi Agents such as CrewAI or AutoGen | [https://docs.praisonai.com/ui/ui](https://docs.praison.ai/ui/ui) |
|
|
295
|
-
| **Chat** | Chat with 100+ LLMs, single AI Agent | [https://docs.praisonai.com/ui/chat](https://docs.praison.ai/ui/chat) |
|
|
296
|
-
| **Code** | Chat with entire Codebase, single AI Agent | [https://docs.praisonai.com/ui/code](https://docs.praison.ai/ui/code) |
|
|
297
|
-
|
|
298
|
-
```bash
|
|
299
|
-
pip install -U "praisonai[ui]"
|
|
300
|
-
export OPENAI_API_KEY="Enter your API key"
|
|
301
|
-
chainlit create-secret
|
|
302
|
-
export CHAINLIT_AUTH_SECRET=xxxxxxxx
|
|
303
|
-
praisonai ui
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
or
|
|
307
|
-
|
|
308
|
-
```
|
|
309
|
-
python -m praisonai ui
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
## Praison AI Chat
|
|
313
|
-
|
|
314
|
-
- https://docs.praison.ai/chat/
|
|
315
|
-
|
|
316
|
-
```bash
|
|
317
|
-
pip install "praisonai[chat]"
|
|
318
|
-
export OPENAI_API_KEY="Enter your API key"
|
|
319
|
-
praisonai chat
|
|
320
|
-
```
|
|
321
|
-
|
|
322
|
-
### Internet Search
|
|
323
|
-
|
|
324
|
-
Praison AI Chat and Praison AI Code now includes internet search capabilities using Crawl4AI and Tavily, allowing you to retrieve up-to-date information during your conversations.
|
|
325
|
-
|
|
326
|
-
### Vision Language Model Support
|
|
327
|
-
|
|
328
|
-
You can now upload images and ask questions based on them using Vision Language Models. This feature enables visual understanding and analysis within your chat sessions.
|
|
329
|
-
|
|
330
|
-
## Praison AI Code
|
|
331
|
-
|
|
332
|
-
```bash
|
|
333
|
-
pip install "praisonai[code]"
|
|
334
|
-
export OPENAI_API_KEY="Enter your API key"
|
|
335
|
-
praisonai code
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### Internet Search
|
|
339
|
-
|
|
340
|
-
Praison AI Code also includes internet search functionality, enabling you to find relevant code snippets and programming information online.
|
|
341
|
-
|
|
342
|
-
## Create Custom Tools
|
|
343
|
-
|
|
344
|
-
- https://docs.praison.ai/tools/custom/
|
|
345
|
-
|
|
346
|
-
## Agents Playbook
|
|
347
|
-
|
|
348
|
-
### Simple Playbook Example
|
|
349
|
-
|
|
350
|
-
```yaml
|
|
351
|
-
framework: crewai
|
|
352
|
-
topic: Artificial Intelligence
|
|
353
|
-
roles:
|
|
354
|
-
screenwriter:
|
|
355
|
-
backstory: "Skilled in crafting scripts with engaging dialogue about {topic}."
|
|
356
|
-
goal: Create scripts from concepts.
|
|
357
|
-
role: Screenwriter
|
|
358
|
-
tasks:
|
|
359
|
-
scriptwriting_task:
|
|
360
|
-
description: "Develop scripts with compelling characters and dialogue about {topic}."
|
|
361
|
-
expected_output: "Complete script ready for production."
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
## Use 100+ Models
|
|
365
|
-
|
|
366
|
-
- https://docs.praison.ai/models/
|
|
367
|
-
|
|
368
|
-
## Include praisonai package in your project
|
|
369
|
-
|
|
370
|
-
- https://docs.praison.ai/developers/wrapper
|
|
371
|
-
- https://docs.praison.ai/developers/wrapper-tools/
|
|
372
|
-
|
|
373
|
-
## Option 1: Using RAW YAML
|
|
374
|
-
|
|
375
|
-
```python
|
|
376
|
-
from praisonai import PraisonAI
|
|
377
|
-
|
|
378
|
-
# Example agent_yaml content
|
|
379
|
-
agent_yaml = """
|
|
380
|
-
framework: "crewai"
|
|
381
|
-
topic: "Space Exploration"
|
|
382
|
-
|
|
383
|
-
roles:
|
|
384
|
-
astronomer:
|
|
385
|
-
role: "Space Researcher"
|
|
386
|
-
goal: "Discover new insights about {topic}"
|
|
387
|
-
backstory: "You are a curious and dedicated astronomer with a passion for unraveling the mysteries of the cosmos."
|
|
388
|
-
tasks:
|
|
389
|
-
investigate_exoplanets:
|
|
390
|
-
description: "Research and compile information about exoplanets discovered in the last decade."
|
|
391
|
-
expected_output: "A summarized report on exoplanet discoveries, including their size, potential habitability, and distance from Earth."
|
|
392
|
-
"""
|
|
393
|
-
|
|
394
|
-
# Create a PraisonAI instance with the agent_yaml content
|
|
395
|
-
praisonai = PraisonAI(agent_yaml=agent_yaml)
|
|
396
|
-
|
|
397
|
-
# Run PraisonAI
|
|
398
|
-
result = praisonai.run()
|
|
399
|
-
|
|
400
|
-
# Print the result
|
|
401
|
-
print(result)
|
|
402
|
-
```
|
|
403
|
-
|
|
404
|
-
## Option 2: Using separate agents.yaml file
|
|
405
|
-
|
|
406
|
-
Note: Please create agents.yaml file before hand.
|
|
407
|
-
|
|
408
|
-
```python
|
|
409
|
-
from praisonai import PraisonAI
|
|
410
|
-
|
|
411
|
-
def basic(): # Basic Mode
|
|
412
|
-
praisonai = PraisonAI(agent_file="agents.yaml")
|
|
413
|
-
praisonai.run()
|
|
414
|
-
|
|
415
|
-
if __name__ == "__main__":
|
|
416
|
-
basic()
|
|
417
|
-
```
|
|
418
|
-
|
|
419
|
-
## Commands to Install Dependencies:
|
|
420
|
-
|
|
421
|
-
1. **Install all dependencies, including dev dependencies:**
|
|
422
|
-
|
|
423
|
-
```sh
|
|
424
|
-
poetry install
|
|
425
|
-
```
|
|
426
|
-
|
|
427
|
-
2. **Install only documentation dependencies:**
|
|
428
|
-
|
|
429
|
-
```sh
|
|
430
|
-
poetry install --with docs
|
|
431
|
-
```
|
|
432
|
-
|
|
433
|
-
3. **Install only test dependencies:**
|
|
434
|
-
|
|
435
|
-
```sh
|
|
436
|
-
poetry install --with test
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
4. **Install only dev dependencies:**
|
|
440
|
-
|
|
441
|
-
```sh
|
|
442
|
-
poetry install --with dev
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
This configuration ensures that your development dependencies are correctly categorized and installed as needed.
|
|
446
|
-
|
|
447
|
-
### Using uv (Fast Python Package Installer)
|
|
448
|
-
```bash
|
|
449
|
-
# Install uv if you haven't already
|
|
450
|
-
pip install uv
|
|
451
|
-
|
|
452
|
-
# Install from requirements
|
|
453
|
-
uv pip install -r pyproject.toml
|
|
454
|
-
|
|
455
|
-
# Install with extras
|
|
456
|
-
uv pip install -r pyproject.toml --extra code
|
|
457
|
-
uv pip install -r pyproject.toml --extra "crewai,autogen"
|
|
458
|
-
```
|
|
459
|
-
|
|
460
|
-
## Contributing
|
|
461
|
-
|
|
462
|
-
- Fork on GitHub: Use the "Fork" button on the repository page.
|
|
463
|
-
- Clone your fork: `git clone https://github.com/yourusername/praisonAI.git`
|
|
464
|
-
- Create a branch: `git checkout -b new-feature`
|
|
465
|
-
- Make changes and commit: `git commit -am "Add some feature"`
|
|
466
|
-
- Push to your fork: `git push origin new-feature`
|
|
467
|
-
- Submit a pull request via GitHub's web interface.
|
|
468
|
-
- Await feedback from project maintainers.
|
|
469
|
-
|
|
470
|
-
## Star History
|
|
471
|
-
|
|
472
|
-
[](https://docs.praison.ai)
|
|
473
|
-
|
|
474
|
-
## License
|
|
475
|
-
|
|
476
|
-
Praison AI is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.
|
|
477
|
-
|
|
478
|
-
## Video Tutorials
|
|
479
|
-
|
|
480
|
-
| Topic | Video |
|
|
481
|
-
|-------|--------|
|
|
482
|
-
| Introduction | [](https://www.youtube.com/watch?v=Fn1lQjC0GO0) |
|
|
483
|
-
| Tools Overview | [](https://www.youtube.com/watch?v=XaQRgRpV7jo) |
|
|
484
|
-
| Custom Tools | [](https://www.youtube.com/watch?v=JSU2Rndh06c) |
|
|
485
|
-
| Firecrawl Integration | [](https://www.youtube.com/watch?v=UoqUDcLcOYo) |
|
|
486
|
-
| User Interface | [](https://www.youtube.com/watch?v=tg-ZjNl3OCg) |
|
|
487
|
-
| Crawl4AI Integration | [](https://www.youtube.com/watch?v=KAvuVUh0XU8) |
|
|
488
|
-
| Chat Interface | [](https://www.youtube.com/watch?v=sw3uDqn2h1Y) |
|
|
489
|
-
| Code Interface | [](https://www.youtube.com/watch?v=_5jQayO-MQY) |
|
|
490
|
-
| Mem0 Integration | [](https://www.youtube.com/watch?v=KIGSgRxf1cY) |
|
|
491
|
-
| Training | [](https://www.youtube.com/watch?v=aLawE8kwCrI) |
|
|
492
|
-
| Realtime Voice Interface | [](https://www.youtube.com/watch?v=frRHfevTCSw) |
|
|
493
|
-
| Call Interface | [](https://www.youtube.com/watch?v=m1cwrUG2iAk) |
|
|
494
|
-
|
|
495
|
-
## License
|
|
496
|
-
|
|
497
|
-
Praison AI is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.
|
|
498
|
-
|
|
File without changes
|