openseek run [options] TASK run one task headlessly; answer on stdout, progress on stderr
openseek serve JSONL command server (stdin: prompt/steer/cancel/compact)
openseek mcp list configured MCP servers and their tools
openseek sessions list|show <id>|compact <id> … manage durable sessionsmoon run . -- run [--api-key sk-...] [--model deepseek-flash] [--api-url https://api.deepseek.com/chat/completions] [--dir .] [--max-steps N] [--system-prompt-file prompt.md] [--system-prompt-addendum-file addendum.md] [--session session-id] [--session-root .openseek] "task text"printf '{"version":1,"input":{"base":"origin/main"}}' | openseek run --kind review --input-format json --result-file review.jsonmoon run . -- sessions list --session-root .openseek
moon run . -- sessions list --format=json --session-root .openseek
moon run . -- sessions show parser-fix --session-root .openseek
moon run . -- sessions compact parser-fix --file summary.txt --from 1 --to 120
moon run . -- sessions fork parser-fix --as parser-fix-retry{"command":"compact"}export DEEPSEEK=sk-...
moon run . -- run "run moon test and summarize the result"OPENSEEK_MODEL=deepseek-flash moon run . -- run "inspect the package docs"moon run . -- run --max-steps 200 "write tests, fix failures, and summarize"moon run . -- run --dir ../another-workspace "run moon test"moon run . -- run --session parser-fix "continue from the last run"for i in 1 2 3; do
git -C myproject worktree add --detach "$PWD/attempt_$i"
moon run . -- run --dir "attempt_$i" "fix the failing test" \
> "answer_$i.md" 2> "progress_$i.log" &
done
waitmoon test internal/openseek/options internal/openseek/setup internal/openseek/execution internal/openseek/run internal/openseek/serve internal/openseek/commands --target native