Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.55.0
metadata
title: Multiple Agents
emoji: π
colorFrom: red
colorTo: green
sdk: streamlit
app_file: app.py
app_port: 8501
tags:
- streamlit
pinned: false
short_description: This app is powered by Google Gemini and OpenAI-style.
Welcome to Streamlit!
Edit /src/streamlit_app.py to customize this app to your heart's desire. :heart:
If you have any questions, checkout our documentation and community forums.
π€ Multiple Agents Tutor (Math + History)
A Streamlit application deployed on Hugging Face Spaces that demonstrates how to build a multi-agent system with guardrails using Google Gemini API.
This project uses specialized AI agents to answer user queries in Math and History, while a Guardrail agent ensures the safety and relevance of the input.
π Features
- β
Multi-Agent Architecture:
- Guardrail Agent β Filters harmful/irrelevant queries
- Triage Agent β Decides whether Math or History agent should respond
- Math Tutor Agent β Solves math queries step by step
- History Tutor Agent β Explains historical events and context
- β Powered by Google Gemini (2.0 Flash / 1.5 Pro)
- β Simple, interactive Streamlit UI
- β Deployable on Hugging Face Spaces
π οΈ Tech Stack
- Python 3.9+
- Streamlit β Interactive UI
- agents β Agent orchestration framework
- Google Gemini API β LLM backend
- dotenv β Environment variable management