Metadata-Version: 2.4
Name: reflex-laya
Version: 0.1.0
Summary: Laya full-model sidecar for Reflex (tier 6): scores candidate agent actions in one forward pass.
Author: Saksham Sharma
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/1sakshm/reflex
Project-URL: Issues, https://github.com/1sakshm/reflex/issues
Keywords: ai,agents,llm,routing,system-1,reflex
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: laya
Requires-Dist: laya<0.4,>=0.3.28; extra == "laya"
Dynamic: license-file

# reflex-laya

[Laya](https://huggingface.co/convaiinnovations/laya) full-model sidecar for [Reflex](https://github.com/1sakshm/reflex). It scores an agent's candidate actions in one non-autoregressive forward pass, and batches decisions that share a state into a single pass.

```bash
pip install "reflex-laya[laya]"                 # installs laya + torch
reflex-laya --checkpoint english --device cpu   # http://127.0.0.1:7071
reflex-laya --mock                              # no Laya needed: lexical scorer, same API
```

Then in Reflex: `createReflex({ workload, backend: { type: "laya" } })`.

API: `POST /v1/score`, `POST /v1/score_batch`, `GET /healthz`. See the [backend contract](https://github.com/1sakshm/reflex/blob/main/docs/api.md#backends).
