This is a Streamlit-based calendar UI that integrates with AssistantAGI using Flask.
- Interactive calendar view with month navigation
- Event creation and management
- Chat interface to interact with AssistantAGI
- Event details view for selected dates
- Install the required dependencies:
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install the AssistantAGI package
pip install -e .
# Install Streamlit and other dependencies
pip install -r requirements_streamlit.txtYou need to run both the Flask server and the Streamlit app:
# In one terminal
source venv/bin/activate # On Windows: venv\Scripts\activate
python flask_server.pyThe Flask server will run on http://localhost:5000
# In another terminal
source venv/bin/activate # On Windows: venv\Scripts\activate
streamlit run streamlit_app.pyThe Streamlit app will be available at http://localhost:8501
- Calendar View: Navigate through months using the Previous and Next buttons
- Adding Events: Click on a date and use the form on the right to add a new event
- Viewing Events: Events for the selected date will be displayed below the calendar
- Chat with AssistantAGI: Use the chat interface on the right to interact with AssistantAGI
- Streamlit App: Provides the user interface for calendar and chat
- Flask Server: Acts as a bridge between the Streamlit app and AssistantAGI
- AssistantAGI: Processes user queries and provides intelligent responses
You can customize the calendar UI by modifying the CSS in the streamlit_app.py file.
- If you encounter connection errors, make sure the Flask server is running
- If events aren't displaying, check the Flask server logs for any errors
- For AssistantAGI-related issues, refer to the main AssistantAGI documentation