IONOS Agent Docs v1.0 just launched!⭐ Star us on GitHub
docsFrontend GuideStreamlitOverview

Streamlit Frontend

The Streamlit app provides a quick UI to:

  • Select an IONOS AI model from the dropdown
  • Chat with the intelligent ReAct agent
  • View real-time responses with dynamic web search and reasoning
  • Experience context-aware conversations with chat history

Run

a) Windows (PowerShell)

# In a new shell
cd frontends/streamlit-starter
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt  # or: pip install streamlit requests
streamlit run app.py

b) macOS / Linux (bash/zsh)

# In a new shell
cd frontends/streamlit-starter
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt  # or: pip install streamlit requests
streamlit run app.py

Ensure the backend is running on http://localhost:8000.

Configure

  • Backend URL is hardcoded as BACKEND_URL = "http://localhost:8000"
  • Model selection fetches available models from IONOS API dynamically
  • The agent automatically handles web search and reasoning without additional configuration

Features

  • Real-time Chat: Instant responses from IONOS AI models
  • Dynamic Web Search: Automatically searches the web when needed
  • Context Awareness: Remembers conversation history
  • Model Selection: Choose from available IONOS AI models