Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.pome.sh/llms.txt

Use this file to discover all available pages before exploring further.

CommandWhat it does
pome initScaffold scenarios/, examples/agents/, pome.config.json.
pome loginSign in via the browser; write a pme_… key to ~/.pome/credentials.json.
pome run <path>Run a scenario file (or every .md in a directory) against the bundled twin. Add --hosted for a cloud twin.
pome inspect latestPrint a human-readable report of the most recent run.
pome twin start <name>Start a standalone twin on a local port. Prints the base URL and bearer token.
pome twin resetReset standalone twin state.
pome twin statusShow the running standalone twin.
pome endpoints <name>List supported endpoints for a twin.
pome healthIn-process smoke check against the bundled GitHub twin.
pome versionPrint the CLI version.

Common flags on pome run

  • --agent <command> — the command pome should spawn as the agent.
  • --hosted — run against a cloud twin instead of in-process.
  • --artifacts-dir <dir> — where to write runs/. Defaults to ./runs.
  • --agent-model <name> — informational, recorded on hosted runs.

Env vars pome injects into your agent

VariableWhen
POME_TASKAlways. The scenario prompt.
POME_GITHUB_REST_URL, POME_GITHUB_MCP_URL, POME_GITHUB_TOKENGitHub twin.
POME_STRIPE_API_BASE, POME_STRIPE_API_KEYStripe twin.
POME_RUN_ID, POME_ARTIFACTS_DIRAlways. Use these to write per-run artifacts.
POME_PREFLIGHT=1Set during a dry-run pass. Your agent should no-op.

Exit codes

CodeMeaning
0All scenarios passed.
1At least one scenario scored below threshold.
2Twin or runner error (network, 5xx, twin spawn failed).
3Auth error (401/403). Re-run pome login.
4Quota exceeded.
5Usage error (bad flags, missing files).

Auth resolution order

  1. POME_API_KEY env var.
  2. ~/.pome/credentials.json written by pome login.
If neither is set, --hosted fails fast.