Skip to content

CLI Overview

pdsa coaches an AI agent through Deming’s cycle and accumulates each step into a per-project graph DB. Run it with no arguments for full help; add --help to any command for its usage.

Terminal window
pdsa # full help
pdsa <command> --help
CommandPurpose
planEnter a plan → LLM sets a verifiable expected evaluation (starts a cycle)
doReport what you did → organizes Plan → Do
studyReport results → learning + verdict (met/partial/unmet)
actLearnings + reinforcement decision (closes the cycle)
statusRecent cycles + expectation hit-rate
evalPer-cycle expected / verdict / actual + hit-rate
recallRead back prior-cycle learnings (planning context)
projectSet / list / show / clear the active project
viewLocal graph viewer
configLLM key / model / provider / auth / language
checkVerify the LLM with a real round-trip
modelsList models the endpoint serves
initInstall the PDSA skill into a workspace
guideOne-off PDSA advice from the LLM
runRun the demo PDSA feedback cycle (Akka.Streams)
updateCheck the latest version and update (npm global)
versionVersion + runtime + stack
OptionEffect
--lang <en|ko|auto>Language for this invocation. See Language.
--project <name>Run this command against a specific project’s DB (per-command).
--jsonMachine-readable JSON instead of prose. Opt-in on plan/do/study/act/status/eval/recall. See For AI Agents.
--fullOn status/eval, print prose without the 70/90-char truncation.
--helpUsage for the command.
Global config : {LocalAppData}/pdsa-cli/openai.json
Graph DBs : {LocalAppData}/pdsa-cli/{project}/graph.kuzu
Repo secret : .secret/openai.json (optional, lowest LLM precedence)

Quotes and newlines inside your Plan/Do/Study text are stored via parameter binding — pass them as-is.