Skip to main content

Modern AI Agent Chat Interface for PraisonAI

Project description

PraisonAI UI

Modern AI Agent Interface for PraisonAI

PyPI - Downloads GitHub Contributors

PraisonAI UI is a powerful, modern chat interface designed for AI agent interactions. Built for the PraisonAI multi-agent framework.

Features

  • Multi-Agent Support - Seamlessly interact with multiple AI agents
  • Tool Call Visualization - See agent tool calls and their results in real-time
  • Streaming Responses - Real-time streaming of agent responses
  • Session Management - Persistent sessions with history
  • Run Timeline - Visual timeline of agent runs and traces
  • Modern UI - Clean, responsive interface built with React

Installation

pip install praisonai-ui
praisonai run app.py

Or run directly:

praisonai run app.py -w

Quick Start

With PraisonAI Agents

from praisonaiagents import Agent
from praisonai.chat import start_chat_server

agent = Agent(
    name="Assistant",
    instructions="You are a helpful assistant."
)

# Start the chat UI with your agent
start_chat_server(agent=agent, port=8000)

Standalone Mode

praisonai chat

This starts the chat interface at http://localhost:8000.

Key Features

  • Multi Modal chats - Support for text, images, and files
  • Chain of Thought visualization - See agent reasoning steps
  • Data persistence - Save and restore chat sessions
  • Authentication - Built-in auth support
  • Tool Integration - Visualize tool calls and results

Integration with PraisonAI

PraisonAI UI integrates seamlessly with the PraisonAI agent framework:

from praisonaiagents import Agent, Task, PraisonAIAgents

# Define your agents
researcher = Agent(name="Researcher", role="Research specialist")
writer = Agent(name="Writer", role="Content writer")

# Create tasks
research_task = Task(description="Research the topic", agent=researcher)
write_task = Task(description="Write the article", agent=writer)

# Run with chat UI
agents = PraisonAIAgents(agents=[researcher, writer], tasks=[research_task, write_task])

Documentation

Full documentation is available at docs.praison.ai.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the Apache 2.0 license.

Based on Chainlit - An open-source async Python framework for building conversational AI applications.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

praisonai_ui-1.3.0rc1.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

praisonai_ui-1.3.0rc1-py3-none-any.whl (4.3 MB view details)

Uploaded Python 3

File details

Details for the file praisonai_ui-1.3.0rc1.tar.gz.

File metadata

  • Download URL: praisonai_ui-1.3.0rc1.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for praisonai_ui-1.3.0rc1.tar.gz
Algorithm Hash digest
SHA256 9acc4735a3236510313bab608198296d9b9e8c6d2e41901e5650263eed1a6165
MD5 0e5eff5a821a6afcf27d1c878688db0a
BLAKE2b-256 f6f96f0b5580162cc2a51ffed082a4ad1a580d52c3640810680b4d774ecded1f

See more details on using hashes here.

File details

Details for the file praisonai_ui-1.3.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for praisonai_ui-1.3.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3a599d0884fe0e77d6fc25b0cdabd104300f08802621b2bafda324d4ebb90f
MD5 d71ccc3b924e4ca59e99ea6421dd38a0
BLAKE2b-256 bc205e7dd95ff0e8c285ae3da4edb9b57d6c6fd54425cebbeedb59a2abbef01e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page