Spaces:
Sleeping
Sleeping
Yoon-gu Hwang Claude commited on
Commit ยท
b8c099d
1
Parent(s): 2b02283
Update README.md with gradio version and documentation
Browse files- Update sdk_version from 5.37.0 to 5.49.1
- Add comprehensive project description and features
- Add setup instructions with uv commands
- Add project structure and technologies sections
- Improve documentation for new users
๐ค Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
README.md
CHANGED
|
@@ -4,9 +4,56 @@ emoji: ๐
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 5.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.49.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# LangGraph UI
|
| 13 |
+
|
| 14 |
+
A Gradio-based chat interface for LangGraph supervisor workflow with nested agent visualization.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
|
| 18 |
+
- ๐ค Multi-agent system with supervisor workflow
|
| 19 |
+
- ๐ Research agent with web search capabilities
|
| 20 |
+
- ๐งฎ Math agent for calculations
|
| 21 |
+
- ๐ฌ Interactive chat interface with nested thoughts visualization
|
| 22 |
+
- ๐จ Real-time streaming of agent execution steps
|
| 23 |
+
|
| 24 |
+
## Setup
|
| 25 |
+
|
| 26 |
+
1. Install dependencies:
|
| 27 |
+
```bash
|
| 28 |
+
uv sync
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
2. Set up environment variables:
|
| 32 |
+
Create a `.env` file in the root directory:
|
| 33 |
+
```
|
| 34 |
+
OPENAI_API_KEY=your-openai-api-key-here
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
3. Run the application:
|
| 38 |
+
```bash
|
| 39 |
+
uv run python app.py
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
The application will start on `http://localhost:7860`
|
| 43 |
+
|
| 44 |
+
## Project Structure
|
| 45 |
+
|
| 46 |
+
- `app.py` - Gradio chat interface
|
| 47 |
+
- `graph.py` - LangGraph supervisor workflow and agents
|
| 48 |
+
- `pyproject.toml` - Project dependencies managed by uv
|
| 49 |
+
- `.env` - Environment variables (not tracked in git)
|
| 50 |
+
|
| 51 |
+
## Technologies
|
| 52 |
+
|
| 53 |
+
- [Gradio](https://gradio.app/) - Web UI framework
|
| 54 |
+
- [LangGraph](https://langchain-ai.github.io/langgraph/) - Agent orchestration
|
| 55 |
+
- [LangChain](https://langchain.com/) - LLM framework
|
| 56 |
+
- [OpenAI](https://openai.com/) - LLM provider
|
| 57 |
+
- [uv](https://github.com/astral-sh/uv) - Python package manager
|
| 58 |
+
|
| 59 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|