{"id":30061669,"url":"https://github.com/mdalamin5/fastapi-for-machine-learning-and-agentic-ai","last_synced_at":"2026-04-20T13:07:10.583Z","repository":{"id":293202936,"uuid":"983275958","full_name":"MDalamin5/FastAPI-for-Machine-Learning-and-Agentic-Ai","owner":"MDalamin5","description":"A practical FastAPI-based repository for building and deploying APIs, starting from web and database projects to serving ML, DL, and LLM models. Ideal for learning scalable AI deployment and modern API design with Python, Pydantic, and production-ready tools like LangChain and HuggingFace.","archived":false,"fork":false,"pushed_at":"2025-08-07T05:37:26.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-07T06:11:31.744Z","etag":null,"topics":["agentic-ai","api-server","artificial-intelligence","auth0","docker","fastapi","machine-learning","restful-api"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/in/mdalamin5/","language":"Jupyter Notebook","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/MDalamin5.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,"zenodo":null}},"created_at":"2025-05-14T06:30:01.000Z","updated_at":"2025-08-07T05:37:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d698fdb-f494-4616-beb6-4fa596d9e0a4","html_url":"https://github.com/MDalamin5/FastAPI-for-Machine-Learning-and-Agentic-Ai","commit_stats":null,"previous_names":["mdalamin5/fastapi-for-machine-learning-and-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MDalamin5/FastAPI-for-Machine-Learning-and-Agentic-Ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDalamin5%2FFastAPI-for-Machine-Learning-and-Agentic-Ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDalamin5%2FFastAPI-for-Machine-Learning-and-Agentic-Ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDalamin5%2FFastAPI-for-Machine-Learning-and-Agentic-Ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDalamin5%2FFastAPI-for-Machine-Learning-and-Agentic-Ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MDalamin5","download_url":"https://codeload.github.com/MDalamin5/FastAPI-for-Machine-Learning-and-Agentic-Ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDalamin5%2FFastAPI-for-Machine-Learning-and-Agentic-Ai/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269355440,"owners_count":24403437,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["agentic-ai","api-server","artificial-intelligence","auth0","docker","fastapi","machine-learning","restful-api"],"created_at":"2025-08-08T02:41:07.301Z","updated_at":"2026-04-20T13:07:10.530Z","avatar_url":"https://github.com/MDalamin5.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FASTAPI for AI \u0026 ML Projects 🚀\n\nThis repository is a practical playground and professional archive for building and deploying APIs using **FastAPI**, with a special focus on integrating **Machine Learning (ML)**, **Deep Learning (DL)**, and **Large Language Models (LLMs)**.\n\n---\n\n## 🔥 Why This Repository?\nAs modern AI systems increasingly require robust and scalable deployment, this repo is a hands-on learning and development space to:\n\n- Design RESTful APIs for web and database interactions.\n- Build and serve AI/ML/DL/LLM models through FastAPI.\n- Practice production-level API standards and design patterns.\n\n---\n\n## 📌 Goals\n- ✅ Practice building RESTful APIs using FastAPI.\n- ✅ Integrate databases (e.g., PostgreSQL, MongoDB).\n- 🔄 Deploy ML models (scikit-learn, XGBoost, etc.) with FastAPI.\n- 🔄 Serve DL models (TensorFlow, PyTorch).\n- 🔄 Deploy LLMs with LangChain, HuggingFace, or Groq API.\n- ✅ Implement Pydantic models for request validation.\n- 🔄 Add authentication (JWT, OAuth2).\n- 🔄 Write test cases using pytest.\n\n---\n\n## 🧰 Tech Stack\n\n- **FastAPI** – Web framework\n- **Uvicorn** – ASGI server\n- **SQLAlchemy** – ORM (for SQL-based projects)\n- **MongoDB / PostgreSQL** – Databases\n- **Pydantic** – Data validation\n- **Docker** – Containerization (future integration)\n- **PyTorch / TensorFlow / Scikit-Learn** – AI/ML/DL libraries\n- **LangChain / HuggingFace** – LLM integrations\n\n---\n\n## 🚀 Getting Started\n\n### 1. Clone the Repository\n```bash\ngit https://github.com/MDalamin5/FastAPI-for-Machine-Learning-and-Agentic-Ai.git\n```\n\n### 2. Create and Activate Virtual Environment\n```bash\npython -m venv venv\nsource venv/bin/activate  # Windows: venv\\Scripts\\activate\n```\n\n### 3. Install Dependencies\n```bash\npip install -r requirements.txt\n```\n\n### 4. Run the FastAPI App\n```bash\nuvicorn main:app --reload\n```\n\nVisit `http://127.0.0.1:8000/docs` for the Swagger UI.\n\n---\n\n## 📄 Example Use Cases\n- User authentication system (JWT based)\n- Prediction API for housing price model\n- Image classification using DL models\n- Chatbot with LangChain and vector stores\n- AI Tutor API for math or science\n\n---\n\n## 🧪 Testing\n```bash\npytest tests/\n```\n\n---\n\n## 📚 Learning Resources\n- [FastAPI Documentation](https://fastapi.tiangolo.com/)\n- [Full Stack FastAPI PostgreSQL](https://github.com/tiangolo/full-stack-fastapi-postgresql)\n- [Deployment with Docker \u0026 FastAPI](https://testdriven.io/blog/fastapi-docker/)\n- [LangChain Documentation](https://docs.langchain.com/)\n\n---\n\n## 👨‍💻 Author\n**Al-Amin** – [GitHub](https://github.com/mdalamin5) | [LinkedIn](https://www.linkedin.com/in/mdalamin5)\n\n---\n\n## 📜 License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🌟 Contribute \u0026 Star\nIf you find this repo useful or inspiring, feel free to **star** ⭐ the project and **contribute** with ideas, code, or improvements!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdalamin5%2Ffastapi-for-machine-learning-and-agentic-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdalamin5%2Ffastapi-for-machine-learning-and-agentic-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdalamin5%2Ffastapi-for-machine-learning-and-agentic-ai/lists"}