Skip to content

Rulvar API reference


Rulvar API reference

Packages

PackageDescription
@rulvar/anthropicRulvar first-class provider adapter over @anthropic-ai/sdk.
@rulvar/bridge-ai-sdkRulvar bridge adapter wrapping any Vercel AI SDK LanguageModelV4 as a ProviderAdapter.
@rulvar/cliRulvar shell: run/resume/runs/inspect/plan/kb commands, TUI progress, createServer, createWorker, OTel exporter.
@rulvar/compatrulvar frozen KeyDeriver profiles for hashVersions outside the support window (DEF-6); independently versioned.
@rulvar/coreRulvar core: L0 contracts, journal kernel, ctx primitives, agent runtime, model router, tool system, dynamic orchestrator, InMemory and JSONL stores, event stream.
@rulvar/effectsRulvar effect lane runtime: the adapter seam, provider capability matrix, reconciler, and the kill point conformance kit (rfcs/effects.md).
@rulvar/evalsRulvar evals: eval cases, golden outputs, rubric and judge graders, matrix sweeps, canary fingerprint.
@rulvar/executorRulvar isolated tool executors: reference ToolExecutorProvider adapters that run tool work out of process (subprocess and container) so hostile or model-generated scripts cannot reach host capabilities.
@rulvar/openaiRulvar first-class provider adapter for the OpenAI Responses API, plus the openaiCompatible factory.
@rulvar/planRulvar adaptive orchestration extension: PlanRunner, RunLedger, escalation extensions, ModelLadder configuration. Replans during the run; not the plan-writing hybrid mode, which is @rulvar/planner.
@rulvar/plannerRulvar flagship hybrid mode: plan agent, compileScript, WorkerSandboxRunner, self-repair loop. Plans before the run; not the PlanRunner orchestration extension, which is @rulvar/plan.
@rulvar/rulvarRulvar umbrella package: re-exports @rulvar/core, both first-class adapters, the file store, and the terminal progress renderer. Also installable through the unscoped alias package rulvar, which re-exports this one.
@rulvar/store-conformanceRulvar executable store conformance kit (DEF-4).
@rulvar/store-postgresRulvar PostgreSQL store implementing JournalStore and LeasableStore with a fencing epoch, for multi-process and multi-host deployments.
@rulvar/store-sqliteRulvar SQLite store implementing JournalStore and LeasableStore with a fencing epoch.
@rulvar/testingRulvar test harness: createTestEngine, FakeAdapter, VCR cassettes, replay-strict runs, matchers.
eslint-plugin-rulvarRulvar determinism lint rules with structural JSON diagnostics for the planner self-repair loop.