rhachet 1.19.0 โ†’ 1.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +49 -44
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "rhachet",
3
3
  "author": "ehmpathy",
4
4
  "description": "A framework for reliable, thorough thought. Weave threads of thought via stitches.",
5
- "version": "1.19.0",
5
+ "version": "1.19.2",
6
6
  "repository": "ehmpathy/rhachet",
7
7
  "homepage": "https://github.com/ehmpathy/rhachet",
8
8
  "keywords": [
package/readme.md CHANGED
@@ -11,11 +11,11 @@ a framework for reliable, composable, and iteratively improvable thought.
11
11
 
12
12
  rhachet makes it simple to leverage thought routes - safely, easily, and effectively.
13
13
 
14
- - ๐Ÿชจ **solid** routes for deterministic automation
15
- - ๐Ÿ”ฉ **rigid** routes for augmented workflows
16
- - ๐ŸŒŠ **fluid** routes for open-ended exploration
14
+ - ๐Ÿชจ **solid** routes for deterministic operations
15
+ - ๐Ÿ”ฉ **rigid** routes for augmented orchestration
16
+ - ๐Ÿ’ง **fluid** routes for probabalistic exploration
17
17
 
18
- with rhachet, you can:
18
+ with rhachet, you can
19
19
  - declare thought routes, reusably and maintainably
20
20
  - apply thought routes, observably and reliably
21
21
  - compose and accumulate reusable thought skill
@@ -28,49 +28,54 @@ with rhachet, you can:
28
28
 
29
29
  thought routes describe the determinism profile of an execution path.
30
30
 
31
- | route | what | when to use |
32
- | ----------- | ------------------------------------------------ | ------------------------------------ |
33
- | ๐Ÿชจ **solid** | deterministic throughout | scripted automation, data transforms |
34
- | ๐Ÿ”ฉ **rigid** | deterministic harness + probabilistic operations | augmented workflows, controlled ai |
35
- | ๐ŸŒŠ **fluid** | probabilistic throughout | exploration, open-ended problems |
31
+ | route | what | when to use |
32
+ | ----------- | ------------------------------------------------ | ------------------------------------------------ |
33
+ | ๐Ÿชจ **solid** | deterministic throughout | whenever you can; faster, cheaper, more reliable |
34
+ | ๐Ÿ”ฉ **rigid** | deterministic harness + probabilistic operations | when you can control the flow, brain fills gaps |
35
+ | ๐Ÿ’ง **fluid** | probabilistic throughout | when brain must decide the flow |
36
36
 
37
37
  the key distinction:
38
38
  - ๐Ÿ”ฉ **rigid**: you know when thought is needed, harness controls
39
- - ๐ŸŒŠ **fluid**: you don't know when or what thought is needed, brain decides
39
+ - ๐Ÿ’ง **fluid**: you don't know when or what thought is needed, brain decides
40
40
 
41
41
  ## brains
42
42
 
43
43
  brains are probabilistic imagination mechanisms that provide creative thought capabilities:
44
44
 
45
- | type | what | characteristics |
46
- | ---- | ---- | --------------- |
47
- | **brain.atom** | single inference | stateless, one-shot |
45
+ | type | what | characteristics |
46
+ | -------------- | -------------------- | ------------------------------ |
47
+ | **brain.atom** | single inference | stateless, one-shot |
48
48
  | **brain.repl** | read-eval-print-loop | stateful, multi-turn, tool use |
49
49
 
50
50
  brain.atom is for single-turn operations. brain.repl is for multi-turn operations.
51
51
 
52
52
  ## actors, roles, skills, briefs
53
53
 
54
- rhachet organizes thought operators into a composable hierarchy:
54
+ rhachet organizes thought operators into a composable hierarchy
55
55
 
56
56
  ```
57
- actor = brain + role
58
- role = skills + briefs
57
+ actor
58
+ โ”œโ”€โ”€ brain
59
+ โ””โ”€โ”€ role
60
+ โ”œโ”€โ”€ briefs
61
+ โ””โ”€โ”€ skills
59
62
  ```
60
63
 
61
- | concept | what | example |
62
- | --------- | ---------------------------------- | --------------------------------------- |
63
- | **actor** | a brain assuming a role | mechanic actor (claude + mechanic role) |
64
- | **role** | a bundle of skills + briefs | mechanic, reviewer, architect |
65
- | **skill** | an executable capability | review, deliver, init |
66
- | **brief** | context and knowledge for the role | coding standards, domain patterns |
64
+ | concept | what | example |
65
+ | ----------- | ---------------------------------- | -------------------------------------------- |
66
+ | ๐ŸŽญ **actor** | a brain in a role | mechanic actor (brain:codex + role:mechanic) |
67
+ | ๐Ÿงข **role** | a bundle of skills + briefs | mechanic, reviewer, architect |
68
+ | ๐Ÿ“š **brief** | curated knowledge for the role | code standards, domain patterns |
69
+ | ๐Ÿ’ช **skill** | executable capability for the role | review, deliver, decompose |
67
70
 
68
- roles are portable - the same role can be assumed by different brains.
71
+ actors cause action - yet are not agents until delegated to.
69
72
 
70
- skills are composable - they can invoke other skills, nest thought routes, and build complexity incrementally.
73
+ roles are portable - the same role can be assumed by different brains.
71
74
 
72
75
  briefs are cumulative - they encode institutional knowledge that improves over time.
73
76
 
77
+ skills are composable - they can invoke other skills, nest thought routes, and build complexity incrementally.
78
+
74
79
  # install
75
80
 
76
81
  ```sh
@@ -81,13 +86,13 @@ npm install rhachet
81
86
 
82
87
  ## cli
83
88
 
84
- rhachet provides cli commands for each thought route:
89
+ rhachet provides cli commands for each thought route
85
90
 
86
91
  | command | route | what it does |
87
92
  | ----------------- | ------- | ------------------------------------------ |
88
93
  | `npx rhachet run` | ๐Ÿชจ solid | execute a shell skill, no brain |
89
94
  | `npx rhachet act` | ๐Ÿ”ฉ rigid | execute a skill with deterministic harness |
90
- | `npx rhachet ask` | ๐ŸŒŠ fluid | converse with an actor, brain decides path |
95
+ | `npx rhachet ask` | ๐Ÿ’ง fluid | converse with an actor, brain decides path |
91
96
 
92
97
  ### setup
93
98
 
@@ -106,14 +111,16 @@ export const getRoleRegistries = () => [
106
111
 
107
112
  ### ๐Ÿชจ solid: run
108
113
 
114
+ deterministic operations, no brain.
115
+
109
116
  ```sh
110
117
  npx rhachet run --skill gh.workflow.logs --workflow test
111
118
  ```
112
119
 
113
- deterministic execution, no brain involved.
114
-
115
120
  ### ๐Ÿ”ฉ rigid: act
116
121
 
122
+ augmented orchestration, harness controls flow, brain augments.
123
+
117
124
  ```sh
118
125
  npx rhachet act \
119
126
  --role mechanic --skill review \
@@ -125,9 +132,9 @@ npx rhachet act \
125
132
  --brain openai/codex
126
133
  ```
127
134
 
128
- deterministic harness controls flow, brain operations are wrapped and validated.
135
+ ### ๐Ÿ’ง fluid: ask
129
136
 
130
- ### ๐ŸŒŠ fluid: ask
137
+ probabilistic exploration, brain decides the path.
131
138
 
132
139
  ```sh
133
140
  npx rhachet ask \
@@ -135,17 +142,15 @@ npx rhachet ask \
135
142
  --ask "are birds real?"
136
143
  ```
137
144
 
138
- brain decides the path, exploration is the goal.
139
-
140
145
  ## sdk
141
146
 
142
147
  rhachet provides a type-safe sdk for programmatic actor usage.
143
148
 
144
- | method | route | what it does |
145
- | -------------- | ------- | ------------------------------------------ |
146
- | `actor.run()` | ๐Ÿชจ solid | execute a shell skill, no brain |
147
- | `actor.act()` | ๐Ÿ”ฉ rigid | execute a skill with deterministic harness |
148
- | `actor.ask()` | ๐ŸŒŠ fluid | converse with an actor, brain decides path |
149
+ | method | route | what it does |
150
+ | ------------- | ------- | ------------------------------------------ |
151
+ | `actor.run()` | ๐Ÿชจ solid | execute a shell skill, no brain |
152
+ | `actor.act()` | ๐Ÿ”ฉ rigid | execute a skill with deterministic harness |
153
+ | `actor.ask()` | ๐Ÿ’ง fluid | converse with an actor, brain decides path |
149
154
 
150
155
  ### setup
151
156
 
@@ -172,16 +177,18 @@ the `brains` allowlist:
172
177
 
173
178
  ### ๐Ÿชจ solid: run
174
179
 
180
+ deterministic operations, no brain.
181
+
175
182
  ```ts
176
183
  await mechanic.run({
177
184
  skill: { 'gh.workflow.logs': { workflow: 'test' } },
178
185
  });
179
186
  ```
180
187
 
181
- deterministic execution, no brain involved.
182
-
183
188
  ### ๐Ÿ”ฉ rigid: act
184
189
 
190
+ augmented orchestration, harness controls flow, brain augments.
191
+
185
192
  ```ts
186
193
  // uses default brain (first in allowlist)
187
194
  await mechanic.act({
@@ -195,18 +202,16 @@ await mechanic.act({
195
202
  });
196
203
  ```
197
204
 
198
- deterministic harness controls flow, brain operations are wrapped and validated.
205
+ ### ๐Ÿ’ง fluid: ask
199
206
 
200
- ### ๐ŸŒŠ fluid: ask
207
+ probabilistic exploration, brain decides the path.
201
208
 
202
209
  ```ts
203
- await mechanic.ask({
210
+ await skeptic.ask({
204
211
  prompt: 'are birds real?',
205
212
  });
206
213
  ```
207
214
 
208
- brain decides the path, exploration is the goal.
209
-
210
215
  # vision
211
216
 
212
217
  build or use digital actors, who work even from your laptop, and work for anyone you choose.