Skip to content

Getting Started

github-actions[bot] edited this page Nov 18, 2026 · 1 revision

Generated from README.md by scripts/build-wiki.mjs. Edit that file, not this page: an edit here is overwritten by the next build, and a wiki that has drifted from the repository is worse than no wiki.

Getting started

Node.js 20 or newer. npx can download the package; local analysis requires no API key. Choose the task that matches the data you already have:

npx @trazum/cli bill ./usage-export.jsonl
npx @trazum/cli optimize ./prompt.txt --cost

The first reads recorded usage. The second estimates changes to a prompt; its projected savings are not a provider invoice. See the quick start for a reproducible example and next steps.

The first five minutes: trazum init

After your first report, optionally run npx @trazum/cli init in your project to inspect prompts and available usage, write a config and identify a finding. Read what init writes and refuses to overwrite.

CLI

Install with npm install -g @trazum/cli, or keep using npx. CLI examples and configuration cover token budgets, reports, CI and pricing overrides. Command reference.

The rest of the commands, in their own book

Find a command by task. trazum --help lists commands; trazum <command> --help explains its flags.

Web

Open the Playground to try sample files. For local development, run npm install, npm run build, then npm run dev:web. Web setup and API recipes.

Signing in (optional)

Accounts are disabled by default. Enabling them adds a saved prompt library and share links backed by the deployment operator's database. Account setup and data handling.

Deploying to Vercel

Deployment instructions, environment variables, and N0 deployment.

Library

Install @trazum/core to use analysis in your application. Library examples and package API.

Generated from README.md by scripts/build-wiki.mjs. Edit that file, not this page: an edit here is overwritten by the next build, and a wiki that has drifted from the repository is worse than no wiki.

Trazum

Clone this wiki locally