You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+58-1Lines changed: 58 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,12 @@ This release adds the new CodeMode path as an opt-in harness strategy.
34
34
- Guardrails before execution: blocked API classes plus timeout/size/tool-call caps
35
35
- Benchmark telemetry for side-by-side comparison: `tool_call` vs `codemode`
36
36
- Dedicated docs section for CodeMode: quickstart, architecture, guardrails, evaluation
37
+
- Multi-backend setup docs for UTCP (local) and Cloudflare (remote MCP)
37
38
38
39
Example:
39
40
40
41
```text
41
-
/harness run "implement feature and add tests" steps=8 mcp=on strategy=codemode mcp_server=codemode
42
+
/harness run "implement feature and add tests" steps=3 mcp=on strategy=codemode mcp_server=utcp-codemode
42
43
```
43
44
44
45
## Documentation
@@ -194,6 +195,62 @@ Notes:
194
195
- In Local/BYOK connection modes, likely coding prompts in chat can auto-route to harness.
195
196
- In ACP mode, auto-routing is intentionally off; use `/harness run ...` explicitly.
196
197
198
+
### 8. CodeMode with UTCP and Cloudflare MCP
199
+
200
+
Use these server entries in your project `rlm_config.yaml`:
201
+
202
+
```yaml
203
+
mcp_servers:
204
+
utcp-codemode:
205
+
name: utcp-codemode
206
+
description: "Local CodeMode MCP bridge"
207
+
enabled: true
208
+
auto_connect: false
209
+
timeout_seconds: 30
210
+
retry_attempts: 3
211
+
transport:
212
+
type: stdio
213
+
command: npx
214
+
args:
215
+
- "@utcp/code-mode-mcp"
216
+
217
+
cloudflare-codemode:
218
+
name: cloudflare-codemode
219
+
description: "Cloudflare MCP via remote bridge"
220
+
enabled: true
221
+
auto_connect: false
222
+
timeout_seconds: 30
223
+
retry_attempts: 3
224
+
transport:
225
+
type: stdio
226
+
command: npx
227
+
args:
228
+
- "mcp-remote"
229
+
- "https://mcp.cloudflare.com/mcp"
230
+
```
231
+
232
+
UTCP path (native CodeMode in current release):
233
+
234
+
```text
235
+
/mcp-connect utcp-codemode
236
+
/mcp-tools utcp-codemode
237
+
/harness run "analyze this repo, find TODO/FIXME, and create report.json" steps=3 mcp=on strategy=codemode mcp_server=utcp-codemode
238
+
```
239
+
240
+
Cloudflare path (recommended strategy today):
241
+
242
+
```text
243
+
/mcp-connect cloudflare-codemode
244
+
/mcp-tools cloudflare-codemode
245
+
/harness run "list available tools and run one safe read-only action, then summarize in 3 bullets" steps=3 mcp=on strategy=tool_call mcp_server=cloudflare-codemode
246
+
```
247
+
248
+
Notes:
249
+
250
+
- On first Cloudflare connect, `mcp-remote` may ask for interactive authentication.
251
+
- In this release, `strategy=codemode` expects the `search_tools` + `call_tool_chain` bridge contract.
252
+
- If a remote MCP server exposes a different tool contract, use `strategy=tool_call`.
253
+
197
254
## How the RLM Loop Works
198
255
199
256
Traditional LLM usage: paste your document into the prompt, ask a question, hope the model doesn't lose details in the middle.
0 commit comments