File size: 1,590 Bytes
fc82bfe
3230384
 
 
 
fc82bfe
3230384
fc82bfe
 
 
3230384
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
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
```