chainlit-praisonai
Chainlit integration for PraisonAI multi-agent framework.
Installation
pip install chainlit-praisonai
Quick Start
Create app.py:
import chainlit as cl
from chainlit_praisonai import PraisonAIClient
client = PraisonAIClient()
@cl.on_message
async def main(message: cl.Message):
response = await client.run_workflow(message.content)
await cl.Message(content=response).send()
Run:
chainlit run app.py
Using a Specific Agent
from chainlit_praisonai import PraisonAIClient
client = PraisonAIClient()
# Use a specific agent
response = await client.run_agent("Research quantum computing", "researcher")
Configuration
from chainlit_praisonai import PraisonAIClient
client = PraisonAIClient(
api_url="http://localhost:8080",
timeout=300,
)
Prerequisites
Start PraisonAI server:
pip install praisonai
praisonai serve agents.yaml --port 8080
Links
License
MIT
Metadata
Release files for chainlit-praisonai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chainlit_praisonai-0.1.0.tar.gz | 4.0 kB | Without provenance | Details for chainlit_praisonai-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chainlit_praisonai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for chainlit_praisonai-0.1.0-py3-none-any.whl |
Total release size: 8.3 kB
Release files / chainlit_praisonai-0.1.0.tar.gz
| Download URL | chainlit_praisonai-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d4727143296c20d867ab345f1a215cfaf4c6ce37ba96558aef299f33eea04d3
|
|
BLAKE2b-256 checksum How to use checksums |
3b99922040ae70cc243b3ccb7867a016428d7e8d9c8cc77f0376cb5ef72823f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / chainlit_praisonai-0.1.0-py3-none-any.whl
| Download URL | chainlit_praisonai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21648aaa3e9e1ddcdf9af9c1dee5caca035212de493cb6cd371dda11e637f2a9
|
|
BLAKE2b-256 checksum How to use checksums |
439d27cbfa3873e927526769a53ac173d78b643a8650670a259fa0cee1ec6cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for chainlit-praisonai 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.