Skip to content

API reference ​

TeXRA's core ships as two npm packages. These pages list every public export with its doc comment and declaration, generated from the source on each release of the site.

@texra-ai/harness ​

An embeddable agent runtime in Effect: run an agent from a Node program and consume its trace as a stream.

@texra-ai/llm ​

Model access: the model and provider catalogs, the route decision, the subscription sign-in flows, and one Model contract over every wire protocol.

Both packages are 0.x, so the API may change in any minor release. Install and usage guides are in each package's README on npm and GitHub.

If you have a Claude Max or Team plan, it includes monthly API credits you can spend through an Anthropic API key with these packages.