Spaces:
Sleeping

File size: 1,606 Bytes
c06bdb7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
56
57
58
59
60
61
# Hugging Face App Specification

## Target

Hugging Face Space: `ARD-RGL/SB-ARD`

Fresh build. Do not patch confused old repo unless approved.

## Recommended first implementation

```text
app.py
requirements.txt
core/sb_nodes.py
core/urr_microbrain.py
core/orchestrator.py
core/storage.py
core/source_tools.py
core/model_router.py
core/prompts.py
data/corpus/
data/memory/
data/runs/
```

## UI tabs

1. Chat
2. Trace
3. Memory
4. Sources
5. Human Review
6. RH Testcase
7. Settings

## Models

Primary router: OpenRouter.

Recommended model routing:

| Use | Model style |
|---|---|
| Fast triage | cheap/free model |
| Deep answer | DeepSeek V4 Pro / Hermes / Grok via OpenRouter if available |
| Candid private writing | Dolphin Venice 24B / similar permissive open model |
| Long local context | Vicuna-7B-v1.5-16k or other HF-compatible local model |
| Fallback | any configured OpenRouter-compatible model |

## Privacy position

Private app. Store data only inside the user's Space/storage unless user exports or calls external APIs.

Important: if OpenRouter or any external API is used, that provider receives the prompt. For maximum privacy, use local/HF models only.

## Safety position

The app should be candid and private, with no moralizing and no generic refusal spam. It can support raw/vulgar/private adult-toned writing where lawful and consensual.

Still keep non-negotiable implementation boundaries: minors, non-consensual sexual content, fraud, weapons, illegal harm, dangerous medical/legal execution, and doxxing. These blocks protect the project while keeping the engine direct.