Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,55 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: PraisonChat
|
| 3 |
+
emoji: π±
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# PraisonChat π±
|
| 12 |
+
|
| 13 |
+
An **OpenClaw-style** multi-agent AI chat powered by **PraisonAI** and **LongCat Flash Lite**.
|
| 14 |
+
|
| 15 |
+
## Features
|
| 16 |
+
- π€ Dynamic sub-agent creation β the main agent spawns specialized agents per task
|
| 17 |
+
- π§ Auto tool creation β agents write their own Python tools on the fly
|
| 18 |
+
- π¬ Streaming responses with real-time agent step visibility
|
| 19 |
+
- π Full markdown + code highlighting
|
| 20 |
+
- π Dark/light mode
|
| 21 |
+
- πΎ Local chat history
|
| 22 |
+
- π― Multi-model support (Flash Lite, Flash Chat, Flash Thinking)
|
| 23 |
+
|
| 24 |
+
## Setup
|
| 25 |
+
1. Get a free LongCat API key at [longcat.chat/platform](https://longcat.chat/platform)
|
| 26 |
+
2. Enter your API key in Settings (βοΈ)
|
| 27 |
+
3. Start chatting!
|
| 28 |
+
|
| 29 |
+
## Models
|
| 30 |
+
| Model | Context | Speed | Free Quota |
|
| 31 |
+
|-------|---------|-------|------------|
|
| 32 |
+
| LongCat Flash Lite | 320K | Fastest | 50M tokens/day |
|
| 33 |
+
| LongCat Flash Chat | 256K | Fast | 500K tokens/day |
|
| 34 |
+
| LongCat Flash Thinking | 256K | Medium | 500K tokens/day |
|
| 35 |
+
|
| 36 |
+
## Environment Variables (optional)
|
| 37 |
+
Set `LONGCAT_API_KEY` as a Space Secret to pre-configure the API key for all users.
|
| 38 |
+
|
| 39 |
+
## Architecture
|
| 40 |
+
```
|
| 41 |
+
User Message
|
| 42 |
+
β
|
| 43 |
+
βΌ
|
| 44 |
+
Main Orchestrator Agent (analyzes task, plans execution)
|
| 45 |
+
β
|
| 46 |
+
βββ Creates Sub-Agent 1 with custom tools
|
| 47 |
+
βββ Creates Sub-Agent 2 with custom tools
|
| 48 |
+
βββ Creates Sub-Agent N with custom tools
|
| 49 |
+
β
|
| 50 |
+
βΌ
|
| 51 |
+
Each agent executes its task
|
| 52 |
+
β
|
| 53 |
+
βΌ
|
| 54 |
+
Orchestrator synthesizes β Final response to user
|
| 55 |
+
```
|