cookbook/sdk/coding-agent-cli
Peter Steinberger 66a698207f
Some checks failed
Check / Cookbook and examples (push) Has been cancelled
chore: update TypeScript tooling
2026-05-04 01:54:17 +01:00
..
src feat: add standalone sdk examples 2026-04-30 01:03:02 +01:00
package.json chore: update TypeScript tooling 2026-05-04 01:54:17 +01:00
README.md feat: add standalone sdk examples 2026-04-30 01:03:02 +01:00
tsconfig.json feat: add standalone sdk examples 2026-04-30 01:03:02 +01:00

Coding Agent CLI

A small terminal app for running OpenClaw agents from a workspace.

One-shot prompts run immediately. If you omit the prompt, the CLI enters an interactive shell with slash commands for model selection, session switching, status, cancellation, and exit.

Getting Started

pnpm install
export OPENCLAW_GATEWAY=auto
pnpm dev -- "Explain this project"

Start interactive mode:

pnpm dev

Slash Commands

  • /help prints commands.
  • /model <model> sets a model override for future runs.
  • /session <key> switches the session key.
  • /status prints Gateway model/auth status.
  • /cancel cancels the active run.
  • /exit exits.