Bring your Shiny apps to life with LLM-powered chat interfaces
How can I add an AI chatbot to my Shiny app?
Great question! shinychat is the perfect solution for integrating LLM-powered chat interfaces directly into your Shiny applications.

shinychat provides easy-to-use chat UI components that work seamlessly with both Shiny for Python and R. You can create interactive, conversational experiences that make your data applications more engaging and user-friendly.

Key features:
  • Drop-in chat UI components
  • Real-time streaming and markdown formatting
  • Works with your favorite AI framework
How do I get started?
Choose your preferred language to get started with shinychat:

Both packages offer the same powerful functionality with language-specific implementations. Check out our documentation for installation guides, examples, and API references!

Why Choose shinychat?

Easy Integration

Add chat functionality to your existing Shiny apps with just a few lines of code.

Open Source

View the source code, ask questions or report an issue at posit-dev/shinychat.

LLM Ready

Works with any LLM provider–ChatGPT, Claude, Gemini, Perplexity and more!

In Your Favorite Language

Available for both Python and R and compatible with your favorite AI frameworks.