rulvar
An embeddable TypeScript engine for agent workflows that are durable, testable, and budget bounded. No server, no database, no control plane.
npm install @rulvar/rulvar
Replay, byte for byteEvery run journals to plain files or SQLite and replays deterministically; a completed LLM call is never paid for twice, and crashed runs resume where they stopped.
Test hermeticallyVCR cassettes record real model exchanges once and replay them in CI with zero live calls; a frozen catalog of 60 defect cassettes gates every commit of the engine itself.
Spend safelyHard per run USD ceilings with sub budgets, finalize reserves, and admission control: runs terminate cleanly under the ceiling, provably from the journal.
Learn per projectModelKnowledge keeps a git reviewed record of which models to trust per task class, with TTL decay, eval measured claims, and canary fingerprints for silent model swaps.