# Latent docs

How Latent scores each answer your model writes for hallucinations, how it learns your traffic, and where it runs.

Latent labels every answer your model gives, in milliseconds and with no human labelers, so you can post-train it on your own traffic. On hosted plans, Latent's own reader model reads each finished answer. When Latent runs in your environment beside an open-weight model on vLLM, it reads your model as it writes.

## Get started

- [Quickstart](https://runlatent.ai/docs/quickstart.md): Install the Python SDK, add one line at startup, and see your first scored answer.
- [Set up with your coding agent](https://runlatent.ai/docs/coding-agent.md): Add Latent to your project by pasting one prompt into Claude Code, Codex, Cursor or another coding agent.

## Integrations

- [Integrations](https://runlatent.ai/docs/integrations/index.md): Every way to send answers to Latent and every place Latent sends alerts, with the plans that include each one.
- [Alerts and integrations](https://runlatent.ai/docs/integrations/alerts.md): The rules that decide when Latent alerts, and how to send alerts to Slack, PagerDuty, email or your own webhook.

## Concepts

- [Scored answers](https://runlatent.ai/docs/concepts/scored-answer.md): What Latent returns for each finished LLM response (risk score, verdict, cut and audit event), where the riskiest sentence is marked, and how to send answers in-band or through the reader.
- [Failure standards](https://runlatent.ai/docs/concepts/failure-standards.md): The rules Latent's calibration judge applies to decide which of your answers count as hallucinations, the one hosted plans use, and how to choose and set one in your environment.
- [Calibration](https://runlatent.ai/docs/concepts/calibration.md): How Latent calibrates on your own answers: the schedule on each hosted plan, what a run does, how many answers it needs, and running one yourself in your environment.
- [Data and retention](https://runlatent.ai/docs/concepts/data.md): What Latent keeps on each hosted plan and for how long, and when it runs in your environment, how to set retention and redaction and exactly what leaves it.
- [Streaming and complete answers](https://runlatent.ai/docs/concepts/streaming.md): How Latent scores a streamed answer and a complete one, and what can act on the verdict in each case, hosted and in your environment.
- [Act on a flagged answer](https://runlatent.ai/docs/concepts/act-on-a-flagged-answer.md): What can happen to a flagged answer after Latent scores it, where each action runs (the gateway, the plugin, your code), how to set it on the Policy page, and which setup fits your deployment.

## Deployment

- [Deployment options](https://runlatent.ai/docs/deployment/options.md): Where Latent can run, what it installs, and what leaves your environment in each case.

Plans and pricing: https://runlatent.ai/pricing
Security: https://runlatent.ai/security
