Commands
agent-commerce demo
Start the local stack with Docker Compose and run the buyer agent, stopping at the first failed step.
agent-commerce demoThis command runs the quickstart's Docker stack and buyer demo; it does not run doctor. Run it from the root of a repository clone, where docker-compose.yml and the demo:agent script live. It waits for services with health checks, then runs the buyer agent. It checks each step's exit code.
| Step | Command |
|---|---|
| Start the local stack: chain, merchant, gateway and dashboard | docker compose up --build --detach --wait |
| Run the deterministic buyer agent | npm run demo:agent |
$ agent-commerce demo
agent-commerce demo: starting the local stack, then running the buyer agent
==> Start the local stack: chain, merchant, gateway and dashboard (docker compose)
$ docker compose up --build --detach --wait
OK Start the local stack: chain, merchant, gateway and dashboard (docker compose)
==> Run the deterministic buyer agent
$ npm run demo:agent
OK Run the deterministic buyer agent
PASS Demo is up. Try: agent-commerce doctor --config config-demo.yamlA failing step stops the run, prints the tail of its error output and the exact command to retry by hand. Nothing further is run. See the Quickstart for the manual version.