streamlit-praisonai
Streamlit components for PraisonAI multi-agent framework.
Installation
pip install streamlit-praisonai
Quick Start
import streamlit as st
from streamlit_praisonai import praisonai_chat
st.title("My AI App")
praisonai_chat()
Components
praisonai_chat
A full chat interface for PraisonAI:
from streamlit_praisonai import praisonai_chat
praisonai_chat(
api_url="http://localhost:8080",
agent="researcher", # Optional: specific agent
title="🤖 AI Assistant",
placeholder="Ask me anything...",
)
PraisonAIClient
Direct API client:
from streamlit_praisonai import PraisonAIClient
client = PraisonAIClient(api_url="http://localhost:8080")
# Run full workflow
result = client.run_workflow("Research AI trends")
# Run specific agent
result = client.run_agent("Write an article", "writer")
# List agents
agents = client.list_agents()
Prerequisites
Start PraisonAI server:
pip install praisonai
praisonai serve agents.yaml --port 8080
Links
License
MIT
Metadata
Release files for streamlit-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 | |
|---|---|---|---|
| streamlit_praisonai-0.1.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_praisonai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / streamlit_praisonai-0.1.0.tar.gz
| Download URL | streamlit_praisonai-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
126d8627ca154455288c8d52eaaf4f8b1f2c5f080290da7605c799f87e9257b8
|
|
BLAKE2b-256 checksum How to use checksums |
f9e2a83dfa0606f3a7b12ed7b18d47c6ee76315ab0c1bacd7fdfdb5373add673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / streamlit_praisonai-0.1.0-py3-none-any.whl
| Download URL | streamlit_praisonai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6e0816fc72111f9b223839bf26d4150c6e9b24d7c6b3ca9b3fc4d09b63e4c23
|
|
BLAKE2b-256 checksum How to use checksums |
fab3a8f6e7b770cc1fda59a50073ccae601852caab24feb386634f15e8ff261c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|