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
**所有回复必须用英文。** 本文件用中文以节省 token。
rotary 是**纯代理框架引擎**。负责 agent loop、tools、providers、sessions、permissions、computer-use、IPC。不含产品 UI。
宿主(telekinesis CLI/TUI、omi desktop)通过 `cargo add rotary` 嵌入或通过 JSON-RPC IPC 连接 `rotary serve`。
- -----
```toml
default = ["ipc"]
computer-use = ["dep:rs_peekaboo"]
ipc = ["dep:tokio"]
providers = ["dep:reqwest"]
builtin-tools = []
```
- ----
```bash
cargo build
cargo build --all-features
cargo test --all-features
cargo clippy --all-features
cargo fmt --check
```
英文 Conventional Commits,例:`feat(agent): stream tool call deltas`。