Skip to main content

Why QWEDLocal?

No backend server needed

  • Run verification directly in your application
  • No infrastructure to manage
  • Suitable for prototyping, scripts, and small projects

Local execution

  • Your API keys stay on your machine
  • Your data does not touch QWED servers
  • Useful for HIPAA, GDPR, and sensitive-data workloads

Model agnostic

  • Works with any supported LLM — OpenAI, Anthropic, Gemini
  • Works with local models via Ollama
  • Works with any OpenAI-compatible API

Deterministic caching

  • Cached results return without an LLM round-trip
  • Repeated queries skip the LLM call
  • Cache hits avoid network latency

Installation

Dependencies:

Quick start

Option 1: Ollama (no per-call cost)

Option 2: OpenAI

Option 3: Anthropic Claude


Verification engines

1. Math verification (SymPy)

2. Logic verification (Z3)

3. Code security (AST)

Dangerous code detection:

Deterministic caching

Caching avoids redundant LLM calls.
Cache stats:
Disable caching:

CLI tool

One-shot verification

Interactive mode

Cache management

Help


Cost comparison

Caching reduces repeated-query cost by skipping the LLM call.

Privacy and security

Local-only data flow

QWEDLocal architecture:
Use cases:
  • Healthcare (HIPAA compliance)
  • Finance (PCI-DSS compliance)
  • Government (classified data)
  • Privacy-focused applications

Advanced configuration

Custom cache settings

Environment variables

Quiet mode (no branding)


Examples

Example 1: fact-checking pipeline

Example 2: code review automation

Example 3: batch processing with cache


Troubleshooting

LLM not available

Missing dependencies

Cache issues


Learn more


Contributing

Contributions welcome. See the contributing guide.

License

Apache 2.0 — see LICENSE.

Support

If QWEDLocal saved you time or money, give us a star! ⭐ Made with 💜 by the QWED team