File size: 854 Bytes
5caea19
 
 
 
 
 
 
 
 
 
 
 
02eb949
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: Glm45v3
emoji: πŸƒ
colorFrom: gray
colorTo: green
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# 🧭 GLM 4.5 Multi-Agent Control Panel (FastAPI + Gradio)

This Space exposes:
- **FastAPI** endpoints at `/api/agent1..4` and `/api/run_all`
- A **Gradio UI** at `/` to message one agent or all agents at once
- Both run inside the same process (no port conflicts), with files kept separate for testability.

## Structure
- `api.py` β€” FastAPI app, endpoints, and the agent logic (GLM 4.5 call stub).
- `main.py` β€” Gradio UI (no server launch).
- `app.py` β€” Mounts Gradio onto the FastAPI app; Space entrypoint.
- `requirements.txt`, `huggingface.yml` β€” Space config.

## Environment
Optionally set your GLM API key: