bots-garden/sidekickspublic Fork
⑂ release/v1.5.0
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
README.md · 19 lines · 822 Bmarkdown
Blame HistoryOpen raw

acp-trace

Drives one test agent over ACP with coder/acp-go-sdk and records every JSON-RPC line in a JSONL file ({"ms", "dir", "msg"}). Written for ADR 0001.

cd spikes/acp-trace
MM_BIN=/path/to/mm go run . -agent alice -out /tmp/alice.jsonl \
    -prompt "Bonjour, qui es-tu ?" -prompt "Merci"
Flag Meaning
-agent folder name under agents/
-prompt prompt to send, repeatable
-permission answer to permission requests: allow, reject or cancel
-cancel-after send session/cancel this long after the last prompt starts
-out trace file

The agent is started with scripts/agents.sh run, so the two-agents limit applies and the model is unloaded when the agent exits.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# acp-trace

Drives one test agent over ACP with [`coder/acp-go-sdk`](https://github.com/coder/acp-go-sdk) and records every JSON-RPC line in a JSONL file (`{"ms", "dir", "msg"}`). Written for [ADR 0001](../../docs/adr/0001-acp.md).

```bash
cd spikes/acp-trace
MM_BIN=/path/to/mm go run . -agent alice -out /tmp/alice.jsonl \
    -prompt "Bonjour, qui es-tu ?" -prompt "Merci"
```

| Flag | Meaning |
| --- | --- |
| `-agent` | folder name under `agents/` |
| `-prompt` | prompt to send, repeatable |
| `-permission` | answer to permission requests: `allow`, `reject` or `cancel` |
| `-cancel-after` | send `session/cancel` this long after the last prompt starts |
| `-out` | trace file |

The agent is started with `scripts/agents.sh run`, so the two-agents limit applies and the model is unloaded when the agent exits.