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
A terminal-based AI coding assistant that actually works with your files and shell.



Deputy gives you an AI assistant that can:
- ---
No copying and pasting code snippets. No switching between terminal and browser. Just tell it what you want and it gets on with it.
```bash
cargo install deputy
```
Set your API key:
```bash
export ANTHROPIC_API_KEY=your_key_here
export OPENAI_API_KEY=your_key_here
```
```bash
cd your-project
deputy
```
That's it. Deputy will scan your project and you can start chatting.
```bash
deputy --provider open-ai --model gpt-4o # Use OpenAI instead
deputy --yolo # Skip permission prompts
deputy --base-url http://localhost:8080/v1 # Custom API endpoint
deputy --config ./my-config.md # Use custom configuration file
deputy --provider open-ai --base-url http://localhost:11434/v1 --model gpt-oss:20b
```
Deputy asks before doing potentially destructive things. You can:
- --
You can specify a custom configuration file using the `--config` option:
```bash
deputy --config ./path/to/my-config.md
```
When using `--config`, Deputy will read ONLY that file and ignore the default search locations.
If no custom config is specified, Deputy loads configuration files in priority order (first found wins):
1. 2.3.4.5.
These files contain instructions that Deputy will follow during your session.
Issues and PRs welcome.
MIT