Get started with Auralogger — install auralogger-cli, init, send logs, fetch logs
Install auralogger-cli (npm) or auralogger (pip), run init from your app directory, set AURALOGGER_PROJECT_TOKEN and AURALOGGER_USER_SECRET, send logs with Auralog/AuraLog, fetch with auralogger get-logs and JSON filters. End-to-end agentic logging setup for Node.js, Next.js, Vite, and Python.
Get started One page: install -> init -> getting env values -> send logs -> fetch logs. Install - Python: pip install auralogger - Node: npm install auralogger-cli (or yarn add / pnpm add / bun add) - Verify CLI: - Python: auralogger --help - Node: npx auralogger-cli --help Init - Run from your app repo directory (the same folder that contains .env / .env.local). - Python: auralogger init - Node: npx auralogger-cli init - Init prints dotenv lines plus helper snippets and prompts only for missing values. Getting values - Open Projects -> your project -> Setup guide in the app to copy env keys. - Typical env lines: AURALOGGER_PROJECT_TOKEN="your-project-token" AURALOGGER_USER_SECRET="your-user-secret" AURALOGGER_PROJECT_SESSION="session-token-here" NEXT_PUBLIC_AURALOGGER_PROJECT_TOKEN="your-project-token" VITE_AURALOGGER_PROJECT_TOKEN="your-project-token" - Keep AURALOGGER_USER_SECRET server-only; never ship it to browser bundles. Send logs - Non-encrypted mode and encrypted mode are both documented. - Server helper uses project token; encrypted mode also uses AURALOGGER_USER_SECRET server-side. - Browser helper uses only public project token. - Node snippets include: src/lib/auralog/server-auralog.ts src/lib/auralog/client-auralog.ts - Python snippet includes auralog.py. - Usage examples show info / warn / error with optional location and metadata. Fetch logs - One invocation returns one page. - Start with: auralogger get-logs -maxcount 20 npx auralogger-cli get-logs -maxcount 20 - Filter examples: -type '["error","warn"]' -message '["timeout"]' -skip 20 -maxcount 30 -time --since '["10m"]' - maxcount is capped at 100 per page.