The Urai developer CLI (uraijs) — local development and CI for Urai tools,
workflows, and libraries.
npm install -g @uraiai/uraijs-cli
# or run without installing:
npx @uraiai/uraijs-cli --helpuraijs init my-tool # scaffold a tool
cd my-tool
uraijs dev --call greet # watch + hot-reload inner loop
uraijs schema # regenerate declarations.ts
uraijs test # run *.urai-test.json fixtures (CI gate)
uraijs secrets detect # list required secrets
uraijs lib link acme/x ../x # point urai:lib/acme/x at a local checkouturaijs --json <cmd> emits machine-readable output to stdout (chrome goes to
stderr); every command returns a meaningful exit code, so it drops straight into
CI.
- docs/cli.md — full command reference (init, dev, call,
schema, test, types, lib, workflow, eval) and the
urai.tomlmanifest. - docs/secrets.md — secrets & variables: how to provide
them (env / file / inline + precedence), how to read them in code
(
meta.secretsvs asyncurai:secrets),uraijs secrets detect, CI usage, and local-vs-production parity.