Skip to main content

vera-s1

Python package and Jev-compatible HTTP server for the vera System One decision models: vera-spark (~630M, compact) and vera-core (~2B, most accurate).

Give a vera model a state (text or JSON) and typed questions; it returns typed answers with calibrated probabilities in one forward pass. It never generates text.

pip install vera-s1            # add [fast] for flash-linear-attention (faster vera-core on GPU)
import vera

agent = vera.load("scar-ai/vera-spark")       # or "scar-ai/vera-core"
result = agent.predict(
    "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan.",
    {"department": {"type": "choice", "instructions": "Which department should handle this?",
                    "criteria": {"billing": "invoices, payments, refunds", "technical": "bugs, outages",
                                 "other": "everything else"}},
     "churn_risk": {"type": "noul", "instructions": "Does the user threaten to cancel or leave?"}})
print(result["answers"])

Question types: choice (2 to 255 options), score (2 to 10 ordered levels) and noul (yes/no probability).

HTTP server

vera-serve --model scar-ai/vera-core --port 8200
curl -s localhost:8200/v1/systemone -H 'Content-Type: application/json' -d '{
  "state": "I was charged twice. Please fix this ASAP.",
  "questions": {"billing": {"type": "noul", "instructions": "Is this ticket about billing?"}}}'

Same request and response shape as Jev's POST /v1/systemone. Binds 127.0.0.1 by default and has no authentication: put it behind your own gateway before exposing it.

Requires Python 3.10+ and transformers 5+. A GPU (CUDA or ROCm) is recommended; Apple MPS is not supported (CPU is used on Macs).

Metadata

Release files for vera-s1 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vera-s1 0.1.2
File Size Uploaded
vera_s1-0.1.2.tar.gz 23.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vera-s1 0.1.2
File Interpreter ABI Platform
vera_s1-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 47.0 kB

Release files / vera_s1-0.1.2.tar.gz

Download URL vera_s1-0.1.2.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9968a567bca1c4182ea1313034e52edacc3fbafacad25c0913b18992a15a7c15
BLAKE2b-256 checksum
How to use checksums
da3d2a65595e3d98201329cc467ba9e18a2b4b549146363b21c1373f82e5f63d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / vera_s1-0.1.2-py3-none-any.whl

Download URL vera_s1-0.1.2-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
760a34aa10c10515226c19d0864c10c91e9544d25b7d603a2bb3cc2702e5c4d1
BLAKE2b-256 checksum
How to use checksums
848051dc0e4d8fe2cd8d3b4d3659fd3702bd73138ff99d30b1533f20113ab05b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page