Files
laya/docs/reference/agent.md
T
Maxfield Allison 3a250e3adc docs: add a Python API reference generated from docstrings (#283)
The Python API docstrings now have browsable pages under docs/reference/, rendered with mkdocstrings. Handler options keep signatures and multi-line Returns sections readable and put the constructor on the class page without changing the source. The Docs workflow also runs on laya/** so docstring changes rebuild the site.
2026-09-24 08:21:58 +05:30

329 B

Agent

laya.Agent loads one checkpoint and answers typed questions about a state. laya.load is a shortcut for Agent(...), and laya.RLAgent is an alias of Agent. ONNXAgent runs an exported ONNX model on CPU; import it from laya.onnx_agent.

::: laya.agent.Agent

::: laya.agent.load

::: laya.onnx_agent.ONNXAgent