Spaces:
Sleeping
Sleeping
| 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](https://docs.streamlit.io) and [community | |
| forums](https://discuss.streamlit.io). | |
| # π€ Multiple Agents Tutor (Math + History) | |
| A **Streamlit application** deployed on [Hugging Face Spaces](https://huggingface.co/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+](https://www.python.org/) | |
| - [Streamlit](https://streamlit.io/) β Interactive UI | |
| - [agents](https://pypi.org/project/agents/) β Agent orchestration framework | |
| - [Google Gemini API](https://ai.google.dev/) β LLM backend | |
| - [dotenv](https://pypi.org/project/python-dotenv/) β Environment variable management | |
| --- | |
| ## π Project Structure | |
| --- | |