Scan your whole stack
From OX Research Newsroom
Are you using vegaml?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.20.2
vegaml was last scanned on 29 Nov 2026 at version 0.20.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.20.2 LATEST | 29 Nov 2026 | No rules fired |
| 0.20.1 | 26 Nov 2026 | No rules fired |
| 0.20.0 | 25 Nov 2026 | No rules fired |
| 0.19.0 | 23 Nov 2026 | Not shown |
| 0.18.0 | 21 Nov 2026 | Not shown |
Findings for v0.20.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.20.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Cite this work. M, N.; M, A. From Laya to Vega: Open Non-Autoregressive Decision Models with Calibrated Probabilities. Preprints 2026, 2026110781. https://doi.org/10.20944/preprints202611.0781.v1
@article{m2026laya_vega,
title = {From Laya to Vega: Open Non-Autoregressive Decision Models with Calibrated Probabilities},
author = {M, N. and M, A.},
journal = {Preprints},
year = {2026},
pages = {2026110781},
doi = {10.20944/preprints202611.0781.v1},
url = {https://doi.org/10.20944/preprints202611.0781.v1}
}
pip install vegaml
import vegaml
v = vegaml.load() # the 0.8B reader; vegaml.load("4b") for the 4B
out = v.decide("Third notice. Pay the overdue invoice now.",
{"team": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "payments and invoices", "technical": "product faults"}}})
out["answers"]["team"]["choice"] # 'billing', with probs, a conformal set and abstain
vegaml is Apache 2.0: the decision engine, heads fitted on your labels, calibration, policies, images, audio, video and serving are free for any use, including commercial.
Continuous learning (a model that keeps learning from the answers your team confirms, or from a teacher model) is not part of this open package. It is available from Embedding Space under a commercial licence, and as the hosted vega Proxy at platform.embedding.in. Write to nandakishor@embedding.in or see embedding.in/licence.
v.decide(text), v.decide_image(img), v.decide_audio(wav) and v.decide_video(clip) give the same typed answers for each.abstain flag when it should not commit, and an unbound flag when the input sits far from every answer (likely off-distribution).vegaml.attach() connects your own.Hosted: the vega Proxy runs at platform.embedding.in, with 10,000 decisions a month free. Point your OpenAI or Anthropic client at it and it learns your decisions from your LLM, then answers the routine ones itself in about 50 ms.
The input becomes a particle in a small decision space where every candidate answer is a well. Where it settles, and how deep, is the answer and its probability.
abstain: the engine declines to commit. Its threshold is calibrated so that, among the answers it does give, the error rate stays under the configured risk (10% by default).prediction_set: the conformal set, every option the answer could still be at alpha 0.10. One option means it is sure; two or more means the input really is ambiguous.unbound: the particle settled far from every well, so the input looks unlike anything the engine knows (likely off-distribution). It is reported on every answer, but on its own it is a weak signal: measured, it also fired on 71% of normal banking77 rows, so route on abstain and the set, or on a fitted band.Continuous learning. 14 decision templates (31 questions), each starting from about 600 generated examples, then learning from confirmed answers; scored on 60 held-out rows per template.
| day one | after 40 confirmed answers | after 120 | |
|---|---|---|---|
| vega with continuous learning | 84.7% | 91.6% | 96.0% |
| Jev 1.14, confirmed answers written into its criteria | 89.5% | 91.5% | 92.6% |
Jev leads on day one (23 of 31 questions); they are level at 40; vega leads at 120 (12 wins, 7 losses, 12 ties). Jev cannot be taught, only prompted, and is a hosted API (364 ms a request from India).
What learning costs. 300 answers learned in 34 s on 8 CPU threads, with no GPU (0.72 s an answer, 6.4 GB of RAM; on a GPU 40 ms and 2 GB). Fine-tuning a 421M encoder on the same 300 rows takes 89 s on a GPU with 9 GB and rewrites every weight.
Learning from a stream, November 2026 (4B reader, held-out rows):
| vega | Jev 1.14 | |
|---|---|---|
| banking77, 924 held out, after 4,928 rows | 87.5%, ECE 0.028, 92.5% routed auto at 91.5% precision | 79.4% as shipped (ECE 0.078), 85.7% with examples |
| typed-decisions, 2,000 decisions, after 1,200 rows | 73.7%, ECE 0.031 | 74.7%, ECE 0.047 (level) |
vega-U across readers, one byte-identical engine, 50,676 held-out records: 0.8B 76.5%, 4B 79.1%, 27B 81.1%, ECE 0.010 to 0.021 (full board). New options: on 15 intents never trained on, the engine answers 59.7% zero-shot, which a fitted classifier cannot do at all.
Where it loses. Zero-shot on generic public suites, a large hosted model leads. As a prompt-injection gate on real traffic (ToxicChat, 1.8% attacks), Jev untaught catches 79.1% at 0.3% refused against 73.0% at 0.7% for a fitted head. On familiar labels with enough examples, a plain classifier on the same features matches or beats the engine; the engine's edge is cold start and new options.
Studio, from Embedding Space builds the starting set for your questions and runs it for you.
Typed decisions from a frozen language model and a small physics engine. You give it a state and a question whose answer type is fixed in advance; it returns a value your code can use directly: a choice, a 0 to 1 score, or the probability that a statement is true. Each carries a calibrated probability, a conformal answer set and an explicit abstain flag.
vega-U: one 14.3M engine, any frozen reader, from 0.8B to 27B · 73,728-token context · images · runs on your own hardware. No text is generated anywhere in the path.
The default model. Four frozen readers behind one byte-identical 14.3M engine; the readers marked "attached cold" were never part of the engine's training and scored highest anyway. The full per-source board, the method and the caveats are in docs/vega-u.md; the full per-source board is in the Benchmarks section below.
pip install vegaml
Inference on a single T4, end to end, in the browser.
Releases are cut by tagging vX.Y.Z: CI builds, checks the version matches the tag, and
publishes through PyPI Trusted Publishing, so no API token exists in this repository.
import vegaml
v = vegaml.load() # vega-U with the 0.8B reader: the default
# v = vegaml.load("4b") # vega-U with the Qwen3.5-4B reader, same engine, same interface
out = v.decide(
{"from": "billing@acme.com", "subject": "Invoice overdue", "body": "Third notice. Pay now."},
{"team": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "payments and invoices",
"technical": "product faults",
"sales": "new business"}},
"churn": {"type": "boolean", "instructions": "Is this customer at risk of leaving?",
"criteria": {"true": "shows intent to cancel", "false": "no such signal"}}})
print(out["answers"]["team"]["choice"]) # 'billing'
print(out["answers"]["team"]["probs"]) # calibrated, sums to 1
print(out["answers"]["churn"]["abstain"]) # False -> the engine stands behind it
Both questions are answered from one read of the state.
From 0.12, a base model the checkpoint ships no port for is something you attach yourself,
locally, with vegaml.attach. The engine is never retrained, the reader is never
fine-tuned, and none of the original training data is needed: the alignment is
self-supervised. The checkpoint's own root reader generates the shared-space target for any
text, so the port (what a port is: the vega-U section, next) is fitted from running both
readers over the same prompts, on text you bring.
The structure of the text file, and yes, the content can be almost anything:
| rule | what it means |
|---|---|
| one document per line | a line is one text: an email, a ticket, a review, a log, a contract, a chat transcript |
| plain text only | UTF-8, no labels, no headers, no JSON, no markup needed; attach never reads answers here |
| long documents stay on one line | replace newlines inside a document with spaces; blank lines are skipped |
| any length | a sentence to tens of thousands of tokens; include genuinely long lines if you will read long records |
| content: your domain | whatever your model will actually read in production; the languages your readers handle are fine |
| diverse beats big | 1,000 varied lines beat 10,000 near-duplicates; do not repeat one template |
"Can it be anything?" Almost: it needs no labels, no questions and no structure, because the alignment is self-supervised, the anchor reader generates the target for every line. The one thing that matters is that the lines look like your production traffic, since the port tunes to the corpus it is fitted on. The shipped starter corpus looks like this:
I was charged 320.00 twice for the booking system all week. Please refund the duplicate and confirm by email, or I will have to cancel the account.
Review: disappointed with the router. It looked fine out of the box but failed with an authentication loop on the second day, and support has not replied this morning.
Incident report, the north plant: at 06:40 the sensor on line 2 reported a blank screen. The shift lead paused the belt, cleared the jam, and production resumed at 07:05. No injuries.
Full incident timeline, for the record. <...a several-thousand-token document, still one line...>
import vegaml
# a synthetic starter corpus ships in the repo; swap in strings from YOUR domain
# (on Colab, fetch it first:
# !curl -sO https://raw.githubusercontent.com/NandhaKishorM/vegaml/main/examples/sample_attach_texts.txt
# and open "sample_attach_texts.txt")
texts = [t for t in open("examples/sample_attach_texts.txt") if t.strip()]
report = vegaml.attach(
"HuggingFaceTB/SmolLM2-1.7B-Instruct", # any instruction-tuned causal LM
texts=texts,
out_dir="vega-u-smollm2-1.7b",
)
print(report["ridge_cosines"]) # how faithfully the port landed
v = vegaml.load("vega-u-smollm2-1.7b") # same engine, byte for byte, new eyes
Three steps happen under that call:
load() reads like any shipped reader.What to bring, and what it costs:
max_len= caps prompt length if your texts are long and you want a
faster first fit.import json
# a labelled starter set ships next to the corpus: the question sheet plus
# 600 [state, labels] pairs, generated with ground-truth labels
# (on Colab:
# !curl -sO https://raw.githubusercontent.com/NandhaKishorM/vegaml/main/examples/sample_calibrate.json)
cal = json.load(open("examples/sample_calibrate.json"))
vegaml.calibrate("vega-u-smollm2-1.7b", cal["examples"], cal["questions"])
And then the attached, calibrated model answers exactly like the Quick start one:
v = vegaml.load("vega-u-smollm2-1.7b")
out = v.decide(
"The dishwasher stopped working this morning and now shows error E-114. "
"I already restarted it twice. Send a technician this week or refund me.",
cal["questions"]) # or any questions of your own
print(out["answers"]["complaint"]["boolean"]) # p(yes), high here
print(out["answers"]["category"]["choice"]) # 'technical'
print(out["answers"]["category"]["probs"]) # calibrated on YOUR examples, sums to 1
print(out["answers"]["urgency"]["score"]) # 0 to 4
print(out["answers"]["complaint"]["abstain"]) # False -> the engine stands behind it
sample_calibrate.json is also the format to copy for your own data: questions maps each
id to its definition, and every example is [state, {question_id: label}], the same shapes
Vega.fit takes:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.