Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

docs: add agent CLI usage

Jiayuan674a88c61e50
diff --git a/README.md b/README.md
index 00f5b4b982..27ae7934ac 100644
--- a/README.md
+++ b/README.md
@@ -19,9 +19,25 @@ pnpm install
pnpm dev
```
+## Agent CLI
+
+Use the agent module directly from the CLI for isolated testing.
+
+```bash
+pnpm agent:cli "hello"
+
+# Persist a session under ~/.super-multica/sessions/<id>/session.jsonl
+pnpm agent:cli --session demo "remember my name is Alice"
+pnpm agent:cli --session demo "what's my name?"
+
+# Override provider/model
+pnpm agent:cli --provider openai --model gpt-4o-mini "hi"
+```
+
## Scripts
- `pnpm dev` - Run in development mode
+- `pnpm agent:cli` - Run the agent CLI for module-level testing
- `pnpm build` - Build for production
- `pnpm start` - Run production build
- `pnpm typecheck` - Type check without emitting