This repo contains a minimal, local LangGraph-like SDK and an example agentic flow that: 1) creates content from a prompt, 2) generates an image from the content, 3) post-processes that image (resize + watermark), and 4) generates concise alt text.
Quick start
- Install dependencies:
pip install -r requirements.txt- Set your OpenAI API key in environment:
Windows (PowerShell):
$env:OPENAI_API_KEY = "sk-..."Linux / macOS:
export OPENAI_API_KEY="sk-..."- Run the flow:
python run_flow.py --prompt "A vintage poster of a robot baker" --outdir outputOutputs will be written into the output directory.
Notes
- This is a minimal example to demonstrate an agentic flow. Replace the OpenAI calls or extend nodes as needed.
- If you want to swap in a different image-generation provider, modify
flows/agentic_image_flow.pyin thegenerate_imagenode.
A multi-agent, AI-powered Doctor Appointment Booking System designed to handle user queries about doctor availability, specialization, and appointment scheduling.
This project demonstrates intelligent workflow automation between agents using LangGraph, LangChain, and a clean FastAPI–Streamlit integration.
- AI-driven appointment scheduling and doctor recommendations
- Multi-agent coordination for query handling and decision-making
- Dynamic workflow automation using LangGraph
- Simple, interactive frontend built with Streamlit
- REST API powered by FastAPI for backend execution
- CSV-based data management with Python and Pandas
| Technology | Purpose |
|---|---|
| LangGraph | Workflow automation between agents |
| LangChain | Model loading, prompt creation, and tool usage |
| FastAPI | Serves API endpoints and executes logic |
| Streamlit | Frontend interface for user interaction |
| Python + Pandas + CSV | Data handling and storage |
- User Input → Streamlit UI
- Query Handling → LangChain-powered Agent
- Workflow Coordination → LangGraph automates inter-agent communication
- Backend Execution → FastAPI processes requests and returns responses
- Data Management → Pandas reads/writes appointment data via CSV
# Clone the repository
git clone https://github.com/yourusername/medical-appointment-system.git
# Navigate to the project directory
cd medical-appointment-system
# Install dependencies
pip install -r requirements.txt
# Run the FastAPI backend
uvicorn main:app --reload
# Run the Streamlit frontend
streamlit run app.py