Streamlit components for PraisonAI multi-agent framework
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_praisonai-0.1.0.tar.gz.
File metadata
- Download URL: streamlit_praisonai-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
126d8627ca154455288c8d52eaaf4f8b1f2c5f080290da7605c799f87e9257b8
|
|
| MD5 |
ce1c558cb87f3d34a259edda452559cc
|
|
| BLAKE2b-256 |
f9e2a83dfa0606f3a7b12ed7b18d47c6ee76315ab0c1bacd7fdfdb5373add673
|
File details
Details for the file streamlit_praisonai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: streamlit_praisonai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6e0816fc72111f9b223839bf26d4150c6e9b24d7c6b3ca9b3fc4d09b63e4c23
|
|
| MD5 |
d5d0e63cf8cb8626fd80480891baaba3
|
|
| BLAKE2b-256 |
fab3a8f6e7b770cc1fda59a50073ccae601852caab24feb386634f15e8ff261c
|