{"id":22429885,"url":"https://github.com/zacharias1219/multi-agent-applications","last_synced_at":"2026-05-10T03:34:10.926Z","repository":{"id":263810610,"uuid":"891073398","full_name":"zacharias1219/multi-agent-applications","owner":"zacharias1219","description":"Advanced multi-agent AI application using LangFlow, Streamlit, and retrieval-augmented generation (RAG)","archived":false,"fork":false,"pushed_at":"2024-12-03T17:02:06.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T12:11:41.301Z","etag":null,"topics":["langflow","nlp","python","rag","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zacharias1219.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T17:18:18.000Z","updated_at":"2024-12-03T17:02:45.000Z","dependencies_parsed_at":"2024-11-20T21:50:43.261Z","dependency_job_id":null,"html_url":"https://github.com/zacharias1219/multi-agent-applications","commit_stats":null,"previous_names":["zacharias1219/multi-agent-applications"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharias1219%2Fmulti-agent-applications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharias1219%2Fmulti-agent-applications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharias1219%2Fmulti-agent-applications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacharias1219%2Fmulti-agent-applications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacharias1219","download_url":"https://codeload.github.com/zacharias1219/multi-agent-applications/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245798359,"owners_count":20673902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["langflow","nlp","python","rag","streamlit"],"created_at":"2024-12-05T21:06:04.805Z","updated_at":"2026-05-10T03:34:10.884Z","avatar_url":"https://github.com/zacharias1219.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Advanced Python Multi-Agent AI Application**\n\nThis project demonstrates the development of an advanced **multi-agent AI application** using **LangFlow**, **Streamlit**, and **retrieval-augmented generation (RAG)**. It integrates modern MLOps techniques, efficient use of multiple language models (LLMs), and an intuitive front-end interface.\n\n---\n\n## **Features**\n\n- **Multi-Agent AI**:\n  - Combines multiple LLMs for complex task routing.\n  - Includes context-specific tools for mathematical and logical reasoning.\n- **Modular Design**:\n  - Uses LangFlow's low-code visual editor for modular AI flow construction.\n  - Implements RAG to retrieve relevant notes or context dynamically.\n- **Interactive UI**:\n  - Built with Streamlit for a seamless and intuitive user experience.\n- **Scalable Backend**:\n  - AstraDB vector database integration for efficient vector operations.\n\n---\n\n## **Tech Stack**\n\n- **Programming Language**: Python\n- **Backend**: LangFlow, AstraDB\n- **Frontend**: Streamlit\n- **AI Models**: OpenAI GPT and custom tool-integrated models\n- **Database**: AstraDB with vectorization capabilities\n\n---\n\n## **Project Structure**\n\n```bash\n├── ai.py\n├── db.py\n├── form_submit.py\n├── profiles.py\n├── main.py\n├── requirements.txt\n├── workflow.json\n└── README.md\n```\n\n---\n\n## **Installation**\n\n### Prerequisites\n\n1. **Python 3.8+**\n2. **Environment Setup**:\n   - Install Python packages using `pip install -r requirements.txt`.\n   - Create a `.env` file and configure the following:\n   - \n     ```env\n     LANGFLOW_TOKEN=\u003cyour_langflow_api_token\u003e\n     ASTRA_DB_APPLICATION_TOKEN=\u003cyour_astra_db_token\u003e\n     ASTRA_ENDPOINT=\u003cyour_astra_endpoint_url\u003e\n     OPENAI_API_KEY=\u003cyour_openai_api_key\u003e\n     ```\n\n### Steps\n\n1. Clone the repository:\n   \n   ```bash\n   git clone https://github.com/yourusername/advanced-ai-multi-agent.git\n   cd advanced-ai-multi-agent\n   ```\n\n2. Install dependencies:\n   \n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Set up the LangFlow environment:\n   - Export the LangFlow workflow JSON (`workflow.json`) via LangFlow UI.\n\n4. Run the application:\n\n   ```bash\n   streamlit run main.py\n   ```\n\n---\n\n## **How It Works**\n\n### **Pipeline**\n\n1. **User Inputs**:\n   - Collect user profiles, goals, and activity levels through Streamlit forms.\n   - Retrieve or dynamically store contextual notes using AstraDB.\n\n2. **AI Routing**:\n   - Dynamically routes questions to specialized agents using LangFlow.\n   - Incorporates retrieval-augmented generation for contextual responses.\n\n3. **Mathematical Operations**:\n   - Integrated calculator tool for advanced calculations.\n   - Logical separation ensures error-free computations.\n\n4. **UI/UX**:\n   - Interactive inputs and results visualization through Streamlit.\n\n---\n\n## **Usage**\n\n1. **Start the LangFlow backend**:\n   - Host the API locally or remotely.\n2. **Run the main Streamlit app**:\n\n   ```bash\n   streamlit run main.py\n   ```\n3. **Interact**:\n   - Provide your personal information.\n   - Retrieve or save notes.\n   - Ask complex questions and observe dynamic AI task routing.\n\n---\n\n## **Future Enhancements**\n\n- Add multi-language support for global use.\n- Enhance the UI with modern frameworks.\n- Introduce additional tools for broader AI capabilities.\n\n---\n\n## **Contributing**\n\nWe welcome contributions to enhance this project! Feel free to fork the repository, add features, and submit a pull request.\n\n---\n\n## **License**\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacharias1219%2Fmulti-agent-applications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacharias1219%2Fmulti-agent-applications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacharias1219%2Fmulti-agent-applications/lists"}