| --- |
| title: PraisonChat |
| emoji: π± |
| colorFrom: purple |
| colorTo: blue |
| sdk: docker |
| app_port: 7860 |
| pinned: false |
| --- |
| |
| # PraisonChat π± |
|
|
| An **OpenClaw-style** multi-agent AI chat powered by **PraisonAI** and **LongCat Flash Lite**. |
|
|
| ## Features |
| - π€ Dynamic sub-agent creation β the main agent spawns specialized agents per task |
| - π§ Auto tool creation β agents write their own Python tools on the fly |
| - π¬ Streaming responses with real-time agent step visibility |
| - π Full markdown + code highlighting |
| - π Dark/light mode |
| - πΎ Local chat history |
| - π― Multi-model support (Flash Lite, Flash Chat, Flash Thinking) |
|
|
| ## Setup |
| 1. Get a free LongCat API key at [longcat.chat/platform](https://longcat.chat/platform) |
| 2. Enter your API key in Settings (βοΈ) |
| 3. Start chatting! |
|
|
| ## Models |
| | Model | Context | Speed | Free Quota | |
| |-------|---------|-------|------------| |
| | LongCat Flash Lite | 320K | Fastest | 50M tokens/day | |
| | LongCat Flash Chat | 256K | Fast | 500K tokens/day | |
| | LongCat Flash Thinking | 256K | Medium | 500K tokens/day | |
|
|
| ## Environment Variables (optional) |
| Set `LONGCAT_API_KEY` as a Space Secret to pre-configure the API key for all users. |
|
|
| ## Architecture |
| ``` |
| User Message |
| β |
| βΌ |
| Main Orchestrator Agent (analyzes task, plans execution) |
| β |
| βββ Creates Sub-Agent 1 with custom tools |
| βββ Creates Sub-Agent 2 with custom tools |
| βββ Creates Sub-Agent N with custom tools |
| β |
| βΌ |
| Each agent executes its task |
| β |
| βΌ |
| Orchestrator synthesizes β Final response to user |
| ``` |