File size: 2,899 Bytes
99b0244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4d05324
99b0244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b56cbfa
99b0244
 
 
4d05324
99b0244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
title: "CoT-Lab: Human-AI Co-Thinking Laboratory"
emoji: "πŸ€–"
colorFrom: "blue"
colorTo: "gray"
sdk: "gradio"
python_version: "3.13"
sdk_version: "5.13.1"
app_file: "app.py"
models:
  - "deepseek-ai/DeepSeek-R1"
tags:
  - "writing-assistant"
  - "multilingual"
license: "mit"
---

# CoT-Lab: Human-AI Co-Thinking Laboratory
[Huggingface Spaces πŸ€—](https://huggingface.co/spaces/Intelligent-Internet/CoT-Lab) | [GitHub Repository 🌐](https://github.com/Intelligent-Internet/CoT-Lab-Demo)
[δΈ­ζ–‡README](README_zh.md)

**Sync your thinking with AI reasoning models to achieve deeper cognitive alignment**
Follow, learn, and iterate the thought within one turn

## 🌟 Introduction
CoT-Lab is an experimental interface exploring new paradigms in human-AI collaboration. Based on **Cognitive Load Theory** and **Active Learning** principles, it creates a "**Thought Partner**" relationship by enabling:

- 🧠 **Cognitive Synchronization**  
  Slow-paced AI output aligned with human information processing speed
- ✍️ **Collaborative Thought Weaving**   
  Human active participation in AI's Chain of Thought


** This project is part of ongoing exploration. Under active development, discussion and feedback are welcome! **

## πŸ›  Usage Guide
### Basic Operation
1. **Set Initial Prompt**  
   Describe your prompy in the input box (e.g., "Explain quantum computing basics")

2. **Adjust Cognitive Parameters**  
   - ⏱ **Thought Sync Throughput**: tokens/sec - 5:Read-aloud, 10:Follow-along, 50:Skim
   - πŸ“ **Human Thinking Cadence**: Auto-pause every X paragraphs (Default off - recommended for active learning)

3. **Interactive Workflow**  
   - Click `Generate` to start co-thinking, follow the thinking process
   - Edit AI's reasoning when it pauses - or pause it anytime with `Shift+Enter`
   - Use `Shift+Enter` to hand over to AI again

## 🧠 Design Philosophy
- **Cognitive Load Optimization**  
  Information chunking (Chunking) adapts to working memory limits, serialized information presentation reduces cognitive load from visual searching

- **Active Learning Enhancement**  
  Direct manipulation interface promotes deeper cognitive engagement

- **Distributed Cognition**  
  Explore hybrid human-AI problem-solving paradiam 

## πŸ“₯ Installation & Deployment
Local deployment is (currently) required if you want to work with locally hosted LLMs. 

**Prerequisites**: Python 3.11+ | Valid [Deepseek API Key](https://platform.deepseek.com/) or OpenAI SDK compatible API.

```bash
# Clone repository
git clone https://github.com/Intelligent-Internet/CoT-Lab-Demo
cd CoT-Lab

# Install dependencies
pip install -r requirements.txt

# Configure environment
API_KEY=sk-****
API_URL=https://api.deepseek.com/beta
API_MODEL=deepseek-reasoner

# Launch application
python app.py
```


## πŸ“„ License
MIT License Β© 2024 [ii.inc]

## Contact
[email protected] (Dango233)