# Tarkova Docs > Documentation for Tarkova products. Curva turns any LLM into typed decisions with calibrated probabilities: you give it data and typed questions, and it returns typed answers with probabilities, never free text. It is free to use and runs on your own servers. - [Short guide for AI coding tools](https://docs.tarkova.com/curva-for-ai.md): install, every question type, agents, pictures, documents, errors - [Every page in one file](https://docs.tarkova.com/llms-full.txt) - [HTTP API schema](https://docs.tarkova.com/curva/openapi.json) - Any page as Markdown: add .md to its path - [Curva documentation](https://docs.tarkova.com/curva/) - [Crowkis documentation](https://www.crowkis.com/docs) (on crowkis.com) ## Start - [Getting started](https://docs.tarkova.com/curva/getting-started/): Install Curva with pip and make your first typed decision in three lines, with no server or config to set up. - [How Curva works](https://docs.tarkova.com/curva/how-it-works/): Why Curva exists, what it can do, and a 3D anatomy of one decision, layer by layer, with the numbers from a real run. - [Use Curva with an AI tool](https://docs.tarkova.com/curva/use-with-ai/): Give Curva's docs to Claude, Codex, Cursor or any AI coding tool, as one drop-in file, one full file, or Markdown for any page. ## Concepts - [Probabilities and calibration](https://docs.tarkova.com/curva/concepts/calibration/): What Curva's probabilities mean, why raw LLM confidence is overconfident, and how calibration on your feedback makes 0.9 mean right 90% of the time. - [Projects and configs](https://docs.tarkova.com/curva/concepts/projects/): Projects keep feedback and calibrators separate per use case; pinned configs fix the model and settings. Plus per-project models and privacy. - [Questions and answers](https://docs.tarkova.com/curva/concepts/questions/): The state and the typed questions of a Curva request: Choice, Score, Noul, Multi and extraction, and the probabilities each answer carries. - [Debiasing, escape and abstain](https://docs.tarkova.com/curva/concepts/trust/): How Curva keeps LLM answers stable and safe to automate: option-order debiasing, an escape option, abstain thresholds and prompt-injection hardening. ## Guides - [Actions: what happens after a decision](https://docs.tarkova.com/curva/guides/actions/): Fire an action when a decision holds: post to your webhook, Slack, Microsoft Teams, Discord or Telegram, with retries, a delivery log and replay. - [Agent frameworks](https://docs.tarkova.com/curva/guides/agent-frameworks/): Give an agent built with any framework Curva's tools in one line: typed decisions, a policy check before every tool call, and a screen on text coming in. - [AI agents](https://docs.tarkova.com/curva/guides/agents/): Give an AI agent Curva as a tool: typed answers with calibrated probabilities it can route on, and an abstain flag for when to hand over to a person. - [Airflow and Python pipelines](https://docs.tarkova.com/curva/guides/airflow-and-python-pipelines/): Run Curva over many records in Airflow or any Python pipeline, with curva map for files or AsyncCurva for in-process concurrency. - [Pipedream and any HTTP tool](https://docs.tarkova.com/curva/guides/any-http-tool/): Use Curva from Pipedream, Power Automate, Retool, Airtable or any webhook: one HTTP call to decide and one to send feedback. - [Ask files](https://docs.tarkova.com/curva/guides/ask-files/): Tell Curva what to look for in a Markdown file you can read and edit: a heading and a sentence per rule. It works for any camera, call or document, and edits apply while a stream runs. - [Batch files with curva map](https://docs.tarkova.com/curva/guides/batch/): curva map answers the same questions for every state in a JSONL file, streaming it within your rate limits, and can be stopped and resumed at any point. - [Boxes: where is it?](https://docs.tarkova.com/curva/guides/boxes/): Ask where something is in a picture: a Box question answers with the box around it, or null when it is not there, with a calibrated confidence. - [Conditional questions](https://docs.tarkova.com/curva/guides/conditional/): Add when to a Curva question and it is only asked when the state matches. Skipped questions are never sent to the model, stored or paid for. - [Dashboard](https://docs.tarkova.com/curva/guides/dashboard/): Curva's built-in read-only dashboard: decisions, spend and speed per day and per model, the decision log, calibration and drift. Open it with `curva dashboard`. - [Workflows in one call](https://docs.tarkova.com/curva/guides/dependencies/): Chain dependent questions with depends_on and Curva answers the whole graph in one request, each stage seeing the answers it depends on. - [Drift](https://docs.tarkova.com/curva/guides/drift/): Catch model and input drift: a weekly report of how one question's answers and confidence are distributed, flagging the week they moved. - [Camera answers on a device](https://docs.tarkova.com/curva/guides/edge-video/): curva pack writes a camera's trained yes/no heads into a vision pack; with the 153 MB encoder file, the curva-pack C library answers camera frames on a device with no network, the same answers the server gives, measured on a laptop build. - [Few-shot examples and explain](https://docs.tarkova.com/curva/guides/explain/): Improve Curva answers with up to 10 labeled few-shot examples per question, and use explain to see which parts of the state drove an answer. - [Extraction: text, numbers and integers](https://docs.tarkova.com/curva/guides/extraction/): Extract text, numbers and integers from documents with Curva: typed values checked against bounds, each with a calibrated confidence it is correct. - [Calibrate with feedback](https://docs.tarkova.com/curva/guides/feedback/): Send Curva the true answer whenever you learn it. From 30 labels per question it calibrates when that helps, so probabilities match accuracy on your data. - [Guaranteed accuracy](https://docs.tarkova.com/curva/guides/guaranteed-accuracy/): Set coverage on a question and Curva returns a prediction set guaranteed to contain the right answer at least that often, e.g. 95% of the time. - [Hard questions](https://docs.tarkova.com/curva/guides/hard-questions/): When an LLM keeps getting a question wrong: add few-shot examples, let it think step by step, or ask a council of models, from cheapest to most thorough. - [Images and recordings](https://docs.tarkova.com/curva/guides/images/): Send pictures and recordings with the state, by name. A vision or audio model judges them together with it; answers are typed and calibrated like any other decision. - [Any language](https://docs.tarkova.com/curva/guides/languages/): Curva decides in any language: the text, the questions and the answer options can each be in any language or script. What was tested, and the few limits to know. - [Learned answers](https://docs.tarkova.com/curva/guides/learned/): Curva learns a question from your labels and then answers it by itself, in microseconds and at no cost, only where it is as accurate as the model, and stops when new labels disagree. - [Library: documents, photos and recordings](https://docs.tarkova.com/curva/guides/library/): Put PDFs, text, photos and long videos in a library once; find passages, pictures and moments in milliseconds for free, and get typed answers that cite their page, picture or time. - [Loop: a task in steps](https://docs.tarkova.com/curva/guides/loop/): curva.loop runs a multi-step task on its own: at every step Curva decides which of your actions comes next, with a confidence, and stops instead of guessing when it is not sure. - [Make](https://docs.tarkova.com/curva/guides/make/): Call Curva from a Make scenario over HTTP and route bundles on its typed, calibrated answer with a Router. - [MCP server](https://docs.tarkova.com/curva/guides/mcp/): curva mcp gives any Model Context Protocol client seven tools: decide, route, check, guard, feedback, recipes and find. One command, no server to start first. - [Council, cascade and race](https://docs.tarkova.com/curva/guides/multi-model/): Use several LLMs in one Curva request: a fallback chain for outages, a council for fewer confident mistakes, a cascade for cost, a race for latency. - [n8n](https://docs.tarkova.com/curva/guides/n8n/): The n8n-nodes-curva community node routes each item by its typed answer, sends unsure ones to a Needs review branch, and feeds corrections back. - [Nodes: many places, one dashboard](https://docs.tarkova.com/curva/guides/nodes/): Use Curva in many places of one app: give each place a node name and the dashboard shows its decisions, spend and speed on their own. - [Learned answers on a phone](https://docs.tarkova.com/curva/guides/on-phone/): curva pack writes a project's learned answers and the text embedder into one 8 MB file; a C library under 1 MB answers from it on a phone with no network, in about 5 µs a text. - [OpenAPI spec](https://docs.tarkova.com/curva/guides/openapi/): Every Curva server serves an OpenAPI 3.1 spec at /openapi.json covering every route, option, question type and error, for codegen and tools. - [Your own fast model](https://docs.tarkova.com/curva/guides/own-model/): Train a small open model (1-8B) on your Curva traffic, serve it yourself and point Curva at it for faster, cheaper decisions, still calibrated. - [Promised accuracy](https://docs.tarkova.com/curva/guides/promise/): Tell Curva how often an answer it acts on must be right. It learns from your feedback how sure it has to be, and marks everything else unsure until it has the evidence. - [Model providers](https://docs.tarkova.com/curva/guides/providers/): Use OpenRouter, OpenAI-compatible APIs, Ollama, vLLM and more with Curva, alone or mixed, and what behaves differently from one provider to another. - [Signed receipts](https://docs.tarkova.com/curva/guides/receipts/): Every decision comes with a signed receipt that anyone can check offline with the server's public key, without trusting Curva's server or database. - [Recipes](https://docs.tarkova.com/curva/guides/recipes/): Ready-made Curva question packs with carefully worded instructions and options, built into the curva binary: copy one into a /v1/decide request. - [Curva Router](https://docs.tarkova.com/curva/guides/router/): Curva Router: an OpenAI-compatible chat endpoint that sends each request to the cheapest of your models that can answer it, falls back to your strong model when unsure, and keeps a conversation on one model. - [Route a prompt to the right model](https://docs.tarkova.com/curva/guides/routing/): Curva's built-in model router: curva.route() picks which of your models should answer a prompt, with a confidence, a default for unsure cases and feedback to improve it. - [Instant decisions with rules](https://docs.tarkova.com/curva/guides/rules/): Answer the easy cases you already know instantly with rules, no model call and no cost, and send everything else to the LLM as usual. - [Shadow mode](https://docs.tarkova.com/curva/guides/shadow/): Run Curva in shadow mode beside your current system to see how often it agrees and where it could safely take over, before you switch. - [Speed and cost](https://docs.tarkova.com/curva/guides/speed-and-cost/): Cut Curva's model calls, latency and cost with adaptive debiasing, the decision cache, cache-friendly configs, cascade and race, and local providers. - [Switch to Curva in 5 minutes](https://docs.tarkova.com/curva/guides/switching/): Move from parsing LLM text or another classification API to Curva in five minutes, and gain typed answers, calibration, abstain and an audit log. - [Curva Tune](https://docs.tarkova.com/curva/guides/tune/): Curva Tune searches models, modes and prompt setups on your labeled data and writes the best one as a ready-to-send request. - [TypeScript](https://docs.tarkova.com/curva/guides/typescript/): The Curva TypeScript SDK: a zero-dependency client using global fetch, for Node 18+, Deno, Bun and browsers. - [What you can build](https://docs.tarkova.com/curva/guides/use-cases/): 80 real problems Curva solves across 20 industries, from triage notes and card disputes to dock cameras, phone calls, contracts and agent guards: one snippet per kind of input and the latency measured on 24 and 27 October 2026. - [Video clips](https://docs.tarkova.com/curva/guides/video/): Send a recorded video clip with a decision: typed answers about the clip, each Box with the time it was seen. Gemini gets the clip itself; every other model gets frames labelled with their time plus the soundtrack. - [Voice calls](https://docs.tarkova.com/curva/guides/voice/): Curva listens to a live call and acts on it: stream the caller's audio, get typed decisions per utterance and actions such as warn_user or end_call within a deadline. Or decide from a transcript. A few lines in Python or TypeScript. - [Watch live video](https://docs.tarkova.com/curva/guides/watch/): Watch live video in one line: Curva drops unchanged frames, judges the changed ones with a vision model and fires your actions, with the time each step took. - [Zapier](https://docs.tarkova.com/curva/guides/zapier/): Call Curva from a Zapier Zap to route, tag or triage forms, emails, tickets and CRM records, then branch on the typed, calibrated answer. ## Reference - [CLI](https://docs.tarkova.com/curva/reference/cli/): The curva command-line reference: serve, keys, map, bench, shadow, tune, recipe, mcp and the other tools in the curva binary. - [HTTP API](https://docs.tarkova.com/curva/reference/http-api/): The Curva HTTP API reference: every /v1 route, request field, response field and error. v1 is frozen and only ever changes additively. - [Python SDK](https://docs.tarkova.com/curva/reference/python-sdk/): The Curva Python SDK reference (pip install curva-ai): clients, methods, async usage, question types, results and errors. ## Use cases - [Banking](https://docs.tarkova.com/curva/use-cases/banking/): 10 Banking use cases of Curva, each run on a real model, with what it answered. - [Cars and transport](https://docs.tarkova.com/curva/use-cases/cars-and-transport/): 5 Cars and transport use cases of Curva, each run on a real model, with what it answered. - [Cybersecurity](https://docs.tarkova.com/curva/use-cases/cybersecurity/): 6 Cybersecurity use cases of Curva, each run on a real model, with what it answered. - [Education](https://docs.tarkova.com/curva/use-cases/education/): 10 Education use cases of Curva, each run on a real model, with what it answered. - [Energy and utilities](https://docs.tarkova.com/curva/use-cases/energy-and-utilities/): 5 Energy and utilities use cases of Curva, each run on a real model, with what it answered. - [Farming](https://docs.tarkova.com/curva/use-cases/farming/): 5 Farming use cases of Curva, each run on a real model, with what it answered. - [Fintech and payments](https://docs.tarkova.com/curva/use-cases/fintech-and-payments/): 10 Fintech and payments use cases of Curva, each run on a real model, with what it answered. - [Government and public services](https://docs.tarkova.com/curva/use-cases/government-and-public-services/): 10 Government and public services use cases of Curva, each run on a real model, with what it answered. - [Healthcare](https://docs.tarkova.com/curva/use-cases/healthcare/): 10 Healthcare use cases of Curva, each run on a real model, with what it answered. - [Hiring and HR](https://docs.tarkova.com/curva/use-cases/hiring-and-hr/): 10 Hiring and HR use cases of Curva, each run on a real model, with what it answered. - [Hotels and hospitality](https://docs.tarkova.com/curva/use-cases/hotels-and-hospitality/): 10 Hotels and hospitality use cases of Curva, each run on a real model, with what it answered. - [Insurance](https://docs.tarkova.com/curva/use-cases/insurance/): 10 Insurance use cases of Curva, each run on a real model, with what it answered. - [Legal](https://docs.tarkova.com/curva/use-cases/legal/): 10 Legal use cases of Curva, each run on a real model, with what it answered. - [Logistics](https://docs.tarkova.com/curva/use-cases/logistics/): 6 Logistics use cases of Curva, each run on a real model, with what it answered. - [Manufacturing](https://docs.tarkova.com/curva/use-cases/manufacturing/): 6 Manufacturing use cases of Curva, each run on a real model, with what it answered. - [Media and publishing](https://docs.tarkova.com/curva/use-cases/media-and-publishing/): 6 Media and publishing use cases of Curva, each run on a real model, with what it answered. - [Nonprofits and community](https://docs.tarkova.com/curva/use-cases/nonprofits-and-community/): 10 Nonprofits and community use cases of Curva, each run on a real model, with what it answered. - [Online retail](https://docs.tarkova.com/curva/use-cases/online-retail/): 10 Online retail use cases of Curva, each run on a real model, with what it answered. - [Pharmacy and life sciences](https://docs.tarkova.com/curva/use-cases/pharmacy-and-life-sciences/): 10 Pharmacy and life sciences use cases of Curva, each run on a real model, with what it answered. - [Real estate](https://docs.tarkova.com/curva/use-cases/real-estate/): 10 Real estate use cases of Curva, each run on a real model, with what it answered. - [Restaurants and food delivery](https://docs.tarkova.com/curva/use-cases/restaurants-and-food-delivery/): 10 Restaurants and food delivery use cases of Curva, each run on a real model, with what it answered. - [Software and DevOps](https://docs.tarkova.com/curva/use-cases/software-and-devops/): 6 Software and DevOps use cases of Curva, each run on a real model, with what it answered. - [Telecom](https://docs.tarkova.com/curva/use-cases/telecom/): 5 Telecom use cases of Curva, each run on a real model, with what it answered. - [Travel and airlines](https://docs.tarkova.com/curva/use-cases/travel-and-airlines/): 10 Travel and airlines use cases of Curva, each run on a real model, with what it answered. ## Run it - [Benchmarks](https://docs.tarkova.com/curva/benchmarks/): Curva measured on public datasets and 40 real problems: text, pictures, video, live calls, PDFs, routing and learned answers, with accuracy, calibration, latency, cost, sample sizes and dates. - [Changelog](https://docs.tarkova.com/curva/changelog/): Every released version of Curva and what changed in it, through 0.3.1. - [Known limits](https://docs.tarkova.com/curva/known-limits/): Where Curva is weak today, measured, and what to do about each limit. - [Limits](https://docs.tarkova.com/curva/limits/): Every hard input limit in Curva, read from the code: request body, state, questions, pictures, PDFs, video, recordings, live calls and streams, uploads, ask files, MCP and packs, with the setting that changes each and the error you get. - [Models and versions](https://docs.tarkova.com/curva/models-and-versions/): Which model each Curva feature uses by default, how a pinned config and a named model keep answers from drifting, and what happens when a provider changes or retires a model. - [Scaling and capacity](https://docs.tarkova.com/curva/scaling/): How far one Curva server goes, thousands of decisions a second, what limits throughput, and how to grow past a single server. - [Self-hosting and production](https://docs.tarkova.com/curva/self-hosting/): Run Curva in production: one binary with embedded SQLite, Docker, API keys, HTTPS, audit log, privacy settings and Prometheus metrics. ## Legal - [License](https://docs.tarkova.com/curva/legal/license/): The Curva Free License: Curva is free to use for any purpose, including commercial use; its source code is not published.