# VIABLE Developer Platform > Shared AI infrastructure for learning products and research, operated by VIABLE Lab (a learning-science research lab at the University of Florida). Its OpenAI-compatible VIABLE API brings frontier and open-weight models behind one API key and one base URL (https://api.viablelab.org): chat, multimodal, embedding, image, speech, and transcription models from OpenAI, Google, and open-weight families hosted by VIABLE. On top of model access it adds capabilities built for education: VETTING (Verification and Evaluation Tool for Targeting Invalid Narrative Generation) response verification, multi-step Agents that answer from your own knowledge bases, remember each learner, and go live as an API endpoint or a hosted chat page and widget, and research-grade request logs, so teams can move from model experiments to traceable workflows, research tools, and integrated applications. Key facts: - OpenAI SDKs work by setting `base_url` to `https://api.viablelab.org/v1`. Authenticate with `Authorization: Bearer ` from server-side code only. - VETTING (`POST /v1/chat/vetting`, `POST /v1/vetting/full`) verifies each reply against hidden guidance or an answer key and revises failed drafts before returning. Use it for tutoring and feedback that must not give away answers. VETTING comes from peer-reviewed classroom research: [middle school study](https://doi.org/10.1016/j.caeai.2026.100646), [open-source reference implementation](https://github.com/hichipli/vetting-python). - Agents are workflows built in the developer dashboard (canvas or graph JSON) and published as `POST /v1/agents/{slug}/runs`, with a Chat Completions adapter and idempotent background jobs. Server-kept conversations summarize older turns only as they near the model's context limit. - An agent designer drafts a workflow from a plain-language description, reading pages the description links to. Inside the editor, an assistant reads the agent's recent runs and proposes changes the developer reviews before applying. - Knowledge bases hold crawled websites (re-crawled on a schedule), uploaded files (PDF, Office, text) and pasted text. Agent knowledge steps search them, read whole sections, and return numbered citations; menus and footers repeated across a site are left out of the index. - Memory keeps durable facts about each end user across conversations when runs send the same `user`; developers can review and delete stored facts. - Hosted chat pages put a published agent in front of students or library patrons with no code: turn it on under the agent's Connect tab, choose the project key that pays for it, a daily message cap, and the sites allowed to embed it. Share `https://page.viablelearning.org/chat/{slug}`, or paste one script tag (`https://page.viablelearning.org/embed.js`) into LibGuides, LibAnswers or any website for a chat button; Canvas and other script-free editors take an inline frame. Visitors need no account or key, and answers show their sources. - VIABLE aliases `viable-1` (quality), `viable-2` (balanced), and `viable-3` (fast) are stable names for managed models. Retired model IDs return HTTP 410; requests are never silently redirected. - Open-weight models run on VIABLE infrastructure next to frontier models, with the same key, limits, request logs, and cost tracking. - Bring your own provider key: add OpenAI, Gemini, UF NaviGator, OpenRouter, or any OpenAI-compatible keys, personal or shared with a project. Calls bill that provider instead of VIABLE credits, with the same key, base URL, logs, VETTING, and Agents. One provider key can hold many keys that rotate when one runs out, is rate-limited, or is rejected. Use `"model": "@/"` to call any model on a key; responses carry `X-Viable-Billing`. - Request and response text is kept by default so requests can be replayed and exported; credentials are always redacted. - Optional request headers `X-Platform-ID`, `X-Platform-Name`, `X-Operation-Type`, and `X-Request-ID` tag each logged request by product or study, feature, and session, so logs can be filtered, aggregated, and exported per tag. - The Agent builder supports real-time collaboration in shared projects (owner, editor, viewer roles), which also makes it usable for teaching agent design in class. - Teachers run courses (one link, sections, activities with Questions, Writing, Reading or an embedded page beside an AI, opening times, progress); researchers run observational or comparative studies over courses and chat pages, with consent, conditions, assignment, coding and a documented export. Learners open chat pages and courses at https://page.viablelearning.org (`/chat/SLUG`, `/course/CODE`); [Chat pages and courses](https://developers.viablelab.org/pages) explains both. - Coding agents can set up the VIABLE CLI and its Agent Skill from https://www.viablelab.org/downloads/viable-cli.md, then manage keys, logs, usage, Agents, knowledge bases, chat pages, courses, studies, learners, question sets, research exports and coding with the signed-in user's permissions. ## Guides Short task pages by role, written for people and read as they are by agents. Each is Markdown at its address plus `.md`. ### Get started - [What's what in VIABLE](https://developers.viablelab.org/docs/start/how-it-fits.md): The VIABLE Learning Platform, the VIABLE Developer Platform, the VIABLE Engine and the VIABLE Harness - what each is for, and which website is which. - [Key ideas](https://developers.viablelab.org/docs/start/key-ideas.md): Agents, activities, studies and evidence - the four ideas the VIABLE Developer Platform is built on, and who does what. - [Glossary](https://developers.viablelab.org/docs/start/glossary.md): Look up the words VIABLE uses on screen and in these docs, each in one line, with a link to where it is explained. - [VIABLE Open Kit](https://developers.viablelab.org/docs/start/open-kit.md): VIABLE's public code, MIT licensed. The VIABLE Harness makes any AI agent teach the way a teacher wants. The VIABLE Engine runs classes on your own server. ### Teach - [Teach on the VIABLE Learning Platform](https://developers.viablelab.org/docs/teach/learning-platform.md): Sign in, say what you're teaching, and get a course with a link for your class, with no agents or keys to set up. - [Your first class](https://developers.viablelab.org/docs/teach/first-class.md): Make a course, add one activity with an AI, share its link or QR code, and see your first learner in Progress. - [Activities and panels](https://developers.viablelab.org/docs/teach/activities.md): Choose an activity's kind, give learners panels to work in, show them in steps, and set what the AI sees. - [How the AI helps](https://developers.viablelab.org/docs/teach/ai-helps.md): Tell the AI what an activity is for, how much it does, when it writes first and what its reviewer reads. - [Standards, skills and misconceptions](https://developers.viablelab.org/docs/teach/standards-and-skills.md): Align an activity to a K-12 standard or a durable skill, and give its AI common math misconceptions to listen for. - [Learners and sign-in](https://developers.viablelab.org/docs/teach/sign-in.md): Choose how learners sign in, set up sections and a class list, print code cards, and give a section its own times. - [Sharing a course](https://developers.viablelab.org/docs/teach/sharing.md): Share one course by email with a teacher who runs it or an assistant who follows it, without giving them the rest of the project. - [Following progress](https://developers.viablelab.org/docs/teach/progress.md): See who has done what, act on what the AI flags and on suggested changes to how it helps, open a learner's work, and download progress with names. - [Question sets](https://developers.viablelab.org/docs/teach/question-sets.md): Write, import or draft questions with AI, then use one set as practice in one activity and a quiz in another. - [Examples and packages](https://developers.viablelab.org/docs/teach/examples-and-packages.md): Start from a working example, download any course with or without its files, and move it to another project. Learners and keys never travel with it. ### Research - [Your first study](https://developers.viablelab.org/docs/research/first-study.md): Start a study from your situation and work through its checks until it is ready to open. - [Choosing a study design](https://developers.viablelab.org/docs/research/designs.md): Choose whether a study follows use, compares units or compares groups, and where it runs. - [Consent and taking part](https://developers.viablelab.org/docs/research/consent.md): Choose what people are told or asked, handle minors and paper forms, and withdraw someone who asks. - [Conditions and assignment](https://developers.viablelab.org/docs/research/conditions.md): Set what differs between conditions and who gets which, then open, pause and close a comparative study. - [Coding conversations](https://developers.viablelab.org/docs/research/coding.md): Code a sample of messages with a codebook, add model coders, check agreement and decide the final codes. - [The research export](https://developers.viablelab.org/docs/research/export.md): Download a study's documented ZIP, read its consent marks, cite what learners saw, and delete a learner's data. ### Build agents - [Your first agent](https://developers.viablelab.org/docs/build/first-agent.md): Make an agent from a template, try it on your own key, change one step, publish it and read one run step by step. - [Steps](https://developers.viablelab.org/docs/build/steps.md): Choose the right step for each job, set it up in its panel, and edit, share and version an agent's workflow. - [VETTING](https://developers.viablelab.org/docs/build/vetting.md): Have an independent reviewer check each reply against your rules, and decide what learners see when none passes. - [Knowledge bases](https://developers.viablelab.org/docs/build/knowledge.md): Add documents and websites to a knowledge base, choose how it finds passages and who pays, and have agents search it and cite their sources. - [Testing and run history](https://developers.viablelab.org/docs/build/testing.md): Try your draft on a key you choose, run one step alone, read every step of any run, and see what people ask the published agent. - [Agent tests](https://developers.viablelab.org/docs/build/agent-tests.md): Keep cases of what learners might say and what a good reply does, and run them on a version before you publish. - [Chat pages for websites](https://developers.viablelab.org/docs/build/chat-pages.md): Put a published agent on a website as a link, a QR code or a chat button, within limits you set. ### Connect an app - [Your first run](https://developers.viablelab.org/docs/connect/first-run.md): Create an API key, run a published agent from your server for one of your users, and find that run in VIABLE. - [Learners and traces](https://developers.viablelab.org/docs/connect/learners-and-traces.md): Name your app's users as learners, keep their conversations, and store a trace of what each run did. - [Send learning data](https://developers.viablelab.org/docs/connect/learning-data.md): Record what learners do in your app (events, drafts, ratings and scores) so it joins their learner record and the research export. - [Background jobs and retries](https://developers.viablelab.org/docs/connect/jobs-and-retries.md): Pick the right route for an agent call, run long work as a background job, and retry without running a turn twice. - [Your page in an activity](https://developers.viablelab.org/docs/connect/embed.md): Put your own web page inside a course activity, record what learners do in it, and let the AI beside it know. - [Build → Apps](https://developers.viablelab.org/docs/connect/apps.md): See what each app's learners did, what it still needs, and connect any app with one message to your coding AI. - [Connect your AI assistant](https://developers.viablelab.org/docs/connect/assistants.md): Add one address to your assistant to find standards and misconceptions and write teaching instructions. Add a key to check replies and run agents. ### Run a project - [Members and roles](https://developers.viablelab.org/docs/project/members-and-roles.md): Make a shared project, invite people in the right roles, and hand the project to a new owner. - [Keys, credit and costs](https://developers.viablelab.org/docs/project/keys-and-costs.md): Give each app, course and chat page a key paid the way you intend, and know who pays for every request. - [Request logs and usage](https://developers.viablelab.org/docs/project/logs-and-usage.md): Find any request your project made, see the model calls inside an agent run, export logs, and track what it all costs. - [The CLI and Agent Skills](https://developers.viablelab.org/docs/project/cli.md): Let your own AI work in VIABLE as you: build a course, set up a study or connect an app, with one message to set it up. ### Open resources - [Learning Commons](https://developers.viablelab.org/docs/resources/learning-commons.md): How VIABLE uses Learning Commons' Knowledge Graph for standards, skills and math misconceptions, what it keeps, and how to credit it. - [Licenses and credit](https://developers.viablelab.org/docs/resources/licenses.md): What VIABLE builds on, under which licenses, and how to credit it when you publish materials, papers or data. ### VIABLE Harness - [VIABLE Harness](https://developers.viablelab.org/docs/harness/overview.md): Give any AI agent what a good teacher has in mind, before it replies. - [How the Harness works](https://developers.viablelab.org/docs/harness/how-it-works.md): The Harness is about 10,000 lines of JavaScript with no dependencies, and two compact data files. - [Building for learners](https://developers.viablelab.org/docs/harness/for-builders.md): Teachers and researchers now build classroom tools by describing them to a coding agent. - [With your stack](https://developers.viablelab.org/docs/harness/with-your-stack.md): You already have an AI app or an agent, in any language or framework. You won't rewrite it. Two ways in: - [Add your work](https://developers.viablelab.org/docs/harness/add-your-research.md): Guidance from research, a dataset, a tool that reads conversations, open material or a resource to list: each has its own way into the library. - [Components](https://developers.viablelab.org/docs/harness/components.md): You have research: a framework, a list of misconceptions, a classifier, a way to rate replies. - [Ways to arrange an activity](https://developers.viablelab.org/docs/harness/designs.md): What a whole activity can be, from research. - [Resources: from a public good to your agent](https://developers.viablelab.org/docs/harness/resources.md): A list of datasets is what the K-12 AI Infrastructure Program's own platform already is. - [What a first check showed](https://developers.viablelab.org/docs/harness/evidence.md): November 2026. A small check, to decide whether the part before the reply is worth building. It is not a study of learning. - [The scorecard](https://developers.viablelab.org/docs/harness/scorecard.md): What the Harness guarantees, checked on every case, and how well its rules read, measured on cases they were not written from. - [Agent tests](https://developers.viablelab.org/docs/harness/agent-tests.md): An agent test is a case written from what a teacher or builder wants: the learner's message (or a short conversation), what a good reply does, and what it… - [The MCP server](https://developers.viablelab.org/docs/harness/mcp.md): The Harness's parts are MCP tools, so an assistant, a harness of your own or an app on another agent SDK can prepare what a moment of teaching needs, check… - [The xAPI profile for learning events](https://developers.viablelab.org/docs/harness/xapi.md): Schools' learning record stores (LRSs) read xAPI. ### VIABLE Engine - [VIABLE Engine](https://developers.viablelab.org/docs/engine/overview.md): AI tutors, courses and class lists on your own server, set up in the browser. - [Running VIABLE agents on your own server or cloud](https://developers.viablelab.org/docs/engine/self-hosting.md): Build an agent or a course on VIABLE's hosted platform, then run it somewhere you control, with your own model keys: Cloudflare, AWS, Google Cloud,… - [Try it](https://developers.viablelab.org/docs/engine/try.md): Or, in a clone, viable-engine try, with a package or an agent file if you have one. - [Putting this in front of learners](https://developers.viablelab.org/docs/engine/deploying.md): This guide is for anyone who puts the Engine or the Harness in front of learners: a school or district, a researcher, or a developer building a learning… - [The pages learners see](https://developers.viablelab.org/docs/engine/learner-pages.md): It prints where each page opens. - [Step manifests](https://developers.viablelab.org/docs/engine/step-manifests.md): Each step type an agent graph can use has one manifest in src/agents/steps/.js. - [Using the command lines](https://developers.viablelab.org/docs/engine/guide.md): The reference for the command line, what a local run does, the services a host passes in, the open formats and the measures. ## Docs - [All docs](https://developers.viablelab.org/docs): The guides by role, the API reference and the CLI. - [Examples](https://developers.viablelab.org/docs/examples): Four whole courses to start from, each with its activities, agents, question sets and how the AI helps, to use in a project or download as a package. - [How it works](https://developers.viablelab.org/docs/how-it-works): What the VIABLE Harness gives a model before it replies, for one activity and one message, from its real output. No model is called. - [Library](https://developers.viablelab.org/docs/library): Guidance from learning research that a teacher can choose, and the public education resources the VIABLE Harness can reach, connected ones grouped by how (test suites, calibration sets, judges, measures, lookups, knowledge folders, built in) with each one's command and what its results can and can't show, then how to add yours. The resources as Markdown: https://github.com/VIABLE-Learning-Lab/viable/blob/main/harness/docs/catalog.md - [API guide for agents](https://developers.viablelab.org/agents/viablelab-api.md): Complete integration guide in Markdown: endpoints, request shapes, Agent graph JSON contract, VETTING, limits. - [API reference](https://developers.viablelab.org/docs/api): Every public endpoint with fields, response samples, errors, and limits, generated from OpenAPI. - [Quickstart](https://developers.viablelab.org/quickstart): Create a key, send a first request, and find it in request logs. - [Model catalog](https://developers.viablelab.org/models): Models with context windows, parameter support, and pricing. ## Machine-readable - [OpenAPI 3 contract](https://developers.viablelab.org/openapi/openapi.json): The public schema. - [Live metadata](https://api.viablelab.org/v1/docs/metadata): Models, endpoints, and quickstarts as JSON. No key required. - [Model list](https://api.viablelab.org/v1/models): Live catalog with capabilities and pricing. No key required. - [Example: equivalent fractions, grade 5](https://developers.viablelab.org/docs/examples/fractions-practice.json): Course package (viable.course-package, version 1): practice with a VETTING tutor on standard 5.NF.A.1 and four Eedi misconceptions, then a post-test without the AI. - [Example: reading with a Socratic tutor](https://developers.viablelab.org/docs/examples/moon-phases-reading.json): Course package: a PDF reading (a file the package names by address) with a tutor on the left that sees the page, then questions with the AI gone. - [Example: argument essay](https://developers.viablelab.org/docs/examples/argument-writing.json): Course package: a high-school argument essay with a plan, a rubric, a lock on hand-in and an AI that only checks the learner's own work. - [Example: speaking practice in English](https://developers.viablelab.org/docs/examples/english-conversation.json): Course package: a voice conversation at a café for English learners, transcribed and answered aloud, with open-weight models. - [Example: density lab](https://developers.viablelab.org/docs/examples/density-lab.json): Course package: an embedded web page that reports each prediction to the activity, with a coach in the corner that sees the learner's trials. - [Example: library research help](https://developers.viablelab.org/docs/examples/library-research-help.json): Course package: a research desk that answers from a knowledge base of four library guides with citations, on the durable skill CT.2.2. ## Optional - [CLI setup guide](https://www.viablelab.org/downloads/viable-cli.md): Installs the VIABLE CLI and Agent Skill for coding agents. - [OpenAPI viewer](https://developers.viablelab.org/openapi-reference): Schema browser for every public path and component. - [VIABLE Lab](https://www.viablelab.org/): The research lab behind the API.