Skip to main content

vera-s1

Python package and Jev-compatible HTTP server for the vera System One decision models: vera-spark (~630M, compact), vera-core (~2B) and vera-core-2 (~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", "scar-ai/vera-core-2"
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.

By default a request is fitted to the model's trained budget: long option descriptions and questions are shortened and an oversized state keeps its head and tail. --no-caps (or VERA_NO_CAPS=1, or vera.load(..., no_caps=True)) reads every request whole instead. vera-core-2 always reads requests whole.

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.4

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.4
File Size Uploaded Provenance
vera_s1-0.1.4.tar.gz 29.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 61.2 kB

Release files / vera_s1-0.1.4.tar.gz

Download URL vera_s1-0.1.4.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cf04a99e6b7bf357d4ed686bdb7689660c3bd89b798cede8dd9ab2cf7d51d737
BLAKE2b-256 checksum
How to use checksums
45dccd9039d19cb6e8bb9b67ec1f3ca77c0987cb230bb4fa90236362c437539a
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.4-py3-none-any.whl

Download URL vera_s1-0.1.4-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9490e891c28864e8be0cbcf6cc20ce56f207950bf57254ce0a104fe39042f70c
BLAKE2b-256 checksum
How to use checksums
134eea94c9ac55612d4ec4a6fd0aa74675350da95a431b80616133a5c6adffc2
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}

Security for vera-s1 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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