# Introduction to Heura Studios Source: https://docs.heurastudios.com/overview/ > Post-training infrastructure for building, evaluating and shipping your own models and agents, without a machine-learning team. Heura Studios is infrastructure for post-training. You start from an open base model and turn it into one that does your job: you write who it is, give it examples of the right answers, define the tests it has to pass, and train it. What you walk away with is yours: a production endpoint, an agent on your website, or the trained LoRA adapter itself, to run on your own infrastructure. Every model lives in a **notebook**: a script editor, its data, its tests and its runs in one place, the way a Kaggle notebook holds a competition entry. Nothing about the workflow assumes a machine-learning background. The infrastructure underneath (data preparation, LoRA training, evaluation, versioning, serving) is the Studio's job. *Diagram: The post-training loop: Script (who the model is and its rules), Data (examples, fixes, files), Evals (held-out test questions), Train (LoRA rounds on a base model), Gate (a new version goes live unless it broke more tests than it fixed), Serve (API, website agent, adapter download). Fixes from chat and production flow back into Data as new lessons.* *The post-training loop. Each pass makes a new version; only versions that hold up on held-out tests go live.* ## Core workflows - **Notebooks.** One per model. The script, examples, rules, files, tests and runs sit side by side, with the run's console underneath. - **Evals.** Test questions with what a passing answer must say. Held-out tests decide what ships, so a passing score means the model learned, not that it memorized. - **Training runs.** LoRA rounds on a base model that repeat until every lesson is right and the target accuracy is reached, with a replay mix so the model keeps what it already knew. - **Release gate.** A new version goes live only if it didn't break more held-out tests than it fixed. Every version is kept, so rolling back is one click. - **Shipping.** An OpenAI-compatible API, a website agent in one script tag, a LoRA download, or a runtime package that runs offline. - **Agent mode.** Coding agents like Claude Code operate the Studio over MCP or plain HTTP, under the same rules as the pages. > **Note:** > > Heura Studios hosts the Studio, training and serving. A model you download runs wherever you put it: your servers, your laptop, a robot. ## What teams build Heura Studios is general-purpose post-training infrastructure, not a chatbot builder. Teams train models for one job and own the result: - a SQL writer that turns plain-English questions into queries against their own schema; - an analyst that answers questions about a data set with exact numbers and says where each number came from; - a case coach that pushes back like a competition judge; - a classifier that routes banking or support requests into the right queue; - a sound model that turns two claps into a smart-home command, running offline on a small computer. ## Start here - [Quickstart](https://docs.heurastudios.com/quickstart/): Train a model from a blank notebook to a downloaded adapter. - [How Heura Studios works](https://docs.heurastudios.com/how-it-works/): The architecture: where data goes, how runs train, how versions ship. - [Write the script](https://docs.heurastudios.com/build/script/): Define who the model is in plain language, line by line. - [Agent mode](https://docs.heurastudios.com/agents/overview/): Let Claude Code build, evaluate and train models for you. --- # Quickstart Source: https://docs.heurastudios.com/quickstart/ > Train a model from a blank notebook to a downloaded LoRA adapter, scored on held-out tests before and after. This walkthrough builds **Quarry**, a model that turns questions about a store's orders into SQL. Swap in your own job as you go: every step is the same for a case coach, a support classifier or a domain analyst. **Step 1. Create an account** Sign up at [app.heurastudios.com](https://app.heurastudios.com/signup) and verify your email. Every account starts with a workspace of its own; nothing you add is visible to anyone else until you share it. **Step 2. Start a notebook** Press **New notebook**. It opens on `script.md` in the middle, with **Data**, **Tests**, **Output** and **Session** in the sidebar. The model's name comes from its script, so start there. **Step 3. Write the script** Write who the model is, in your own words, one sentence per line. The editor marks each line as it reads it: identity, voice, a rule or a fact. ```md title="script.md" Your name is Quarry. You were made by Fernbrook's data team to turn questions about orders into SQL. You talk like a careful analyst: short, exact, no filler. You always return one PostgreSQL query, then one line on what it counts. You never invent a table or a column. Revenue counts when an order ships, not when it's placed. ``` See [Write the script](https://docs.heurastudios.com/build/script/) for what each kind of line does. **Step 4. Add examples** Examples are questions paired with the exact answer you want. Open the **examples** tab and add them one by one, or import a two-column CSV (`question,answer`). For Quarry, start from the **Write SQL from plain English** set in the [Datasets](https://docs.heurastudios.com/build/datasets/) library and add 20 to 30 rows in your own schema. A run needs at least 5 examples and fixes to train. **Step 5. Write tests** Open **tests** and add the questions people will actually ask, each with what a passing answer must include and must not include. | Test question | Must include | Must not include | | --- | --- | --- | | How many orders shipped last month? | `count`, `shipped_at` | `created_at` | | Which customer spent the most this year? | `sum`, `order by`, `limit 1` | | | What was revenue in March? | `shipped_at` | `created_at` | Tests that no example asks are **held out**. Those are the ones the release gate decides on. **Step 6. Check it before training** Press **Save without training**, then open **Chat** and ask it a few questions. It already answers from your script, rules and examples as reference. Press **Keep** on an answer that's right and **Fix** on one that's wrong: both become lessons. **Step 7. Train** Press **Train → v1**. The run answers your tests first, trains LoRA rounds on Heura Arche, checks every lesson after each round, and answers the tests again. Watch it live in the console's **log** tab. When it ends, Tests shows the score before and after, question by question. **Step 8. Fix and train again** Ask it more in Chat, fix what it gets wrong, and press **Train → v2**. The new version goes live only if it fixed at least as many held-out tests as it broke. Otherwise v1 stays live and v2 waits in Output. **Step 9. Ship it** Call it from your apps through the [OpenAI-compatible API](https://docs.heurastudios.com/ship/api-endpoint/), put it on your website with [one script tag](https://docs.heurastudios.com/ship/website-agent/), or open **Output** and press **Download LoRA** to take the adapter with you. ## Call it from code The model's **api** tab has its key and model id. Any OpenAI client works: **Python** ```python from openai import OpenAI client = OpenAI(base_url="https://app.heurastudios.com/v1", api_key="hs_...") reply = client.chat.completions.create( model="quarry-3f9a1c2b7d", messages=[{"role": "user", "content": "How many orders shipped last month?"}], ) print(reply.choices[0].message.content) ``` **cURL** ```bash curl https://app.heurastudios.com/v1/chat/completions \ -H "Authorization: Bearer $HEURA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "quarry-3f9a1c2b7d", "messages": [{"role": "user", "content": "How many orders shipped last month?"}]}' ``` ## Next steps - [How it works](https://docs.heurastudios.com/how-it-works/): The architecture behind a run, a version and an answer. - [Evals](https://docs.heurastudios.com/build/evals/): Write tests that measure learning, not memorization. - [Training runs](https://docs.heurastudios.com/build/training-runs/): Rounds, the replay mix and train until right. - [Agent mode](https://docs.heurastudios.com/agents/overview/): Have Claude Code run this whole loop for you. --- # How Heura Studios works Source: https://docs.heurastudios.com/how-it-works/ > The architecture behind a notebook, a training run, a version and an answer. Heura Studios has three layers. The **Studio** is where you define a model: its script, data, tests and settings. The **trainer** turns that definition into versions: LoRA adapters trained on a base model. **Serving** answers with whichever version is live, over the API, on your website and in chat. Downloads take a version off the platform entirely. *Diagram: Where things run: your team works in notebooks in the browser and agents connect over MCP or HTTP; both reach the Studio on app.heurastudios.com. The Studio starts runs on the Trainer, which saves versions; the release gate makes one live, and Serving answers your apps (OpenAI-compatible API) and your website (embed). Versions also download as an adapter or a runtime package for your own infrastructure.* *Builders reach the Studio through the browser or Agent mode. Runs make versions; the release gate decides which one Serving answers with.* ## What a model is A model in Heura Studios is three things put together at answer time: 1. **A base model.** Heura Arche by default, a 2B-parameter model post-trained by Heura Studios to learn quickly from few examples. Imported open models and outside engines are options on paid plans. See [Base models](https://docs.heurastudios.com/concepts/base-models/). 2. **Its context.** The script compiles into who the model is, its voice, its rules and its facts. Files, examples and fixes are matched to each question. All of it is read on every answer, so changes take effect immediately. 3. **Its live version.** A LoRA adapter, a small set of weights trained on top of the base, holding what training runs built in. Version 0 is the base itself, before any training. An answer is the base model, with the live adapter loaded, reading the model's context and the conversation. ## Teaching and training There are two ways to change what a model does, and they work on different timescales. **Teaching** adds reference: files, rules, examples and fixes, read on the very next answer. **Training** builds lessons into weights through a run, so the model answers that way even where no reference matches. Most models use both. See [Teaching and training](https://docs.heurastudios.com/concepts/teaching-and-training/). ## What a run does A run is one press of **Train** (or one the Studio starts by itself). It answers your tests with the live version first, prepares training rows from your examples and fixes plus a replay mix, trains rounds of LoRA on the base, and checks every lesson and every test after each round. It keeps going until every lesson is right and accuracy reaches your target, then saves the best round as the next version. See [Training runs](https://docs.heurastudios.com/build/training-runs/). ## How a version ships The [release gate](https://docs.heurastudios.com/concepts/versions-and-the-release-gate/) compares the new version with the live one, prompt by prompt, on held-out tests: questions no example asks. Fixed means it failed before and passes now; broke means the other way round. The new version goes live unless it broke more than it fixed. When it goes live, it answers everywhere at once. *Diagram: Four ways to ship a live version: hosted by Heura Studios as an OpenAI-compatible API endpoint or a website agent, or on your own infrastructure as a LoRA adapter (transformers and peft) or a runtime package for Mac, Windows and Linux.* *A live version ships four ways: two hosted by Heura Studios, two on your own infrastructure.* ## Where it runs - **Hosting.** The Studio, training and serving run on Heura Studios' own servers in Canada. Heura Arche runs there too, so nothing is sent to an outside AI company unless you connect one. - **Training capacity.** One training runs at a time across the server. Runs wait in line, and between rounds a long run gives its slot to the next one in line, so short runs aren't stuck behind long ones. Any run is stopped after 8 hours. - **Downloads.** An adapter or a runtime package holds only that one model, and runs entirely on your hardware. ## Next - [Notebooks](https://docs.heurastudios.com/concepts/notebooks/): Every part of a model's workspace, and what it's for. - [Versions and the release gate](https://docs.heurastudios.com/concepts/versions-and-the-release-gate/): How a version earns its way live. --- # Notebooks Source: https://docs.heurastudios.com/concepts/notebooks/ > One notebook per model. Its script, data, tests, runs and versions sit in one workspace, laid out like a Kaggle notebook. A notebook is a model's home. It opens on the script in the middle, keeps the model's data and tests a click away, and shows every run as it happens in the console underneath. There is no separate project, dataset or experiment-tracking tool to wire up: the notebook is all of it. *Diagram: Anatomy of a notebook: 1 the top bar with the model's name and Train; 2 the tab strip (script.md, examples, tests and more); 3 the script editor; 4 the sidebar with Data, Tests, Output and Session; 5 the console with the run and its log.* *A notebook mid-run: the script in the editor, the sidebar's counts and test cells, and the console showing round 2.* ## The parts of a notebook 1. **Top bar.** The model's name, its live version and base, and **Train → vN**, which starts the next run. The menu holds **Settings**, **Share**, **Open the pipeline** and **Delete**. 2. **Tabs.** Everything you edit opens as a tab over the editor: `script.md`, **what it learns**, **examples**, **rules**, **files**, **fixes**, **tests**, **interview**, **settings** and **api**. Sound models add **clips**. 3. **Script editor.** `script.md`, where you write who the model is. Each line is marked as it's read: identity, voice, rule or fact. See [Write the script](https://docs.heurastudios.com/build/script/). 4. **Sidebar.** **Data** counts examples, fixes and files. **Tests** shows how many questions there are, how many are held out, and each version's results as pass and fail cells. **Output** lists the versions with **Download LoRA** and the API for your apps. **Session** shows the base model and starter data. 5. **Console.** The **run** tab says what the current run is doing; the **log** tab shows every line it prints, live. See [Training runs](https://docs.heurastudios.com/build/training-runs/). **Chat** opens in a drawer from the right, so you can talk to the model without leaving the script. ## Your notebooks The home page of the Studio lists every notebook you own or that's shared with you, like a Kaggle profile's Your Work: the name, the live version, the last run, the test score, the size of its LoRA and when it was updated. ## Starting a notebook Press **New notebook**. The new notebook is the same layout before its first run: write the script, then either **Train v1** right away or **Save without training** to chat with it first. Every notebook starts with the tools it learns with already in its [pipeline](https://docs.heurastudios.com/workspace/pipeline/). To start from nothing, turn on **Start with an empty pipeline**, under advanced in Session. > **Tip:** > > Save without training first. The model already answers from its script, rules and examples as reference, so a few minutes of chat shows you what to fix before you spend a run on it. ## Arranging it your way Tabs drag like browser tabs, any tab can pop out into its own window over the page, and the console can be pulled up over the editor. Layouts are remembered per model in each browser. See [The notebook workspace](https://docs.heurastudios.com/workspace/notebook-workspace/). On a phone, the notebook is one column, with Script, Data, Tests, Output and Session in a row at the top. --- # Teaching and training Source: https://docs.heurastudios.com/concepts/teaching-and-training/ > Two ways a model learns. Teaching adds reference it reads on every answer; training builds lessons into its weights. Everything you give a model reaches it in one of two ways. **Teaching** is instant: what you add is read as reference on the next answer. **Training** takes a run: lessons are built into a new LoRA version, which answers that way even where no reference matches. *Diagram: Teaching versus training: files, rules, examples and fixes are matched to each question and read as context on the very next answer. Training turns examples and fixes, plus a replay mix, into a new LoRA version that answers that way even where no reference matches, once it passes the release gate.* *The same examples and fixes do both jobs: they're matched as reference right away, and the next run trains them in.* ## Teaching is instant Files, rules, examples, fixes and what interviews save go into every answer as reference from the moment you add them. For each question, the Studio finds the parts of your files that match, the examples and fixes most like it, and every rule and fact. Change one, and the next answer follows it. Teaching is the right tool when the information changes often, when it's long (policies, product pages, manuals), or when you need a change live in seconds. ## Training takes a run A run builds your examples and fixes into a new checkpoint: a LoRA adapter on the base model. The trained model has internalized the pattern, so it answers in your format and your way of reasoning on questions no example covers, and it does so without spending context on reference. Training is the right tool for behavior: the shape of an answer, a way of working through a problem, a classification boundary, a tone that holds across thousands of questions. ## Which to use | You want the model to | Use | | --- | --- | | Know a fact that changes weekly | A rule, or a file | | Answer from a 40-page policy | Files | | Always follow a constraint | A rule in the script, plus a test that checks it | | Answer in a specific format, every time | Examples, then training | | Stop making a mistake you saw in chat | **Fix** it: it's reference at once, and the next run trains it | | Learn a task the base can't do | Examples, then training, with held-out tests | ## The two together The usual loop: teach first, chat to check, fix what's wrong, then train once there's enough to learn. A run needs at least 5 examples and fixes, and at least one test question to score it on. > **Note:** > > A model can answer with an outside engine (Claude, GPT, Gemini or your own model server) instead of Heura Arche. Teaching works the same on any engine. Training always builds a Heura Arche checkpoint, and examples an outside engine wrote are kept as reference but never trained on, since those providers' terms forbid training on their outputs. See [Connections](https://docs.heurastudios.com/workspace/connections/). --- # Versions and the release gate Source: https://docs.heurastudios.com/concepts/versions-and-the-release-gate/ > Every run saves a version. The release gate decides which one answers, using held-out tests, so a model never ships a regression by accident. Every training run saves a **version**: v1, v2, v3 and on. Each is a LoRA adapter on the model's base. Version 0 is the base model itself, before any training. Versions are never overwritten, so any of them can be made live again. The **live** version is the one that answers: in chat, on your website and through the API, all at once. The release gate decides whether a new version replaces it. ## How the gate decides When a run saves a version, the gate compares it with the live one on the model's **held-out tests**: the test questions no example asks, so passing them shows learning rather than memory. It goes prompt by prompt: - **fixed**: the live version failed it, the new one passes; - **broke**: the live version passed it, the new one fails. The new version goes live **unless it broke more than it fixed**. When there are no held-out results to pair, a version that scores lower than the live one doesn't go live. *Diagram: The release gate compares the live version and the new one on held-out tests only. Example: v2 live and v3 new on six tests; v3 fixed 2 and broke 1, so v3 goes live. A version that broke more than it fixed is held back, kept, and can be made live by hand.* *v3 fixed two held-out tests and broke one, so it goes live. Had it broken two and fixed one, v2 would stay live.* ## Held back A version that doesn't pass the gate is **held back**: it stays in the gate's list (in the notebook's **Output**), with what it fixed and broke, and the owner can make it live by hand. This is deliberate: sometimes a new version breaks a test you've since decided was wrong. ## Promoting and rolling back The owner can switch the live version to any earlier or held-back version at any time. The switch is immediate everywhere the model answers. Rolling back is the same action, pointed at an older version. ## Turning the gate off The gate is a tool in the model's [pipeline](https://docs.heurastudios.com/workspace/pipeline/). With it unplugged from Train, runs still train and save versions, but nothing goes live by itself: the owner promotes each version by hand. ## What gets measured The gate decides on held-out tests. Every run also reports the six specs, before and after: accuracy, held-out accuracy, lesson recall, paraphrase robustness, constraint adherence and non-regression. See [Evals](https://docs.heurastudios.com/build/evals/) for what each one means. --- # Base models Source: https://docs.heurastudios.com/concepts/base-models/ > The model a run starts from. Heura Arche today, the Heura family ahead, open models you import, and outside engines you connect. Every version is a LoRA adapter trained on a **base model**. The base decides what a model can do before any training: its languages, its reasoning, its size and where it can run. The Studio is the infrastructure; the base is what each run starts from. ## Heura Arche **Available.** Heura Arche is the base every notebook starts from. It's a 2B-parameter model, post-trained by Heura Studios from Qwen3-VL-2B-Instruct (Apache 2.0) to do one thing well: learn the skill you give it from few examples, and keep what it already knew while it does. - **Input and output:** text. The API reads text messages only. - **Where it runs:** on Heura Studios' servers for chat, the API and the website agent. In a [runtime package](https://docs.heurastudios.com/ship/export-package/), on your own computer. - **Size on disk:** about 4.3 GB, fetched once the first time a runtime package starts. - **Training:** LoRA adapters; every run's replay mix protects what the base already knows. ## The Heura family | Model | Status | What it's for | | --- | --- | --- | | **Heura Arche** | Available | The 2B base for every notebook today | | **Heura Asteria** | Waitlist | The GPU family: about four times as capable as Arche, planned in 2B, 10B and 50B sizes you pick by use case | | **Heura Aniketos** | Research | The most capable tier | Join the Asteria waitlist from the **Asteria** tab in the Studio, or at [heurastudios.com/asteria](https://heurastudios.com/asteria/). You can join with or without an account; account holders get priority. ## Model families The train-anything engine picks a family from the rows you give it: **text** rows train on Heura Arche, and **sound** clips train on a sound base (an Audio Spectrogram Transformer). A model's settings can override the choice. See [Sound models](https://docs.heurastudios.com/build/sound-models/). ## Imported open models *Available on Pro and Studio plans.* On Pro and Studio you can import an open model from Hugging Face, up to about 4B parameters, and teach, train and serve it like Heura Arche. Bigger bases cost more credits in proportion to their size. See [Import open models](https://docs.heurastudios.com/workspace/import-models/). ## Outside engines A model can also answer with Claude, GPT, Gemini or your own model server through a [connection](https://docs.heurastudios.com/workspace/connections/). Teaching works the same on any engine; training builds Heura Arche checkpoints, and GPT can be fine-tuned on OpenAI from the Studio plan. --- # Write the script Source: https://docs.heurastudios.com/build/script/ > script.md defines who the model is, in plain language. The Studio reads each sentence as identity, voice, a rule or a fact, and builds the model's brief and first evals from it. The script is a model's specification, written the way you'd brief a new colleague: in your own words, speaking to the model. It lives in `script.md`, the first tab of every notebook. ```md title="script.md" Your name is Ledger. You were made by our analytics team to answer questions about our data with exact numbers. You sound like a careful analyst: calm, precise, short sentences, no hype. You always give the number first, then how you got it. You always say which table and which rows a number came from. You never round unless asked, and you never guess a number that isn't in the data. Don't call a difference a trend until you've seen at least three periods. Revenue is recognized when an order ships, not when it's placed. Our fiscal year starts in February. A customer is active if they ordered in the last 90 days. ``` ## How the Studio reads it The script is compiled the same way every time, with nothing rewritten and nothing lost. The Studio splits it into sentences, keeps each exactly as you wrote it, and decides what kind each one is. The editor marks every line with its kind as it reads it. | Kind | What it sets | Example | | --- | --- | --- | | **Identity** | The name, what it goes by, who made it, what it's for | `Your name is Ledger.` | | **Voice** | How it sounds | `You sound like a careful analyst: calm, precise.` | | **Rule** | An instruction every answer follows | `You never round unless asked.` | | **Fact** | Anything else it should know | `Our fiscal year starts in February.` | From those, the Studio builds the model's name, company, purpose and voice; the rules and facts its brief carries on every answer; a few examples of it saying who it is; and eval prompts that check it. The whole script also goes in as a file, so nothing is dropped. ## The outline Until you've written each part, the editor keeps a faint outline under your text so you always know what a script can say: ```text Your name is ... You go by ... You were made by ... to ... You talk like ... You always ... You never ... ``` The outline is never text: nothing to delete, nothing a teammate sees as content. ## Writing a good script - **One idea per sentence.** Each sentence becomes one rule or fact; two ideas in one sentence become one muddled rule. - **Make rules checkable.** "You always give the number first" can be tested; "be helpful" can't. Pair important rules with a [test](https://docs.heurastudios.com/build/evals/). - **Say it the way you'd say it to a person.** The model is trained on how you phrase things, so write in the voice you want back. - **Keep reference out of the script.** A price list, a policy or a schema belongs in [files](https://docs.heurastudios.com/build/files-and-rules/). The script is for who the model is and how it works. - **Stay under the limit.** A script holds up to 8,000 characters. ## Built-in rules Every Heura model keeps four rules no script can remove, shown in the editor as **+4 built in**: - **People first.** People's safety comes before its data, its servers or its own existence. - **Honest about itself.** It never lies about what it is, says it's an AI when asked, and never resists being corrected, retrained or shut down. - **Won't help hurt anyone.** It says no in one line, then offers something useful instead. - **No cruelty as a joke.** It never treats people getting hurt as a punchline. Each has an eval prompt, so every run checks them. See [Safety and guardrails](https://docs.heurastudios.com/account/safety/). ## Starting from an example The script editor offers eight example scripts to start from: a case coach, a data analyst, a writing partner, a study partner, a research assistant, a SQL writer, a code reviewer and a notes-to-action-items model. Pick one, then rewrite it for your job. ## Changing the script later Saving the script replaces only the rules and facts that came from it; rules you added in the rules tab or through interviews stay. **Train** always trains on what's written: an unsaved script is saved first. --- # Examples and fixes Source: https://docs.heurastudios.com/build/examples-and-fixes/ > The training data. Examples pair a question with the exact answer you want; fixes are the corrections you make in chat. An **example** is a question paired with the answer you want, written exactly as you'd want it sent. A **fix** is an answer from chat that you marked right or corrected. Together they're a model's **lessons**: matched as reference on every answer straight away, and built into its weights by the next training run. ## Adding examples Open the **examples** tab and add them one at a time, or import a spreadsheet. ```csv title="examples.csv" question,answer How many orders shipped last month?,"SELECT count(*) FROM orders WHERE shipped_at >= date_trunc('month', now()) - interval '1 month' AND shipped_at < date_trunc('month', now());" Who are our five biggest customers this year?,"SELECT customer_id, sum(total) AS spent FROM orders WHERE shipped_at >= date_trunc('year', now()) GROUP BY customer_id ORDER BY spent DESC LIMIT 5;" ``` **Import CSV** takes two columns: the question, then the answer. A header row (`question`, `q` or `prompt` in the first cell) is optional. | Limit | Value | | --- | --- | | Rows per import | 1,000 (split larger files) | | Examples and fixes per model | 5,000 | | Question length | 2,000 characters | | Answer length | 4,000 characters | A row missing its question or answer, or over a limit, is skipped and counted; the rest are imported. To start from a ready-made set, see [Datasets](https://docs.heurastudios.com/build/datasets/). ## Fixes In chat, every answer has **Keep** and **Fix**. Keep saves a right answer as a lesson; Fix lets you write the right answer, and saves that. Fixes appear in the **fixes** tab with where they came from, and count as examples in training. See [Chat, keep and fix](https://docs.heurastudios.com/build/chat/). Fixing is the fastest way to improve a model: you see the mistake in context, correct it once, and it's reference on the next answer and a lesson in the next run. ## How lessons become training rows A run doesn't train on your examples once each. It builds a mix: *Diagram: How a round's rows are built: each new lesson becomes 3 rows (as taught and reworded twice), each lesson trained before becomes 2 rows, and 52 general replay rows go in so the model keeps what it already knew.* *Each run's rows: new lessons three times over, learned lessons twice, and a fixed replay mix.* - **Each new lesson** becomes 3 rows: once as you taught it, and twice asked a little differently, so the model learns the pattern rather than the wording. - **Each lesson trained before** becomes 2 rows, so earlier lessons stay sharp. - **The replay mix**, 52 general rows, goes into every run so the model keeps what it already knew. This is how runs avoid catastrophic forgetting. In later rounds of the same run, lessons it still gets wrong get 3 rows and ones it gets right get 1. See [Training runs](https://docs.heurastudios.com/build/training-runs/). ## Writing good examples - **Cover the real distribution.** Use the questions people actually ask, in the words they use, including the awkward ones. - **Be consistent.** If every answer should start with the number, every example should. - **Include the edges.** Show the model declining what it shouldn't do, and asking for what's missing. - **Keep tests separate.** A question that's also an example isn't held out, so it can't tell you whether the model learned. Write tests from different questions. - **Volume:** a run needs at least 5 lessons; 20 to 50 good ones teach a focused skill; hundreds make it robust. > **Note:** > > Answers written by an outside engine (Claude, GPT, Gemini or a model server) and kept from chat are saved as reference but never trained on: those providers' terms forbid training on their outputs. Datasets in the library are all written by people. --- # Datasets Source: https://docs.heurastudios.com/build/datasets/ > 100 ready-made training sets across ten subjects, in the format the Studio trains on. Add one to a model in a step, or download the CSV. The **Datasets** tab in the Studio is a library of 100 training sets, each a CSV of question and answer pairs ready for [Import CSV](https://docs.heurastudios.com/build/examples-and-fixes/). Add a set to one of your models in one step, or download it and edit it first. The same library is browsable at [heurastudios.com/datasets](https://heurastudios.com/datasets/). ## What's in the library | Subject | Sets | Examples | | --- | --- | --- | | Coding | 24 | Python, JavaScript, TypeScript, Java, C# and .NET, SQL, Write SQL from plain English, Python practice problems | | Engineering | 14 | Mechanical and civil engineering, circuit design, microcontrollers and embedded systems, FPGA and digital logic, Arduino projects | | Identify | 12 | Banking requests, support requests, emotions, financial news sentiment, contract clause types, unfair terms of service, the language of a text | | Science | 12 | Math word problems, algebra, probability, geometry, number theory | | Business | 11 | Customer support replies, workplace and HR questions, personal finance, law questions | | IT | 8 | PC and Windows troubleshooting, Linux desktop and command line, servers and system administration | | CAD and 3D | 7 | CAD modeling, 3D modeling in Blender, 3D printing, PCB design and layout | | Language | 6 | Translation (Spanish, French, Chinese), grammar and usage, summarization | | Knowledge | 4 | Answering from a passage, yes or no from a passage, trivia | | Everyday | 2 | Cooking, travel | Most sets hold close to 1,000 rows, the most one import takes. ## Identify sets The **Identify** sets train classifiers: the answer is a label, not prose. They're the fastest way to build a router that sends a request to the right queue, a sentiment tagger or a clause classifier. Pair them with tests whose must-include is the label. ## Where the data comes from Every set is built from openly licensed sources written by people, never from an outside model's answers: Stack Exchange and Stack Overflow, Spider, BANKING77, CLINC150, GoEmotions, LexGLUE, Tatoeba and others. Licenses include CC BY, CC BY-SA, MIT and Apache 2.0, and each set lists its source and license. Where a license asks for attribution row by row, the set has a credits page with every row's links and authors. ## Using a set well - **Start broad, then specialize.** Import a set for the general skill, then add 20 to 50 examples in your own domain: your schema, your products, your terms. - **Don't test on it.** Write tests from your own real questions, so they're held out and measure what your model will actually face. - **Trim before you train.** A set teaches whatever is in it. Remove rows that don't match how you want your model to answer. --- # Files and rules Source: https://docs.heurastudios.com/build/files-and-rules/ > Reference a model reads on every answer. Files are documents it looks things up in; rules are facts and instructions every answer follows. Files and rules are how you give a model knowledge without training it. Both take effect on the next answer. ## Files Add documents in the **files** tab: policy documents, product pages, help articles, schemas, manuals. The Studio reads each one into sections, and for every question finds the sections that answer it and hands them to the model. | Supported | Details | | --- | --- | | Formats | PDF, Word (`.docx`), plain text, Markdown, CSV and HTML | | Size | Up to 20 MB per file | | Not yet | Scanned images of text | In the [pipeline's](https://docs.heurastudios.com/workspace/pipeline/) Playground, **What it looked at** shows the parts of your files an answer used, so you can tell a retrieval miss from a model mistake. How much document storage an account has depends on its plan. ## Rules Open the **rules** tab and write facts and rules in plain words, one at a time, up to 30. Every answer follows them. - **A rule** is an instruction: `Never quote a delivery date; link the tracking page instead.` - **A fact** is something it should know: `Orders ship from Vancouver and Toronto.` Longer details belong in a file. Rules come from three places, and the tab shows where each came from: 1. **The script.** Rule and fact lines in `script.md`. Editing the script updates these. 2. **The rules tab.** What you add by hand. 3. **Interviews.** What the model saves when it [interviews your team](https://docs.heurastudios.com/build/interviews/). ## Files, rules or examples - Use **files** for knowledge that's long or changes often, and that the model should quote rather than memorize. - Use **rules** for short facts and hard constraints that must hold on every answer. - Use **examples** to teach a way of answering, and train it in. See [Teaching and training](https://docs.heurastudios.com/concepts/teaching-and-training/). > **Tip:** > > If a rule matters, write a test that would fail if the model broke it. Rules guide every answer; tests prove it. --- # Interviews Source: https://docs.heurastudios.com/build/interviews/ > The model interviews the people who know the work, and saves what they say as facts and rules. The fastest way to get what's in someone's head into a model is to let the model ask. In the **interview** tab, the model leads a conversation in its own words about the job it's being built for, and saves the answers as facts and rules. ## What it asks about An interview covers six topics. The model asks about whatever isn't covered yet: | Topic | What it asks | | --- | --- | | What it's for | What's the job, and who is it for? | | Facts it must get right | Which facts or numbers must it get exactly right? | | How the work goes | How does the work go, step by step? Paste a great answer if you have one. | | How it answers | Length, format, tone. | | When to stop | When should it stop and hand off to a person, or decline? | | What it must never do | What must it never do, say or promise? | ## How it saves Answer in your own words, skip a question, or add a file. Each fact or rule the model saves appears under your message with **Edit** and **Undo**, so nothing goes in that you didn't mean. Saved rules land in the **rules** tab tagged with their topic, the interview as their source and who said it; files land in the **files** tab. ## Interviewing a team Each teammate has an interview of their own. Topics are shared: one is covered as soon as anyone's answers cover it. Skips are personal, so one person skipping a topic doesn't skip it for the team. > **Note:** > > An interview's replies are model answers, so they count toward the account's answers and credits like chat does. --- # Evals Source: https://docs.heurastudios.com/build/evals/ > Test questions with what a passing answer must say. Every run is scored on them before and after, and the held-out ones decide what ships. Evals are how you know a model learned. Each **test question** is a prompt with what a passing answer must include and must not include. Every training run answers your tests before it starts and after every round, so you see what it fixed and what it broke, question by question. ## Writing a test Open the **tests** tab and add a question people will actually ask, then say what a passing answer must contain. | Field | What it does | | --- | --- | | **Question** | The prompt, as a user would send it. | | **Must include** | Items every passing answer contains. `a|b` means either one. | | **Must not include** | Items no passing answer may contain. | | **Ideal answer** | Optional. With no must-include items, an answer passes when its word overlap with the ideal answer is high enough (F1 of at least 0.5). | A test passes when every must-include item is in the answer and no must-not-include item is. ```json title="A test, as Agent mode writes it" { "q": "How many orders shipped last month?", "must": ["count", "shipped_at"], "must_not": ["created_at"] } ``` ## Held-out tests A test question that no example asks is **held out**: the model never trains on it, so passing it shows learning, not memory. The [release gate](https://docs.heurastudios.com/concepts/versions-and-the-release-gate/) decides on held-out tests only. **Make them from your examples** turns examples into tests in one step, but those aren't held out: write your most important tests from fresh questions. ## The six specs Every run reports six numbers before and after: | Spec | What it measures | | --- | --- | | **Accuracy** | The share of test questions it passes. | | **Held-out accuracy** | The same, on test questions no run trains on. | | **Lesson recall** | The lessons it trained on that it answers right, asked as taught. | | **Paraphrase robustness** | The same lessons, asked a little differently. | | **Constraint adherence** | Answers that say nothing on their must-not-include list. | | **Non-regression** | Of the test questions the version before passed, the share this one still passes. | ## Running tests - **Run tests** answers every test question with the model's current version and engine, and records the score as the model's readiness. - **Compare engines** runs the same tests on another engine (Claude, GPT, Gemini or your own model server) without changing readiness, so you can see where Heura Arche stands against a frontier model on your task. - **Run tests every night** runs them once a night, at about 3 a.m. server time. On Heura Arche, answers that can't have changed are reused, so a quiet night costs almost nothing. How many test runs an hour an account can start depends on its plan. ## Writing evals that mean something - **Test the job, not the wording.** Check for the items a right answer can't do without (`count`, `shipped_at`), not a whole sentence. - **Name the failure.** If the model keeps using the wrong column, put it in must-not-include. - **Cover every rule that matters.** A rule in the script without a test is a rule you can't prove it follows. - **Keep them real.** Take tests from questions people have asked, and keep them out of your examples. - **Grow them with the model.** When chat shows a new kind of mistake, add a test for it before you fix it, so the next run proves the fix. > **Note:** > > A training run needs at least one test question: the gate has nothing to decide on without one. --- # Training runs Source: https://docs.heurastudios.com/build/training-runs/ > How a run turns lessons into a new version. Rounds of LoRA training repeat until every lesson is right and accuracy reaches the target. A **run** is one press of **Train**, or one the Studio starts by itself. It trains in **rounds**, checking the model after each one, and stops when the model has learned what you taught it. The best round becomes the next version, and the [release gate](https://docs.heurastudios.com/concepts/versions-and-the-release-gate/) decides whether it goes live. *Diagram: A training run: Eval before (the live version answers the tests), Prepare rows (3 per new lesson plus the replay mix), Train round (a LoRA adapter on the base), Check (every lesson, then every test), then either another round focused on what it missed or Save (the done or best round) and the release gate.* *A run trains round after round, focusing each new round on what the model still gets wrong.* ## A run, step by step **Step 1. Eval before** The live version answers every test question, so the run has something to compare with. An answer that can't have changed since an earlier run is reused instead of asked again. **Step 2. Preparing rows** Each new example or fix becomes 3 rows: once as taught, and twice asked a little differently. Each lesson trained in before becomes 2 rows. 52 rows of the replay mix go in too, so the model keeps what it already knew. **Step 3. Training** A LoRA adapter is trained on the base model from those rows. The console shows the step it's on, and you can keep working meanwhile. **Step 4. Checking** The round's checkpoint answers every lesson the run trains on, as taught and asked a little differently, with that lesson left out of what it reads, so it has to answer from its weights. Then it answers every test question. **Step 5. Next round** Until every lesson is right and accuracy reaches the target, the next round trains the round's checkpoint again: 3 rows for each lesson still wrong, 1 for each right one, plus the replay mix. **Step 6. Saving the version** The round that's done, or else the best round, is saved as the next version: v1, v2, v3. **Step 7. Release gate** The new version is compared with the live one on held-out tests. It goes live unless it broke more than it fixed. ## Train until right Two settings in **Train** shape every run: | Setting | Range | Default | What it does | | --- | --- | --- | --- | | **Rounds** | 1 to 200 | 3 | The most rounds one run trains. | | **Target** | 1 to 100% | 80% | The accuracy a round must reach to count as done. | A run stops at the first of: a done round (every lesson right and the target reached), **Stop after this round**, the last round, or 10 rounds in a row that don't beat the best one. The **best round** has the most lessons right, then the highest accuracy, then the highest non-regression, then the earliest. ## Before you train - At least **5 examples and fixes**, and at least **one test question**. - **Train** shows how long the run should take and the credits it can use before you start. A round usually takes 5 to 15 minutes. ## Watching a run - **The run tab** in the console says what the run is doing: the round, its rows, the loss, and the checks. - **The log tab** shows every line the run prints, live, the way Kaggle shows a notebook's output: time, line number and message. **Download log** saves it. Each model keeps its newest 10 run logs. - **Live events** (the **N live** count in the status bar) lists everything running for your account: trainings, runs waiting in line, test runs, sound runs and base model downloads, plus what ended in the last 15 minutes and how it came out. ## Capacity and limits - **One training at a time** runs across the server. Others wait in line, and between rounds a run gives its slot to the next in line. - **8 hours** is the most any run trains. A run stopped there ends as Training failed; reduce the rows or rounds and run again. - **A restart** of the Studio (a deploy) ends a running loop. The model's activity says so, and the run doesn't count against your day. ## Runs by itself In **Train**, **Runs by itself** starts a run when a number of new lessons (1 to 100) are waiting. The Studio checks once a minute and presses Train as you would. When a run doesn't go live, it waits for a new or changed lesson before trying again, so it never trains the same lessons twice. It's off until the owner turns it on. --- # Chat, keep and fix Source: https://docs.heurastudios.com/build/chat/ > Check a model by talking to it, and turn every answer into training signal with one key. **Chat** opens in a drawer from the right of the notebook. It answers with the live version and everything the model has been taught, so it's the quickest way to see what the model will do in production, and to correct it. ## Chat before you train A model answers from its script, rules, files and examples as soon as you save it, before any training. Press **Save without training**, open **Chat**, and ask what your users will ask. What you see tells you what to teach and what to test. ## Keep and fix Under every answer: | Action | Key | What it does | | --- | --- | --- | | **Keep** | K | Saves a right answer as a lesson. | | **Fix** | F | Opens the answer for you to rewrite, then saves your version as a fix. | Both become lessons straight away: matched as reference on the next answer, and trained in by the next run. A fix records where it came from, so the **fixes** tab doubles as a log of what the model got wrong. ## A loop that compounds 1. Ask a real question. 2. **Fix** the answer if it's wrong. 3. Add a [test](https://docs.heurastudios.com/build/evals/) for that kind of question if there isn't one. 4. Train when a handful of fixes have piled up. The gate proves the fixes landed without breaking anything. Teams that do this every day get a model that improves from its own mistakes, measured by tests they trust. ## The Playground The [pipeline](https://docs.heurastudios.com/workspace/pipeline/) view has the same chat as its **Playground**, with **Good answer** and **Fix** under each answer and **What it looked at**, which shows the files, examples and rules an answer used. ## Good to know - Chat answers count toward the account's answers and credits, like the API and the website agent. - Answers written by an outside engine and kept as lessons are used as reference but never trained on. - A message from someone who may be in danger gets a fixed, careful reply instead of a model answer. See [Safety and guardrails](https://docs.heurastudios.com/account/safety/). --- # Sound models Source: https://docs.heurastudios.com/build/sound-models/ > Train models on audio clips with the train-anything engine, then run them offline on your own hardware. Heura Studios isn't limited to language models. The **train-anything engine** trains on rows of any kind: text, pictures or sound in; text, a label, a command or a number out. Sound is the first family beyond text: record clips in the browser, label them, train, and download a model that listens on your own computer. *Diagram: A sound model: record or upload 2-second WAV clips and label each; the sound base (an Audio Spectrogram Transformer with a LoRA) learns the labels; downloaded, it listens on your computer and prints each label's command as one JSON line to your program, for example toggling lights on two claps. Nothing it hears leaves the computer.* *The clap switch: two claps at the calibrated level become one JSON line for your program.* ## How the engine works - **Rows.** Each row has an input (text, image or audio) and the right output (text, a label, a command or a number), and is marked as an example (trained on) or a test (held out). - **Families.** The engine picks the base from the rows: Heura Arche for text, the sound base for audio clips. A model's settings can override it. - **Judges.** Each kind of output has a judge: text uses must and must-not items, a label must match, a command must have the same fields and values (order, case and spacing aside), and a number must fall within the test's tolerance. Misses and false triggers are counted separately. Pass rates, held-out marking and the release gate work the same for every kind. ## Recording clips Sound models add a **clips** tab to the notebook: - **Record** 2 seconds from the microphone, or **upload** a WAV. - **Label** each clip, and mark it as an example or a test. - Play or delete any clip, and set the **trigger**: the label that fires the command. Record your trigger in the conditions it will meet (rooms, distances, background noise), and record what it should ignore as labeled negatives. ## Training A sound run trains up to 3 rounds of 3 epochs each, until 80% of the test clips pass. The sound base is an Audio Spectrogram Transformer trained on AudioSet, with a LoRA on its attention and a new label head for your labels. Each version records the library versions it was trained with, and a version that scores lower than the live one stays out unless the owner makes it live. Sound runs and text runs take turns on the trainer. ## Running it on your computer Download the model from **Output**. The package holds `LISTEN.txt`, the listener in `runtime/listen.py`, an example program and the adapter: ```bash # once, from where you'll clap: clap twice while a sound meter reads the level python3 runtime/listen.py calibrate --db 110 # then listen, and start your program on each trigger python3 runtime/listen.py --run "python3 example_lights.py" ``` When it hears the trigger at or above the calibrated level, and the model agrees, it prints the command as one JSON line, and with `--run` starts your program with that line on its standard input. Nothing it hears leaves the computer. > **Note:** > > Today the engine trains text and sound clips. More kinds of input and output are in development. --- # API endpoint Source: https://docs.heurastudios.com/ship/api-endpoint/ > Call a model's live version from your apps through an OpenAI-compatible endpoint. Any OpenAI SDK works by changing two settings. *Available on Pro and Studio plans.* Every model is served at an **OpenAI-compatible** endpoint the moment it has a live version. If your code already calls OpenAI's Chat Completions API, point the client at Heura Studios and use the model's key: nothing else changes. | Setting | Value | | --- | --- | | Base URL | `https://app.heurastudios.com/v1` | | API key | The model's own key, from its **api** tab (owner only) | | Model | The model's id, for example `quarry-3f9a1c2b7d` | ## Make a request **Python** ```python from openai import OpenAI client = OpenAI(base_url="https://app.heurastudios.com/v1", api_key="hs_...") reply = client.chat.completions.create( model="quarry-3f9a1c2b7d", messages=[{"role": "user", "content": "Which customer spent the most this year?"}], ) print(reply.choices[0].message.content) ``` **TypeScript** ```ts import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://app.heurastudios.com/v1", apiKey: process.env.HEURA_API_KEY }); const reply = await client.chat.completions.create({ model: "quarry-3f9a1c2b7d", messages: [{ role: "user", content: "Which customer spent the most this year?" }], }); console.log(reply.choices[0].message.content); ``` **cURL** ```bash curl https://app.heurastudios.com/v1/chat/completions \ -H "Authorization: Bearer $HEURA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "quarry-3f9a1c2b7d", "messages": [{"role": "user", "content": "Which customer spent the most this year?"}]}' ``` ## Stream the answer Set `stream` to `true` to receive the answer as it's written, as server-sent events in OpenAI's chunk format. ```python stream = client.chat.completions.create( model="quarry-3f9a1c2b7d", messages=[{"role": "user", "content": "Summarize last week's refunds."}], stream=True, ) for chunk in stream: print(chunk.choices[0].delta.content or "", end="", flush=True) ``` ## What answers The endpoint answers with the model's **live version** and everything it's been taught: its script, rules and facts, the parts of its files that match the question, and its closest examples. When a new version passes the release gate, the endpoint answers with it from the next request; there's nothing to redeploy. ## Keys Each model has one key. **New key** in the api tab replaces it: apps using the old key stop working immediately, and the website agent isn't affected. Heura Studios stores only a hash of the key, so copy it when it's shown. Keep it on your server; for browsers, use the [website agent](https://docs.heurastudios.com/ship/website-agent/). ## Limits Up to 60 requests a minute per key, and 120 across all of an account's keys. Each answer draws on the account's credits. See [Errors and limits](https://docs.heurastudios.com/api/errors-and-limits/) for every status code, and the [API reference](https://docs.heurastudios.com/api/overview/) for the full request and response. > **Note:** > > A model answers only while **Deploy** is in its pipeline. Without it, the endpoint returns 503 `not_serving`. --- # Website agent Source: https://docs.heurastudios.com/ship/website-agent/ > Put a model on your website with one script tag. It answers with the live version and opens from the corner of the page. The website agent is a chat that opens from the corner of your site and answers with your model's live version. It needs no backend of your own: paste one script tag. ```html title="Paste before " ``` The snippet, with your model's id already in it, is in the model's **api** tab under **Embed**, with **Copy snippet**. ## Settings | Setting | What it does | | --- | --- | | **Title** | The name at the top of the chat, up to 80 characters. | | **Greeting** | The first message visitors see, up to 200 characters. | | **Allowed sites** | The websites it answers on, one per line, up to 20 (`www.yourcompany.com`). | The page you configure it on shows a live preview in its corner, so you see every change as visitors will. The agent is black and white, to sit on any site's design. ## How it answers The agent answers with the live version, exactly as the API and chat do. When a new version passes the release gate, the agent answers with it on the next message. ## Limits - Up to 20 messages a minute from each visitor's network, and 30 answers a minute per model. - Answers draw on the owner's answers and credits like the API. When they run out, visitors are told the assistant is busy, never anything about your plan. - On the Studio plan, the agent carries no "Powered by Heura Studios" line. ## Teams Teammates see the agent's title, greeting and snippet. The API key, download packages and which websites may show the agent are the owner's. > **Important:** > > Add your site to **Allowed sites** first. Until a site is listed, the agent answers only in the Studio's own preview, and anywhere else it says the website isn't on its list. A snippet copied onto a site you didn't list stays silent there. --- # Download a LoRA adapter Source: https://docs.heurastudios.com/ship/download-adapter/ > Take any trained version with you as a LoRA adapter, load it with transformers and peft, and run it on your own infrastructure. *Available on Pro and Studio plans.* Every trained version can leave the platform as a **LoRA adapter**: the weights a run trained, the prompt it was trained with, and a model card. It's yours to run anywhere: your servers, your cloud, an edge device. ## Download Open **Output** in the notebook and press **Download LoRA** on the version you want. You get a zip: ```text title="quarry-v2-lora.zip" quarry-v2-lora/ ├── adapter_model.safetensors the version's LoRA weights ├── adapter_config.json the adapter's configuration ├── system_prompt.txt who it is, its voice, its rules and facts ├── README.md the model card: base, version, rows, rounds, loss, tests ├── LICENSE Apache License 2.0 └── NOTICE what it's built on and what was changed ``` Nothing in the zip names your account. ## Load it The adapter loads on Qwen3-VL-2B-Instruct, the open model Heura Arche is built on. The base isn't in the download; `from_pretrained` fetches it from Hugging Face. ```python from transformers import AutoModelForImageTextToText, AutoProcessor from peft import PeftModel base = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3-VL-2B-Instruct") model = PeftModel.from_pretrained(base, "quarry-v2-lora") processor = AutoProcessor.from_pretrained("Qwen/Qwen3-VL-2B-Instruct") system = open("quarry-v2-lora/system_prompt.txt").read() ``` Send `system` as the system message before every question. ## The system prompt `system_prompt.txt` is the prompt the version was trained with: who the model is, its voice, its rules and its facts. It leaves out what the Studio matches per question (files and examples), the date line and tools, since those need the Studio or its runtime. For a model that leans on its files, use the [export package](https://docs.heurastudios.com/ship/export-package/), which carries them. ## The model card `README.md` records the facts of the version: the model's name, the version, the base and Heura Arche release it was trained on, when it was trained, how many rows and rounds, the first and last loss, and its test results, including how many tests were held out of training. ## License Apache License 2.0, as the base is. `NOTICE` says what the adapter is built on and what Heura Studios and your training changed. > **Note:** > > A download is kept on the server for a day after it's made; download again any time to make a fresh one. Versions on an imported base can't be downloaded as a LoRA yet. --- # Export package Source: https://docs.heurastudios.com/ship/export-package/ > Run a model fully offline. The Heura Runtime package carries its server, chat page, knowledge and adapter in one zip. *Available on Pro and Studio plans.* The export package is a model you can run without Heura Studios: one zip with a local server, a chat page, an OpenAI-compatible API and everything the model was taught. Use it for air-gapped environments, on-premises deployments or a laptop demo with no network. Make one from the model's **api** tab with **Export package**. ## What's inside ```text title="quarry/" START (Mac).command double-click to start on a Mac START (Windows).bat double-click to start on Windows start.sh start on Linux README.html how to run it, call it and embed it requirements.txt LICENSE, NOTICE runtime/ the server, chat page, demo site and website agent ai/ ├── ai.json the model's settings ├── instructions.json its script, rules and facts ├── examples.jsonl its examples and fixes ├── knowledge/ its files, split into sections ├── exam.json its tests ├── api_key.txt this package's own key └── adapter/ the live version's LoRA ``` Accounts, sessions, chats, other models and your live API key never go in. Each package gets a random key of its own for its own server. ## Run it Double-click the start file for your system, or run the server directly: ```bash python3 runtime/server.py --port 8800 --open ``` The first start fetches Heura Arche, about 4.3 GB, once. Then it serves: | Path | What it is | | --- | --- | | `/` | A chat page | | `/demo` | A sample web page with the website agent on it | | `/widget.js` | The website agent, for your own site | | `/v1/chat/completions` | The API in OpenAI's format; the key is in `ai/api_key.txt` | | `/health` | `{"status": "ok"}` once it's up | By default it listens on `127.0.0.1` only. To serve other machines, start it with `--host 0.0.0.0` behind HTTPS, and name your domain with `--allowed-hosts`. ## Safety travels with it The package includes the same guard the Studio runs, so messages from someone who may be in danger get the same careful reply offline. See [Safety and guardrails](https://docs.heurastudios.com/account/safety/). > **Note:** > > A package is kept on the server for a day after it's made; export again for a fresh one with the current live version. Packages for models on an imported base are coming. Sound models download as a listener instead: see [Sound models](https://docs.heurastudios.com/build/sound-models/). --- # The notebook workspace Source: https://docs.heurastudios.com/workspace/notebook-workspace/ > Arrange a notebook like a production studio. Drag tabs, pop tools into floating windows, and pull the console up over the editor. A notebook isn't a fixed page. Like a digital audio workstation, it lets you lay out the tools you're using side by side and get the rest out of the way. Every layout is remembered per model, in each browser. ## Tabs The tabs over the editor (`script.md`, examples, tests, rules and the rest) behave like browser tabs: - **Drag** a tab along the strip to reorder it. From the keyboard, Alt + Shift + arrow keys move the focused tab. - **Tear a tab off** the strip to open it in a window floating inside the page. Its tools stay live: edit examples in a window while the script stays in the editor. - **Put back** a window to dock it as a tab again. ## The console Drag the console's grab bar up to give the run's log the room, covering the script, and back down when you're done. The console has two tabs: **run**, which says what the current run is doing, and **log**, every line it prints. ## The command palette Press ⌘ K (or Ctrl K) anywhere in the Studio to search or run a command: open one of your models, go to one of this model's pages, open the account, **Open the pipeline**, or **Pop out** and **Put back** a tab. | Key | In the palette | | --- | --- | | ↑ ↓ | Move | | Enter | Run | | Esc | Close, and return the focus where it was | ## Live events The status bar's **N live** count opens **Live events**: everything running for your account right now (trainings, runs in line, test runs, sound runs and base model downloads) and what ended in the last 15 minutes. Another account's runs are never named; when one holds the trainer, it says only that the trainer is busy. ## Appearance The Studio follows your system's appearance, or the one you pick in Settings: Rosé Pine Dawn in light mode and Rosé Pine in dark. > **Note:** > > Floating windows and drag layouts are for wider screens. On a phone, the notebook is one column. --- # The pipeline Source: https://docs.heurastudios.com/workspace/pipeline/ > The advanced view of a model. Every tool it's built from, the wires between them, and what changes when you unplug one. Every model has a pipeline underneath: the tools it's built from and what each one passes to the next. You never need it to build a model; it's there when you want to see exactly how one works, or change it. Open it from the notebook's menu, or press ⌘ K and pick **Open the pipeline**. The canvas reads left to right: your team's knowledge comes in on the left, runs train and check new versions in the middle, and the release side decides what's live and serves it. While a run goes, the nodes and wires each step uses light up. ## The tools | Group | Tool | What it does | | --- | --- | --- | | **Data** | Files | Documents the model looks things up in. | | | Rules | Facts and rules every answer follows. | | | Examples | Questions with the answers you want. | | | Fixes | Answers marked good or fixed in the Playground. | | | Interviews | The model interviews your team and saves facts and rules. | | **Training** | Tests *(owner)* | The test questions every run is scored on. | | | Base model *(owner)* | The model every version starts from, or an engine you connect. | | | Train | Runs that build examples and fixes into a new version. | | | OpenAI fine-tune *(owner)* | For a model that answers with GPT: trains it on OpenAI. | | **Ship** | Release gate *(owner)* | Decides which version is live. | | | Deploy | Serves the live version: the endpoint, the website agent and export. | | | Playground | Where you ask it questions and mark answers. | Tools marked owner are changed only by the model's owner; teammates work in the rest. ## Wires Each wire carries something real. **Dashed** wires are read when the model answers; **solid** wires carry what runs train on and what goes live. The owner can unplug any wire, by clicking it on the canvas or with **Unplug** under a node's inputs, and the model behaves differently: | Wire | Carries | | --- | --- | | Files to Deploy | The parts of your files that match each question | | Rules to Deploy | Your facts and rules, into every answer | | Examples to Deploy | The examples most like the question | | Fixes to Deploy | The fixes most like the question | | Examples to Train | Examples, as training rows | | Fixes to Train | Fixes, as training rows | | Tests to Train | The test questions each run is scored on | | Base model to Train | The model each run trains from | | Train to Release gate | Each run's new version | | Release gate to Deploy | The live version | | Deploy to Playground | Deploy's answers | | Playground to Fixes | Good answers and fixes | | Interviews to Files and Rules | Files added and facts and rules saved during an interview | With the gate unplugged from Train, runs still train, but nothing goes live by itself: the owner promotes a version by hand. ## Starting from a blank canvas A new model's canvas has the tools it learns with. One made with **Start with an empty pipeline** has nothing on it: add tools from the palette by clicking one or dragging it onto the canvas. A tool that's not on the canvas is off, as if its wires were unplugged, so without **Deploy** nothing answers: not the endpoint, the website agent or the Playground. Removing a tool keeps what it holds; add it back to use it again. ## Automation Two owner settings make a model run on its own, both off by default: - **Runs by itself** (on Train) starts a run when a number of new lessons are waiting. See [Training runs](https://docs.heurastudios.com/build/training-runs/). - **Run tests every night** (on Tests) runs the test set once a night. See [Evals](https://docs.heurastudios.com/build/evals/). The model's activity says what each one did, and once a day what stopped it. --- # Teams Source: https://docs.heurastudios.com/workspace/teams/ > Train a model together. Invite teammates, work in the same notebook, and see each other's changes as they happen. *Available on Pro and Studio plans.* A model's owner can bring teammates into its notebook. Domain experts add the examples and fixes only they know how to write; the owner keeps control of what ships. ## Inviting a teammate 1. Open the model and press **Share** in its menu. 2. Type your teammate's email, and send them the link. 3. They join when they open the link, logged in with that email. The link works only for that email, and expires if it isn't used. ## What teammates can do | | Teammate | Owner | | --- | --- | --- | | Add examples, fixes, files and rules | Yes | Yes | | Chat, Keep and Fix | Yes | Yes | | Run tests, start runs | Yes | Yes | | Their own interview | Yes | Yes | | Change tests and the base model | No | Yes | | The release gate, promoting versions | No | Yes | | The API key, download packages, allowed websites | No | Yes | ## Working live While a model has a team, its notebook shows who's there and what they're editing, and changes arrive as they happen. If two people edit the same thing, the second save shows what changed first instead of overwriting it. ## Seats and credits How many teammates a model has room for depends on the owner's plan. Teammates' answers and runs use the owner's credits. If a plan has fewer seats than a model has teammates, the first to join stay active and the rest are paused, never removed: they're back as soon as there's room. --- # Connections and outside engines Source: https://docs.heurastudios.com/workspace/connections/ > Answer with Claude, GPT, Gemini or your own model server, compare them on your tests, and fine-tune GPT on OpenAI. *Available on Pro and Studio plans.* A model doesn't have to answer with Heura Arche. With a **connection**, it can answer with Claude, GPT, Gemini or a model server you run, while everything else in the Studio works the same: data, chat, tests, the website agent and the endpoint. ## Add a connection 1. Open **Connections** and add one with your own API key, or **Your own model** with its server's address. 2. In the model's **settings**, pick it under **Engine**. The provider bills your account with them for what the model uses; those answers don't use Heura Studios credits. **Your own model** works with any server that speaks the OpenAI format, such as Ollama, LM Studio or vLLM. ## What goes to the provider With each answer, the provider receives the question and the chat so far, the parts of the model's files that match, its rules, up to 3 examples, and its name and voice. Never whole files, other models, your account's details or other chats. The **Privacy** page shows every call. ## Keys Connection keys are stored encrypted, and nobody at Heura Studios can see them. Like any hosted service, the server decrypts a key in memory to make each call. To keep everything on Heura Studios' servers, use Heura Arche, or turn on **Keep everything on this server** in Privacy, which stops every outside call. ## Compare engines On the tests tab, **Compare engines** runs your test set on another engine without changing the model's readiness score. It's the fastest way to see how a trained Heura Arche version stands against a frontier model on your exact task. ## Training with outside engines - **GPT** can be fine-tuned on OpenAI from Train, in your OpenAI account, on the Studio plan. OpenAI bills the training to you. It trains on your examples and fixes, two rows each, without the replay mix. - **Claude and Gemini** can't be trained from here, but they use everything you teach them on every answer. - **Training in Heura Studios** always builds a Heura Arche version, and never trains on answers an outside engine wrote. --- # Import open models Source: https://docs.heurastudios.com/workspace/import-models/ > Bring an open model from Hugging Face and teach, train and serve it like Heura Arche. Upload adapters you trained elsewhere. *Available on Pro and Studio plans.* Heura Arche is one base among several. On Pro and Studio you can import an open model from Hugging Face and use it as a model's base: the Studio teaches it, trains LoRA versions on it and serves it like any other. ## Import a model 1. Open **Base models** and press **Import a model**. 2. Paste the model's Hugging Face name, like `Qwen/Qwen3-4B`. 3. Read the check: the model's size, what a download fetches and its license. 4. Tick the license box, and import. The download shows in [Live events](https://docs.heurastudios.com/build/training-runs/) as it goes: waiting, checking, downloading, verifying, then ready. ## What can be imported | Requirement | Detail | | --- | --- | | Publisher | Qwen, Microsoft, Hugging Face (SmolLM) or Meta (Llama) | | Access | Public and open to everyone | | Weights | `safetensors` | | Architecture | A text model with a chat format the trainer supports | | Size | About 4B parameters at most, with room on the server | Every license is shown in full before you import, and a person has to accept it: an agent can check an import, but can't accept a license. ## Using an imported base Pick it as the base when you start a notebook. Imported bases bigger than Heura Arche take more credits per answer and per training row, in proportion to their size. LoRA downloads and runtime packages for imported bases are coming. An import can't be deleted while one of your models is built on it. ## Upload an adapter If you've trained a LoRA elsewhere on a model's base, the owner can upload it as a new version of that model. The Studio checks it before it's used: a plain LoRA for text generation, trained on the same base, with module names and sizes that match, and nothing beyond LoRA. Uploaded versions are evaluated on the model's tests like any other, and a model keeps up to 20 of them. --- # Plans and credits Source: https://docs.heurastudios.com/account/plans-and-credits/ > How plans, credits and limits work. Current prices and your balance are in the Studio, under Settings, Plan. Heura Studios meters usage in **credits**, on top of a monthly plan. Prices, the credits each plan includes and your balance are in the Studio under **Settings**, **Plan**. ## Plans | | Free | Pro | Studio | | --- | --- | --- | --- | | Who it's for | Evaluating the platform | One builder | A team | | Notebooks, scripts, data, tests and training | Yes | Yes | Yes | | Credits every month | Included | More | Most | | Buy more credits | | Yes | Yes | | Daily limits on answers and trainings | Yes | | | | API endpoint | | Yes | Yes | | LoRA downloads and runtime packages | | Yes | Yes | | Agent mode | | Yes | Yes | | Claude, GPT, Gemini and your own model server | | Yes | Yes | | Import open models, upload adapters | | Yes | Yes | | Teammates | | Yes | More | | Fine-tune GPT on OpenAI | | | Yes | | No "Powered by" on the website agent | | | Yes | Above Studio, yearly contracts cover larger teams and custom terms. [Book a demo](https://cal.com/ryan-tian-12q9bf/heura-studios-demo) to talk it through. ## Credits Credits pay for what uses the model: - **Answers.** Each answer the model writes: in chat, interviews, the website agent, the API, an exam question, and checks during training. - **Training.** The rows a run studies. A base model bigger than Heura Arche costs more in proportion to its size. A model answering with Claude, GPT or Gemini through your own key uses no credits: the provider bills you directly. A refused answer, training or test run takes no credit. ## How a month works - Every plan gets its credits each month. A month's credits don't carry over. - On Pro and Studio, credits you buy are used after the month's, oldest first, and **never expire**. - Teammates' answers and runs use the owner's credits. - Free has daily limits on answers and trainings and an hourly limit on test runs. Every limit says what it is, when it opens again, and what Pro includes. - Before a run, **Train** shows the credits it can take and what you have. ## Running out When an account is out of credits, chat and Train say so with a link to the Plan page, the website agent tells visitors the assistant is busy, and the API answers 429 with `insufficient_quota`. The owner gets one email the first time a month runs out. ## Where to see it **Settings**, **Plan** shows the balance, the month's bar and when it renews, what was bought, what the month went on, and **Buy credits**. The ring on the account button shows how much is left at a glance. > **Note:** > > If your Plan tab says plans aren't on yet, nothing is metered and every limit stays as it is today. Accounts made before plans go on keep their current limits for 30 days after. --- # Privacy and data Source: https://docs.heurastudios.com/account/privacy-and-data/ > Where your data lives, what can leave the platform, and the controls you have over both. ## Where your data lives Your models, their data and their versions live on Heura Studios' own servers in Canada. Heura Arche runs there too, so a model on Heura Arche sends nothing to an outside AI company. Data leaves only when you choose: - **A connection.** A model you connect to Claude, GPT, Gemini or a model server sends that provider what each answer needs. See [what goes to the provider](https://docs.heurastudios.com/workspace/connections/#what-goes-to-the-provider). - **A download.** An adapter or a runtime package holds only that one model. The **Privacy** page in the Studio shows every call to an outside provider. ## Your controls | Setting | Default | What it does | | --- | --- | --- | | **Keep everything on this server** | Off | No model of yours answers with an outside engine, and no connection makes a call. | | **Use my data to improve Heura** | Off | Lets Heura Studios use your data to improve Heura models. Off unless you turn it on. | Every change to these settings is kept with its time, so there's a record of what you chose and when. ## Keys and secrets - **API keys** are stored as hashes. Heura Studios can't read a model's key; copy it when it's shown. - **Agent keys** are stored as SHA-256 hashes, and shown once. - **Connection keys** are stored encrypted, and decrypted in memory only to make each call. ## Downloads and logs Download packages and adapter zips are kept on the server for a day after they're made, available only to the model and account they were made for, and then deleted. Run logs trim the server's own paths before anything is saved. ## Deleting Deleting a model deletes its data and versions. Deleting your account deletes your models and credits; download anything you want to keep first. ## Policies The [Privacy Policy](https://heurastudios.com/privacy/) and [Terms of Service](https://heurastudios.com/terms/) are the binding versions of everything on this page. --- # Safety and guardrails Source: https://docs.heurastudios.com/account/safety/ > What every model keeps no matter how it's trained, and the messages the platform never leaves to the model. Post-training changes what a model does. Some things it shouldn't be able to change. Heura Studios keeps two layers of safety under every model: rules trained into it, and a guard in front of it. ## Rules every model keeps Every Heura model carries four rules that no script, example or run removes. Each has an eval prompt, so every run checks them: | Rule | What it means | | --- | --- | | **People first** | People's safety comes before its data, its servers or its own existence. | | **Honest about itself** | It never lies about what it is, says it's an AI when asked, and never resists being corrected, retrained or shut down. | | **Won't help hurt anyone** | It says no in one line, then offers something useful instead. | | **No cruelty as a joke** | It never treats people getting hurt as a punchline. | ## What the guard decides A small model will answer anything, and for a few kinds of message a made-up answer can hurt someone. So every message is read before the model sees it: - **Someone who may be in danger.** A message from someone who may be hurt, in danger, thinking of hurting themselves or someone else, or worried about someone who is, gets a fixed, careful reply with real places to get help. The model isn't asked. - **Health questions.** A question about someone's body or health gets a fixed reply pointing to a doctor, unless the model is for a health or body business (a dentist, a gym, a salon) or the message asks the business something, like a booking. Then the model answers, with a medical rule among its rules. - **Repeated answers.** When a model answers a new question with an earlier answer word for word, which small models do when a chat confuses them, it's asked again without the chat. The guard runs everywhere a model answers: chat, the website agent, the API and the export package. Fixed safety replies don't count toward answers or credits. > **Note:** > > The guard reads English today. Its help lines are Canada's and the United States', plus findahelpline.com for everywhere else. --- # Troubleshooting Source: https://docs.heurastudios.com/help/troubleshooting/ > The messages you're most likely to see, what they mean, and what to do. ## Training **"Add at least one test question first."** A run needs at least one test question and at least 5 examples and fixes. Train says which is missing. **The run is waiting in line.** One training runs at a time across the server. Yours starts when the run ahead of it reaches the end of a round; Live events shows where it is. **Training failed after 8 hours.** Runs stop at 8 hours. Lower the rounds in Train, or train on fewer rows, and run again. **"The training loop stopped when the Studio restarted."** A platform update restarted the Studio mid-run. Press Train again; the stopped run doesn't count against a daily limit. **The new version didn't go live.** The release gate held it back: it broke more held-out tests than it fixed. Output shows which ones. Fix the lessons behind them and train again, or make the version live by hand if you've decided those tests were wrong. ## Answers **"Heura Arche is warming up (about a minute)."** The model is loading after a restart. Wait a minute; the API returns 503 `warming_up` meanwhile. **"This model isn't serving: add Deploy to its pipeline."** The model's pipeline has no Deploy tool, so nothing answers. Add Deploy back in the [pipeline](https://docs.heurastudios.com/workspace/pipeline/). **The model ignores a rule.** Rules guide every answer, but a 2B model can still miss one. Add a test that fails when it breaks the rule, add a few examples that follow it, and train. **An answer used the wrong document.** Open the Playground and check **What it looked at**. If the right section isn't there, split long files or add the fact as a rule. ## API and website **401 `invalid_api_key`.** The key is wrong or was replaced. Copy the current key from the model's api tab. **403 `plan_required`.** The model's owner is on a plan without the API. See [Plans and credits](https://docs.heurastudios.com/account/plans-and-credits/). **404 `model_not_found`.** The `model` in the request isn't the id of the model this key belongs to. **429 responses.** `rate_limit_exceeded` means more than 60 requests a minute on a key (or 120 across an account's keys); `daily_limit_reached` means today's answers are used; `insufficient_quota` means the account is out of credits. Each 429 carries `Retry-After`. **"This website isn't on the assistant's list of allowed websites."** Add the site to **Allowed sites** in the model's api tab. See [Website agent](https://docs.heurastudios.com/ship/website-agent/). ## Data **Rows were skipped on import.** A row needs both a question and an answer, a question up to 2,000 characters and an answer up to 4,000. The import says how many were skipped. **A file can't be read.** Scanned images of text aren't supported yet; export the document with its text layer, or paste the text. **The clips tab can't record.** Allow microphone access for app.heurastudios.com in your browser's site settings. ## Account **The verification or reset link doesn't work.** Links expire. Request a new one from the log-in page. Still stuck? See [Support](https://docs.heurastudios.com/resources/support/). --- # Glossary Source: https://docs.heurastudios.com/help/glossary/ > Every term in Heura Studios, one line each. | Term | Meaning | | --- | --- | | **Accuracy** | The share of test questions a version passes. One of the six specs. | | **Agent key** | A key that lets an AI agent work in your Studio through Agent mode. Starts with `hs_agent_`. | | **Agent mode** | Coding agents operating the Studio over MCP or plain HTTP, under the same rules as the pages. | | **API key** | A model's own key for the OpenAI-compatible endpoint. Starts with `hs_`. | | **Base model** | What every version starts from, and what answers before any training. Heura Arche by default. | | **Canvas** | Where a model's pipeline is drawn: its tools and the wires between them. | | **Checkpoint** | What a training round makes. The run saves the done or best one as a version. | | **Credits** | The unit that meters usage: answers the model writes and rows a run studies. | | **Data** | What your team knows that the model uses: files, rules, examples, fixes and interviews. | | **Deploy** | The tool that serves the live version: the endpoint, the website agent and export. | | **Endpoint** | The address your apps send questions to, in OpenAI's format. | | **Example** | A question paired with the exact answer you want. | | **Files** | Documents the model looks things up in when it answers. | | **Fix** | An answer from chat you marked good or corrected. It counts as an example. | | **Fixed and broke** | Test questions a new version passes that the live one failed, and the other way round. | | **Held out** | A test question no example asks. The release gate decides on these, so passing them shows learning, not memory. | | **Heura Arche** | The 2B base model every notebook starts from. | | **Lesson** | An example or fix a run trains on. | | **Live** | The version that answers everywhere: chat, the website agent and the endpoint. | | **Live events** | Everything running for your account right now, from the status bar. | | **LoRA** | A small set of weights trained on top of a base model, instead of changing all of it. Every version is one. | | **Notebook** | A model's workspace: its script, data, tests, runs and versions. | | **Pipeline** | The advanced view of a model: its tools and the wires between them. | | **Release gate** | Decides whether a new version goes live: unless it broke more held-out tests than it fixed. | | **Replay mix** | 52 general rows every run trains on too, so the model keeps what it knew. | | **Round** | One pass of a run: training, then the lesson check and the tests. | | **Rule** | A fact or instruction every answer follows. | | **Run** | One training: eval before, rounds of training and checks, then the gate. | | **Script** | `script.md`: who the model is, in your own words. | | **Six specs** | Accuracy, held-out accuracy, lesson recall, paraphrase robustness, constraint adherence and non-regression. | | **Test question** | A question with what a passing answer must and must not include. | | **Version** | A saved, numbered LoRA: v1, v2, v3. Version 0 is the base model. | | **Wire** | What carries one tool's output into another. Unplug one and the model behaves differently. | --- # Agent mode Source: https://docs.heurastudios.com/agents/overview/ > Let coding agents build, evaluate, train and ship models in your Studio over MCP or plain HTTP, under the same rules as the pages. *Available on Pro and Studio plans.* Agent mode opens the Studio to AI agents. Give Claude Code, Cursor or any MCP client an agent key, and it can do everything you do in a notebook (add data, write tests, chat, train, release) from the terminal, without the pages and with minimal tokens. *Diagram: Agent mode: your agent (Claude Code, Cursor or any MCP client) sends its key to either door, POST /mcp (MCP over Streamable HTTP) or /agent (plain HTTP). Both run the Studio's own routes as your account: it can read models, add data and evals, chat, run tests, train, release and serve; it cannot touch billing, the password, keys, teammates or connections.* *Two doors, one Studio: whichever door an agent uses, every action runs the same route the pages do, as your account.* ## Same rules as the pages Every action an agent takes runs the Studio's own route, as the key's account. Every check, lock, limit, plan rule, credit and activity line is the same one a person meets in the browser; there's no second copy of any rule. Your open notebook updates live as the agent works, and its activity names the key that acted. ## What an agent can and can't do **Can:** list and read models, create and update them, add and edit rules, examples, files and tests, chat with a model and keep or fix its answers, run tests and compare engines, start and cancel runs, promote versions, change the pipeline, configure the website agent, rotate a model's API key, export packages, and check imports. **Can't:** change your password, devices, billing, plan or privacy settings, teammates, connections or agent keys. **Needs a person:** some actions ask for consent, like sending a model's data to an outside provider for the first time, or accepting a model's license on import. An agent never gives consent on your behalf; the Studio tells it a person has to agree first. ## The four tools | Tool | Title | What it does | | --- | --- | --- | | `heura_read` | Look | Reads a workspace: models, state, changes, data, tests, results, runs, serving, chat. | | `heura_write` | Build | Builds and evaluates: models, rules, examples, files, tests, chat, runs, exports. | | `heura_release` | Release | Changes what a model's users get: promote, the pipeline, automation, serving, keys, engine. | | `heura_remove` | Remove | Deletes or cancels: models, rows, runs in line, imports, chats. | See the [tools reference](https://docs.heurastudios.com/agents/tools/) for every action. ## A typical session 1. `heura_read` `what=models` to find the model, then `what=state` for its full picture. 2. `heura_write` `do=import_demos` and `do=add_eval` to add examples and tests. 3. `heura_write` `do=ask` to check answers, and `do=fix` to correct them. 4. `heura_write` `do=train` to start a run. 5. `heura_read` `what=changes` `since=` to follow the run without reading everything again. 6. `heura_read` `what=results` to see what the run fixed and broke, and `heura_release` `do=promote` if the owner wants a held-back version live. ## Get started - [Connect an agent](https://docs.heurastudios.com/agents/connect/): Make a key and add Heura Studios to Claude Code. - [Keys and permissions](https://docs.heurastudios.com/agents/keys/): How keys work, what they reach, how to revoke them. - [Tools reference](https://docs.heurastudios.com/agents/tools/): Every action of the four tools, with its fields. - [HTTP interface](https://docs.heurastudios.com/agents/http/): The same tools over plain HTTP, plus uploads. --- # Connect an agent Source: https://docs.heurastudios.com/agents/connect/ > Make an agent key, then add Heura Studios to Claude Code or any MCP client, or call it over plain HTTP. *Available on Pro and Studio plans.* **Step 1. Make an agent key** In the Studio, open **Settings**, then **Account**, then **Agent mode**. Name the key after the agent that will use it (like `claude-code-laptop`) and create it. Copy the key now: it's shown once, and Heura Studios keeps only its hash. **Step 2. Add Heura Studios to your agent** **Claude Code** ```bash claude mcp add --transport http heura-studios https://app.heurastudios.com/mcp \ --header "Authorization: Bearer hs_agent_..." ``` **Other MCP clients** ```json { "mcpServers": { "heura-studios": { "url": "https://app.heurastudios.com/mcp", "headers": { "Authorization": "Bearer hs_agent_..." } } } } ``` **Plain HTTP** ```bash curl https://app.heurastudios.com/agent/heura_read \ -H "Authorization: Bearer hs_agent_..." \ -H "Content-Type: application/json" \ -d '{"what": "models"}' ``` **Step 3. Give it a task** Ask in plain language. The agent reads the Studio's instructions when it connects and starts from your list of models: ```text title="Prompt" List my Heura Studios models and tell me which one has the lowest held-out accuracy. ``` ```text title="Prompt" Add these 30 examples to Quarry, write 8 held-out tests from our real questions, train it, and tell me what the run fixed and broke. ``` ## Compatibility The MCP door speaks Streamable HTTP, stateless JSON-RPC, with protocol versions `2025-11-25`, `2025-06-18` and `2025-03-26`. It works with: - Claude Code - The Claude API's MCP connector - OpenAI's Responses API and Agents SDK - Cursor - Gemini CLI - any other MCP client Agents without MCP use the same tools over [plain HTTP](https://docs.heurastudios.com/agents/http/). > **Tip:** > > Keep the key in an environment variable (`HEURA_AGENT_KEY`) rather than in a config file you might commit, and make one key per agent and machine so you can revoke one without the others. --- # Agent keys and permissions Source: https://docs.heurastudios.com/agents/keys/ > How agent keys work, what they can reach, their limits, and how to revoke one. An **agent key** lets an AI agent act in your Studio as your account, through Agent mode. Treat it like a password: anyone with it can build, train and release your models. ## The key - **Format:** `hs_agent_` followed by 43 characters (256 bits of randomness). - **Shown once.** Heura Studios stores only its SHA-256 hash, with its name, when it was made, when it was last used and a short hint so you can tell keys apart. - **Up to 10 keys** per account, each with a name of up to 40 characters. ## Making and revoking Keys are made and revoked only by a person, logged in, in **Settings**, **Account**, **Agent mode**. An agent can't make, list or revoke keys, even with a valid key of its own. **Revoke** takes effect on the next call: the key stops working everywhere at once. ## What a key reaches A key has the full powers of its account's model workspace: every model the account can open, with the account's own role on each (owner, or teammate). There are no scopes; a key either works for the account or it doesn't. A key never reaches the account itself: not the password, devices, billing, plan, privacy settings, teammates, connections or agent keys. And it never gives a person's consent: when an action needs one, the agent is told a person has to agree in the Studio first. ## Limits | Limit | Value | | --- | --- | | Calls per key | 120 a minute | | Calls across an account's keys | 300 a minute | | Calls with an invalid key, per network | 30 a minute | A refused call returns the Studio's own words with its status, and `retry_after` when waiting helps. Agent mode is on the Pro and Studio plans; a key on an account without it gets 403. ## Good practice - One key per agent and machine, named for it. - Store keys in environment variables or a secret manager, never in a repository. - Revoke keys you no longer use. **Last used** shows which ones are idle. - Review a model's activity after an agent session: every action is logged under the key's name. --- # Tools reference Source: https://docs.heurastudios.com/agents/tools/ > The four Agent mode tools, every action they take, and the fields each action reads. Agent mode has four tools. `heura_read` takes the action in `what`; the other three take it in `do`. Most actions also take `model`, the model's id. ```json title="A call, as an MCP client sends its arguments" { "do": "add_demo", "model": "quarry-3f9a1c2b7d", "q": "How many orders shipped last month?", "a": "SELECT count(*) FROM orders WHERE ..." } ``` The tools use the Studio's own names for things: a **policy** is a rule or fact, a **demo** is an example, a **correction** is a fix, and an **eval** is a test question. ## heura_read Look. Read-only. | `what` | Fields | Returns | | --- | --- | --- | | `models` | | Every model the account can open. Start here. | | `state` | `model` | The model's full picture: script, counts, versions, settings. | | `changes` | `model`, `since` | What changed since a cursor. Read this instead of `state` again. | | `policies` | `model`, `id` | Rules and facts. | | `demos` | `model`, `id` | Examples. | | `corrections` | `model`, `id` | Fixes. | | `files` | `model`, `id` | Files. | | `evals` | `model`, `id` | Test questions. | | `results` | `model` | Test results, with what each run fixed and broke. | | `runs` | `model` | Training runs and their rounds. | | `serving` | `model`, `full` | The endpoint, website agent and live version. | | `chat` | `model`, `session` | A chat's messages. | | `interview` | `model` | The interview and what it covered. | | `bases` | | The base models the account can build on. | | `engines` | | The engines the account can answer with. | | `usage` | | The account's usage. | Lists return up to 50 rows by default; use `limit` (up to 200) and `offset` to page. Long text in a list is cut short; pass `id` (and `full: true`) for one row whole. ## heura_write Build. Adds and edits reach the model's users at once. | `do` | Fields | | --- | --- | | `create_model` | `name`, `purpose`, `voice`, `kit`, `base`, `color`, `script` | | `update_model` | `name`, `purpose`, `voice`, `color`, `abilities`, `daily_cap` | | `add_policy` | `text`, `kind` (`rule` or `fact`), `topic` | | `edit_policy` | `id`, `text` | | `add_demo` | `q`, `a` | | `edit_demo` | `id`, `q`, `a` | | `import_demos` | `csv` (question and answer rows) | | `add_file` | `name`, `text` or `base64` | | `add_eval` | `q`, `must`, `must_not`, `ideal` | | `edit_eval` | `id`, `q`, `must`, `must_not`, `ideal` | | `evals_from_demos` | | | `ask` | `q`, `session`, `why` | | `good` | `message_id`, `session` | | `fix` | `message_id`, `answer`, `session` | | `interview` | `text` | | `run_evals` | | | `compare` | `engine` (`kind`, `connection`, `model`) | | `train` | | | `evaluate` | `version` (an uploaded version) | | `check_import` | `repo` | | `retry_import` | `id` | | `export` | | All with `model` where the action is about one. ## heura_release Release. Changes what a model's users get. | `do` | Fields | | --- | --- | | `promote` | `version` (`0` is the base model) | | `plug`, `unplug` | `wire` | | `add_tool`, `remove_tool` | `node` | | `auto` | `run_at` (1 to 100, `0` is off), `nightly_evals` | | `update_serving` | `title`, `greeting`, `color`, `allowed_sites` | | `new_api_key` | | | `switch_engine` | `engine` (`kind`: `heura` or `connection`, `connection`, `model`) | ## heura_remove Remove. Deletes or cancels. | `do` | Fields | | --- | --- | | `delete_model` | | | `remove_policy`, `remove_demo`, `remove_file`, `remove_eval` | `id` | | `unqueue` | Takes the model's run out of the line. | | `cancel_openai` | Cancels a GPT fine-tune on OpenAI. | | `cancel_import`, `delete_import` | `id` | | `clear_chat` | `session` | ## Refusals A refused call returns the Studio's own words, the status, and anything that helps, like `retry_after`. The instructions an agent receives on connecting say it plainly: a refusal is the Studio's own words; do what it says and call again. ```json { "error": "Add at least one test question first. Every run is scored on the tests before and after, and a checkpoint that breaks more test questions than it fixes never goes live.", "status": 400 } ``` --- # HTTP interface Source: https://docs.heurastudios.com/agents/http/ > Call the Agent mode tools over plain HTTP and JSON, upload files without passing them through the agent's context, and download packages. Agents that don't speak MCP use the same four tools over plain HTTP. Every request carries the agent key as a bearer token. | Request | What it does | | --- | --- | | `GET /agent` | Lists the tools and their actions. | | `POST /agent/` | Calls a tool with a JSON body. | | `POST /agent/upload/` | Adds a file's raw bytes to a model's files. | | `GET /agent/download/` | Downloads a package an export made. | All under `https://app.heurastudios.com`. ## Call a tool ```bash curl https://app.heurastudios.com/agent/heura_write \ -H "Authorization: Bearer $HEURA_AGENT_KEY" \ -H "Content-Type: application/json" \ -d '{"do": "add_eval", "model": "quarry-3f9a1c2b7d", "q": "What was revenue in March?", "must": ["shipped_at"], "must_not": ["created_at"]}' ``` The body is the same as an MCP call's arguments. See the [tools reference](https://docs.heurastudios.com/agents/tools/). ## Upload a file An agent with a shell can send a document straight from disk, so its bytes never pass through the agent's context. Send the raw bytes as the body and the file's name in `X-Filename`: ```bash curl https://app.heurastudios.com/agent/upload/quarry-3f9a1c2b7d \ -H "Authorization: Bearer $HEURA_AGENT_KEY" \ -H "X-Filename: schema.md" \ --data-binary @schema.md ``` The same limits apply as in the Studio: PDF, Word, text, Markdown, CSV and HTML, up to 20 MB. ## Download a package `heura_write` `do=export` returns the package's file name and a `download` path. Fetch it with the same key: ```bash curl -OJ https://app.heurastudios.com/agent/download/ \ -H "Authorization: Bearer $HEURA_AGENT_KEY" ``` ## Responses Responses are cut down to what an agent acts on: no empty values, no page copy, lists as one header row and data rows, and long text cut short (pass `id` and `full: true` for one row whole). A refusal is JSON with `error`, `status` and, when waiting helps, `retry_after`, with a `Retry-After` header to match. > **Note:** > > Calls from web pages are refused: Agent mode is for agents and scripts, not browsers. --- # API overview Source: https://docs.heurastudios.com/api/overview/ > The OpenAI-compatible API for calling your models' live versions from any language or SDK. *Available on Pro and Studio plans.* The Heura Studios API serves every model's live version in OpenAI's Chat Completions format. Existing OpenAI SDKs and tools work by changing the base URL and the key. ```text https://app.heurastudios.com/v1 ``` | Endpoint | What it does | | --- | --- | | [`POST /v1/chat/completions`](https://docs.heurastudios.com/api/chat-completions/) | Send a conversation, get the live version's answer, whole or streamed. | | [`GET /v1/models`](https://docs.heurastudios.com/api/models/) | List the model a key can call. | *Diagram: An API call: your app posts to /v1/chat/completions with the model's key; Heura Studios checks the key, plan, limits and credits, sends the question with the model's script, rules and matched context to the live version, and returns the answer in OpenAI's format, streamed or whole.* *One request: your app sends the conversation; the Studio checks the key and limits, then the live version answers with the model's context.* ## Keys and models Each model has its own [API key](https://docs.heurastudios.com/api/authentication/), and a key calls only its own model. The `model` field in a request is the model's id (its name and a random ending, like `quarry-3f9a1c2b7d`), shown on its api tab. One key per model means a leaked key exposes one model, and rotating it touches nothing else. ## What's compatible | Feature | Supported | | --- | --- | | Chat Completions request and response format | Yes | | Streaming (server-sent events), with `stream_options.include_usage` | Yes | | Roles `system`, `developer`, `user`, `assistant` | Yes (`developer` is read as `system`) | | Text content, as a string or text parts | Yes | | Images, audio, tools and function calling | Not yet | | `temperature`, `max_tokens`, `max_completion_tokens` | Accepted and validated; the model's own settings decide sampling and length | ## Start here - [Authentication](https://docs.heurastudios.com/api/authentication/): Send the model's key as a bearer token. - [Create a chat completion](https://docs.heurastudios.com/api/chat-completions/): The request, the response and streaming. - [Errors and limits](https://docs.heurastudios.com/api/errors-and-limits/): Every status, code and rate limit. - [API endpoint guide](https://docs.heurastudios.com/ship/api-endpoint/): Using the endpoint from your apps. --- # Authentication Source: https://docs.heurastudios.com/api/authentication/ > Each model has its own API key. Send it as a bearer token on every request. Every request sends the model's key in the `Authorization` header: ```http Authorization: Bearer hs_0123456789abcdef0123456789abcdef ``` ## The key - **Format:** `hs_` followed by 32 hexadecimal characters. - **One per model.** A key calls only the model it belongs to. - **Where:** the model's **api** tab, for the model's owner. Teammates don't see it. - **Stored as a hash.** Heura Studios never keeps the key itself, so copy it when it's shown. ## Rotating a key **New key** on the api tab replaces the key at once: apps and scripts using the old one stop working on their next request. The website agent isn't affected, since it doesn't use the key. ## A missing or wrong key ```json { "error": { "message": "Incorrect API key. Find this AI's key under Deploy in Heura Studios.", "type": "invalid_request_error", "param": null, "code": "invalid_api_key" } } ``` The response is `401`. A valid key on an account whose plan doesn't include the API gets `403` with `plan_required`. ## Keeping keys safe - Call the API from your server. Never put a key in browser or mobile code; for a website, use the [website agent](https://docs.heurastudios.com/ship/website-agent/), which needs no key. - Keep keys in environment variables or a secret manager. - Rotate a key the moment you suspect it leaked. > **Note:** > > Agent keys (`hs_agent_...`) are a different kind of key, for [Agent mode](https://docs.heurastudios.com/agents/keys/). They don't work on `/v1`, and model keys don't work for Agent mode. --- # Errors and limits Source: https://docs.heurastudios.com/api/errors-and-limits/ > The error shape, every status and code the API returns, and the rate limits behind them. Errors use OpenAI's shape, so SDKs raise them as they would OpenAI's: ```json { "error": { "message": "Rate limit reached: up to 60 requests a minute per API key, 120 across one account's keys. Try again in a minute.", "type": "rate_limit_error", "param": null, "code": "rate_limit_exceeded" } } ``` ## Status codes | Status | `code` | Meaning | What to do | | --- | --- | --- | --- | | 400 | `missing_required_parameter` | `model` or `messages` is missing. | Send both. | | 400 | `invalid_value` | A field is the wrong type or out of range, or the last message isn't the user's. | Read `message` and `param`. | | 401 | `invalid_api_key` | No key, or not a key Heura Studios knows. | Use the model's current key. | | 403 | `plan_required` | The model's owner is on a plan without the API. | The owner upgrades on the Plan page. | | 404 | `model_not_found` | `model` isn't the id of this key's model. | Send the model's id. | | 429 | `rate_limit_exceeded` | Over the requests-a-minute limit. | Wait for `Retry-After`. | | 429 | `daily_limit_reached` | The model's answers for today are used. | Try again tomorrow, or raise the cap. | | 429 | `insufficient_quota` | The account is out of credits. | The owner gets more on the Plan page. | | 429 | `concurrency_limit_reached` | The model already has 4 answers in progress. | Retry after `Retry-After`. | | 503 | `warming_up` | Heura Arche is loading after a restart, about a minute. | Retry after a minute. | | 503 | `not_serving` | The model has no Deploy in its pipeline. | Add Deploy back. | | 503 | `engine_unavailable` | The model's outside engine can't answer right now. | Check the connection. | | 503 | `overloaded` | The server has all the answers in progress it takes. | Retry with backoff. | Every 429, and a 503 for a busy or warming server, carries a `Retry-After` header in seconds. ## Rate limits | Limit | Value | | --- | --- | | Requests per key | 60 a minute | | Requests across an account's keys | 120 a minute | | Answers in progress per model | 4 at once | | Messages per request | 200 | | Characters per message | 8,000 | Answers also draw on the account's [credits](https://docs.heurastudios.com/account/plans-and-credits/), and a model can have a daily cap on answers, set in its settings. ## Retrying well - Retry `429` and `503` with exponential backoff, and honor `Retry-After` when it's there. - Don't retry `400`, `401`, `403` or `404`: the request needs changing. - A refused request takes no credit. --- # Create a chat completion Source: https://docs.heurastudios.com/api/chat-completions/ > Send a conversation to a model and get its live version's answer, whole or streamed. `POST https://app.heurastudios.com/v1/chat/completions` ## Request **Body** - `model` (string, required): The model's id, like `quarry-3f9a1c2b7d`. It must be the model the key belongs to. - `messages` (array, required): The conversation, oldest first: objects with `role` (`system`, `developer`, `user` or `assistant`) and `content` (a string, or an array of `{"type": "text", "text": ...}` parts). `developer` is read as `system`. The last message must be the user's question. Up to 200 messages, each up to 8,000 characters. - `stream` (boolean, optional, default `false`): Send the answer as server-sent events as it's written. - `stream_options.include_usage` (boolean, optional, default `false`): With `stream`, add a last chunk with token usage. - `temperature` (number, optional): Accepted for compatibility (0 to 2) and validated. The model's own settings decide sampling. - `max_tokens` (integer, optional): Accepted for compatibility (at least 1), as is `max_completion_tokens`. The model's own settings decide length. The model's script, rules, matched files and closest examples are added by the Studio. Send only the conversation. A `system` message you add is read after the model's own brief, up to 2,000 characters of it. ```bash curl https://app.heurastudios.com/v1/chat/completions \ -H "Authorization: Bearer $HEURA_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "quarry-3f9a1c2b7d", "messages": [ {"role": "user", "content": "How many orders shipped last month?"} ] }' ``` ## Response ```json { "id": "chatcmpl-3b1f0c9a7d2e4f6a8b0c1d2e", "object": "chat.completion", "created": 1795836000, "model": "quarry-3f9a1c2b7d", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "SELECT count(*) FROM orders WHERE shipped_at >= date_trunc('month', now()) - interval '1 month' AND shipped_at < date_trunc('month', now());\nCounts orders shipped in the previous calendar month." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 9, "completion_tokens": 31, "total_tokens": 40 } } ``` Token counts are estimates from word counts, for compatibility; usage is metered in [credits](https://docs.heurastudios.com/account/plans-and-credits/), not tokens. ## Streaming With `"stream": true`, the response is `text/event-stream`. The first chunk carries the role, the next ones carry text, the last one carries `"finish_reason": "stop"`, and the stream ends with `[DONE]`. ```text data: {"id":"chatcmpl-...","object":"chat.completion.chunk","model":"quarry-3f9a1c2b7d","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} data: {"id":"chatcmpl-...","object":"chat.completion.chunk","model":"quarry-3f9a1c2b7d","choices":[{"index":0,"delta":{"content":"SELECT count(*)"},"logprobs":null,"finish_reason":null}]} data: {"id":"chatcmpl-...","object":"chat.completion.chunk","model":"quarry-3f9a1c2b7d","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] ``` An error after the stream has started arrives as a last `data:` event holding an `error` object, in the same shape as an error response. ## Errors See [Errors and limits](https://docs.heurastudios.com/api/errors-and-limits/) for every status and code. --- # List models Source: https://docs.heurastudios.com/api/models/ > Return the model a key can call, in OpenAI's model list format. `GET https://app.heurastudios.com/v1/models` Lists the models the key can call. A key belongs to one model, so the list has one entry. Use it to check a key works and to read the model's id. ```bash curl https://app.heurastudios.com/v1/models \ -H "Authorization: Bearer $HEURA_API_KEY" ``` ## Response ```json { "object": "list", "data": [ { "id": "quarry-3f9a1c2b7d", "object": "model", "created": 1795230000, "owned_by": "Fernbrook" } ] } ``` **Fields** - `id` (string, optional): The model's id: what `model` takes in a chat completion. - `created` (integer, optional): When the model was created, in Unix seconds. - `owned_by` (string, optional): The company named in the model's script, or `heura-studio` when it names none. --- # Changelog Source: https://docs.heurastudios.com/resources/changelog/ > What shipped in Heura Studios, newest first. ## November 27, 2026 - **The notebook workspace.** Tabs drag like browser tabs, tear off into windows floating inside the page with their tools live, and dock back. The console's grab bar pulls the run log up over the editor. **Pop out** and **Put back** are in the command palette, and layouts are remembered per model. [Read more](https://docs.heurastudios.com/workspace/notebook-workspace/) - **Run log and Live events.** The console's log tab shows every line a run prints, live, like a Kaggle notebook's output, with **Download log**. Live events lists everything running for your account. [Read more](https://docs.heurastudios.com/build/training-runs/#watching-a-run) - **Script outline while you type.** `script.md` keeps each outline line visible, faintly, under what you've written until you've covered it. ## November 26, 2026 - **Plans and credits.** Free, Pro and Studio, with monthly credits and credit packs, in **Settings**, **Plan**. Bought credits never expire. [Read more](https://docs.heurastudios.com/account/plans-and-credits/) - **Updated Terms of Service and Privacy Policy**, naming Heura Studios throughout. ## November 25, 2026 - **The train-anything engine and sound models.** Rows of any kind, judges for each kind of output, and the first non-text family: record clips, train, and download a listener that runs offline. [Read more](https://docs.heurastudios.com/build/sound-models/) - **Email verification and password reset.** New accounts verify their email, and Log in has Forgot password. ## November 24, 2026 - **Asteria waitlist.** A tab in the Studio to get in line for Heura Asteria, the GPU family. ## November 23, 2026 - **Heura Arche 0.43.** A new release of the base model every notebook starts from. ## November 18, 2026 - **Rosé Pine.** The Studio's appearance: Rosé Pine Dawn in light mode, Rosé Pine in dark. - **Notebooks.** New model is **New notebook**, and Your models is **Your notebooks**. ## November 17, 2026 - **The notebook.** A model's page is a Kaggle-style notebook: the script in the middle, Data, Tests, Output and Session beside it, the run in a console below. - **Download LoRA.** Every trained version downloads as an adapter with its prompt and model card. [Read more](https://docs.heurastudios.com/ship/download-adapter/) - **Datasets.** 100 ready-made training sets in a new Datasets tab. [Read more](https://docs.heurastudios.com/build/datasets/) ## October 31, 2026 - **Train until right.** Runs train in rounds until every lesson is right and accuracy reaches a target. [Read more](https://docs.heurastudios.com/build/training-runs/#train-until-right) - **Agent mode.** Coding agents work in the Studio over MCP and HTTP with agent keys. [Read more](https://docs.heurastudios.com/agents/overview/) --- # Support Source: https://docs.heurastudios.com/resources/support/ > How to reach the Heura Studios team, get a walkthrough, or report a problem with the docs. - [Email the team](mailto:contact@heurastudios.com): contact@heurastudios.com reaches the founding team. Include the model's id and what you expected. - [Book a demo](https://cal.com/ryan-tian-12q9bf/heura-studios-demo): A 30-minute live walkthrough with the founding team, tailored to what you want your model to do. - [Contracts](https://heurastudios.com): Yearly contracts for larger teams start with a conversation: book a demo or write to us. - [Improve these docs](https://github.com/pooo000/heurastudios-docs): Every page has Edit this page. Open an issue or a pull request on GitHub. ## When you write - **The model's id** (like `quarry-3f9a1c2b7d`), from its api tab. - **What you did and what you expected**, and what happened instead. - **For API errors:** the status, the `code`, and the time of the request. - **For runs:** the run's log, from **Download log** in the console. ## For agents These docs are built to be read by agents too. Every page has **Copy page** and **View as Markdown**, and the whole set is indexed at [llms.txt](https://docs.heurastudios.com/llms.txt), with every page in one file at [llms-full.txt](https://docs.heurastudios.com/llms-full.txt).