AI Chef is a multimodal AI Agent application built with LangChain and LangGraph.
Users can upload photos of ingredients, and the AI automatically recognizes available ingredients, searches for suitable recipes, and provides personalized cooking suggestions through natural-language conversations.
Upload an image of ingredients from your refrigerator or kitchen. The multimodal model analyzes the image and identifies available ingredients automatically.
The Agent searches for relevant recipes based on recognized ingredients and user requirements.
The system uses an Agent-based architecture to understand user requests, decide which tools to call, execute them, and generate a final response.
Typical workflow:
User Input
↓
Image / Text Understanding
↓
Agent Reasoning
↓
Tool Selection & Execution
↓
Recipe Search / Analysis
↓
AI-generated Recommendation
Recipes can be recommended according to factors such as:
- Available ingredients
- Cooking difficulty
- User requirements
- Nutrition considerations
- Recipe relevance
When no suitable recipe is found, the Agent can generate creative meal ideas based on the ingredients currently available.
Users can continuously interact with the AI Chef through natural-language conversations and refine their cooking requirements.
┌─────────────────┐
│ User │
└────────┬────────┘
│
Image / Text Input
│
▼
┌─────────────────┐
│ AI Chef API │
└────────┬────────┘
│
▼
┌─────────────────┐
│ LangGraph Agent │
└────────┬────────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
Multimodal Recipe Search
Model Tools Tools
│ │ │
└──────────┼──────────┘
▼
┌──────────────────┐
│ AI Recommendation│
└──────────────────┘
- LangChain
- LangGraph
- Large Language Models (LLMs)
- Multimodal LLM
- Tool Calling
- Python
- LangGraph API
- DeepSeek
- DashScope
- Tavily Search
- LangSmith
- Object Storage Service (OSS)
Ai-chef-agent/
├── src/ # Main application source code
├── .env.example # Environment variable template
├── .gitignore # Git ignored files
├── .python-version # Python version configuration
├── langgraph.json # LangGraph configuration
├── pyproject.toml # Python project dependencies
├── uv.lock # Dependency lock file
└── README.md # Project documentation
git clone https://github.com/codingcode1101/Ai-chef-agent.git
cd Ai-chef-agentMake sure Python and uv are installed.
uv syncCreate a .env file based on .env.example.