Skip to content

Commit 86e0dea

Browse files
committed
Update readme
1 parent c690773 commit 86e0dea

File tree

1 file changed

+58
-1
lines changed

1 file changed

+58
-1
lines changed

README.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ This release adds the new CodeMode path as an opt-in harness strategy.
3434
- Guardrails before execution: blocked API classes plus timeout/size/tool-call caps
3535
- Benchmark telemetry for side-by-side comparison: `tool_call` vs `codemode`
3636
- Dedicated docs section for CodeMode: quickstart, architecture, guardrails, evaluation
37+
- Multi-backend setup docs for UTCP (local) and Cloudflare (remote MCP)
3738

3839
Example:
3940

4041
```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
4243
```
4344

4445
## Documentation
@@ -194,6 +195,62 @@ Notes:
194195
- In Local/BYOK connection modes, likely coding prompts in chat can auto-route to harness.
195196
- In ACP mode, auto-routing is intentionally off; use `/harness run ...` explicitly.
196197

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+
197254
## How the RLM Loop Works
198255

199256
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

Comments
 (0)