What's new¶
What changed in each release, newest first. tuvl 2.0.0 was a redesign: workflows are graphs of typed agents, every run is durable and journaled, and projects are built spec-first. The full list of changes is in the changelog.
License: Apache 2.0
tuvl is licensed under the Apache License, Version 2.0, which includes an express patent grant. Using, modifying and selling software built on tuvl is free. The license
New in 2.1.1¶
Coding agents get tuvl's knowledge and stop at the decisions that belong to a person. Also safer dependency minimums.
Install it with uv tool install "tuvl[standard]==2.1.1" (or pip install "tuvl[standard]==2.1.1").
Before you upgrade from 2.1.0
tuvl deploycan now stop for approval. Run by a coding agent, or by a script with no terminal and neitherCI=truenorGITHUB_ACTIONS=true, it exits 3 until a person runstuvl approve deploy DIGEST. A deploy from cron, or from a CI system that sets neither variable, is affected. A person at a terminal and GitHub Actions see no change.cryptography>=50.0.0is required. An environment that pins an older one has to lift the pin.
Nothing in your YAML has to change. In a project, run tuvl update skills to get the new skills.
Security
- Safer dependency minimums.
cryptography>=50.0.0andopentelemetry-api>=1.45.2. The 2.1.0 lockfile already used fixed versions, but the declared minimums still let an environment keep or pick a version with a known vulnerability.
Coding agents
- The tuvl agent, for every coding agent. Two new skills,
tuvl-agentandtuvl-install, and a plugin for Claude Code, Codex, GitHub Copilot CLI, Cursor, Gemini CLI and Antigravity at tuvl-io/tuvl-agents.tuvl initalso writesGEMINI.md. Coding agents - Approvals only a person can give.
tuvl approve specrefuses inside a recognised agent's shell, and a deploy an agent starts waits fortuvl approve deploy. These checks stop an agent acting on its own initiative. They are not a security boundary, and an agent recognised only by having no terminal is not held attuvl deploywhenCI=trueis set in its shell. What each agent reads - Model tiers per task.
tuvl use agent <agent> --tier light=… --tier standard=… --tier deep=…picks the model for each tasktuvl generate code --specruns.
Command line
tuvl upgrade selfmoves this machine's tuvl to another version from PyPI. It shows the command and how to undo it, and a person confirms by typing the version.--checkchanges nothing; only--tomoves to an older version. CLI reference
Packaging
- The website is tuvl.org. README links work on PyPI, and
tuvl-insighthas project links there. @tuvl/client2.1.1 is released alongside; its code is the same as in 2.1.0.
New in 2.1.0¶
Production IAM, an environment manifest, a thinner engine, tuvl deploy, and a security and reliability review. Install it with
uv tool install "tuvl[standard]" (or pip install -U "tuvl[standard]"). Nothing in your YAML has to change; read Before you upgrade
below if you run a production server.
Identity and access
tuvl iammanages users, roles and scopes inside the deployment.kubectl exec -it deploy/<app> -- tuvl iam roles list: the administrator signs in and the command works on the database directly. Roles can be disabled, the last administrator cannot be removed, andreset-adminis the break-glass. Production IAM- Roles and the first administrator are seeded once. A
kind: RoleSeeddocument andTUVL_BOOTSTRAP_ADMIN_EMAIL/_PASSWORDcreate them on the first boot of an empty database, under an advisory lock, and never touch a database that already has users. - Set-password links.
POST /auth/admin/users/{id}/invite, ortuvl iam users invite, makes a one-time link that lets a user choose their own password. Set-password links - Role management from your own screen. A separate
rolesAPI group (scoperoles:manage, off in production until you expose it) lists roles, adds and removes members, and disables or enables a role. - Approvals by scope. A
humanagent or a loop tool'sapprovalrule can sayrequired_scopeinstead of, or as well as,required_group, so a role created at runtime can decide approvals.PATCH /auth/admin/roles/{role_id}edits a role's description and active flag. - Rotate the signing key without signing anyone out.
TUVL_SIGNING_KEY_PREVIOUSkeeps verifying the tokens already issued. Rotating the key
Project and deployment
kind: EnvConfigdeclares the environment a project needs. Variables get a description,secret,requiredand adefault;tuvl lint projectchecks them,tuvl shipwrites the Secret list, the chart values and.env.examplefrom them, a production server refuses to start without a required one, and Insight has a Settings → Environment page. Environment variablestuvl deploydeploys to a tuvl cloud. It packages the project, uploads it with a client token and follows the build and the deployment.--check-dnstells whether a name is free and points at the cloud,--set-hostnamerenames the deployed app,--admin-emailcreates the app's administrator with a password made on your machine, and the project's web UI is deployed with it (the backend is served asapi.<name>). Deploy to a tuvl cloudtuvlis the engine; the developer tooling is intuvl-insight. The production wheel has 160 modules instead of 264.tuvl[standard]installs both, and it is still onetuvlcommand: on a bare install the development commands answer with how to install them. Core and Insight
Operations
GET /readyis the readiness probe (the Helm chart uses it);/healthalso fails when the worker's poll loop is gone.tuvl prune runs --older-than 30dremoves finished runs with their journal, checkpoints and drafts (TUVL_RUN_RETENTION_DAYSdoes it from the worker). Runtime- Boot says how many unfinished runs a changed workflow will fail, and the runtime page has a runbook for deploying one.
loop.tool_choice: requiredholds every model turn of a loop to a tool call;TUVL_LLM_MAX_CONNECTIONScaps model connections. Loop and tools- Google Cloud Storage works with HMAC keys. Blob storage
Security and reliability. A review of the engine before 2.1 closed these:
- Wrong passwords are slowed per login and per address (
429withRetry-After), and one password rule (8 to 72 bytes) holds everywhere. - A browser sign-in through a provider must finish in the browser that started it, and Google and Microsoft use PKCE.
- Fields marked
secure: trueare left out of CRUD responses unless the token has<model>:read_secure, and are masked in prompts and tool results. - The
httptool reads${VAR}only from the workflow's own text, cannot be sent to an inside host or the cloud-metadata address by input, and reads at most 10 MiB. - A JSON body over 1 MiB is
413; a protected trigger answers401before it reads the body; an anonymous caller of a public trigger gets the kind of error, not its text. - Workers survive a failing database call, a run whose worker is lost is finished rather than stranded, lists page in a stable order,
PATCHcan set a field tonull, and a refused write is409or422, not500.
Before you upgrade a production setup: the REST IAM admin routes (/auth/bootstrap, /auth/admin/*) are no longer mounted
in production by default (use tuvl iam, or add iam to spec.api.expose); the extras tuvl[codegen], [test], [tui],
[review] and [pdf] are gone (use tuvl[standard]); and tuvl's Python modules for the tooling moved to tuvl_insight.
Clients also see the behaviour changes above: 429 on repeated wrong passwords, secure fields needing read_secure, 400 for an OAuth
callback without its cookie, and no error text for an anonymous caller of a public trigger. New tuvl_system_* tables and four run
indexes are created at the next boot; a project made by tuvl init on a beta should now depend on tuvl[standard]>=2.1.0 and run uv lock --upgrade.
The full list is in the changelog.
New in 2.0.3¶
A security patch release. Only dependencies change; nothing here changes how an existing project runs.
- Patched Python dependencies.
PyJWT,starlette,python-multipart,mcp,cryptography,pypdf,anyio,certifi,idna,opentelemetry-apiandpydantic-settingsmove to releases that fix their published advisories. tuvl signs and verifies its tokens with local EdDSA keys only, so mostPyJWTadvisories (key sets, PEM handling) did not reach it; the form-parsing ones reach the upload endpoints, and themcpones reach/mcpwhen the export is on. - Higher minimum versions.
PyJWT[crypto]>=2.15.0,starlette>=1.3.1,python-multipart>=0.0.31,mcp>=1.30.0(extramcp) andpypdf>=6.21.4(extrapdf), so an install that resolves to the lowest allowed version is no longer vulnerable. Upgrade withuv tool upgrade tuvl, orpip install -U "tuvl[standard]". - The Insight UI's dependencies are updated (
vite,react-router-dom,js-yaml,minimatchand others). Its typecheck, lint, unit tests and browser smoke tests pass on the new versions.
The full list is in the changelog.
New in 2.0.2¶
A patch release. Nothing here changes how an existing project runs.
tuvlstarts on Windows. Every command failed at import withNo module named 'fcntl'. The telemetry outbox locks now work on Windows, commands started from Insight run there too, and CI installs the wheel and starts the CLI on Windows.- Gemini loop agents keep their tool-call signatures. Gemini 3 returns an opaque
thought_signaturewith each tool call and rejects the next request if it is missing. tuvl now keeps it and sends it back, in streaming and non-streaming calls. - A
note:line under a spec step.- note: <text>is free text no check reads, for saying why a step is built the way it is. When a step line does not parse, the error now lists the lines a step takes. Spec-driven development - The spec checker follows what the engine builds.
tool storageandtool httpsteps can route the signals they emit (not_found,http_404), an optional trigger input written`x`? (str)is kept, and anInput:field that does not parse is reported instead of dropped. llm.memory.retentionno longer breakstuvl run tests. The retention sweep did nothing useful on the offline SQLite test database and crashed; it now skips it.- The
agent-codeskill lists the effects the schema accepts:read,writeanddestructive(defaultwrite).
The full list is in the changelog.
New in 2.0.1¶
A patch release: a token's iat is never ahead of the clock, the first memory-retention and draft sweeps no longer wait for
the machine to have been up, and tuvl-insight has a project description on PyPI. Releases are published from the public
repository with provenance.
New in 2.0.0b10¶
-
Answers that stream
llm: { stream_tokens: true }sends the text of one output field to the run's event stream while the model writes it. The result, validation, token count and retries are the same as without it; a rejected or retried answer tells the client to drop the draft; and the validator refuses it next to an output guardrail, because text a guardrail could still refuse must not be shown. Insight shows the draft under the running step, and@tuvl/clienthashandle.onToken(...). Existing clients are unchanged: drafts come only with?drafts=true. API, Engines -
Steps that run side by side
The new
parallelengine runs two to sixteen read-only branches (database reads, HTTP GETs, storage reads,llm, read-onlycode) at the same time and joins their outputs, so a step takes as long as its slowest branch. The branches are declared in the YAML, checked before anything runs (V040-V042), priced as the sum of their budgets, journaled branch by branch and mocked one by one in offline tests; a worker killed mid-fan-out is resumed on another. Aloopalso runs the read-only tool calls of one model turn together. Engines -
Agents that remember, under your rules
llm.memoryandloop.memoryput an owner's earlier turns into the prompt and store the result afterwards. The owner is the signed-in user, the tenant or a named input, chosen in YAML and never by the model; recalled text is fenced as data; secure fields are refused; the recalled tokens count against the policy's cost cap; and every recall is journaled. A person can be forgotten (tuvl prune memory, or a button in Insight), andretentionandtuvl.memory_compactkeep it small. Engines, Memory in Insight -
A Memory page and a parallel step in Insight
Browse what agents remember, per collection and owner, and forget one memory or one person. The canvas has a Run lookups in parallel preset, and the run timeline names each branch with its time. Insight
-
Skills for what b8 and b9 added
The coding-agent skill set now covers triggers, file uploads, webhooks and per-signal outputs (
tuvl-workflow), the collection tool, and the new streaming, parallel and memory features.tuvl update skillsadds them to a project.
New in 2.0.0b9¶
-
Collections in workflows
A
loopagent can search a collection as a tool (- collection: kb_docs): the model supplies the query, andtop_kand the filter are fixed in the YAML. In Insight the vector search and ingest steps pick their collection from the configured ones, and a Retrieve and answer step adds a search routed into an answering model that cites its sources. Loop and tools, Embeddings & Collections -
A better agent panel in Insight
An
llmorloopagent picks its AI model from the configured presets, takes its prompt, steering, skills, MCP servers and judge from stored artifacts pinned to a version, and the whole agent can be edited as YAML. Insight -
Ideas from Insight
Upload an idea (files, a folder or text) on the Ideas page and generate a spec from it with your coding agent, after asking for consent. Authoring
-
Provenance on PyPI
tuvlandtuvl-insightare published with PEP 740 attestations again, and the release fails if PyPI has none for any file.
New in 2.0.0b8¶
-
Commands are actions:
tuvl <verb> <thing>
The pipeline reads in order:
init,import idea,generate spec,approve spec,generate tasks,generate code,verify spec,run tests,ship. Each verb makes one promise:generatewrites files,lintruns static rules,verifychecks that two things are in step,checkasks whether something works now,listandshowonly read. The earlier names are gone; runtuvl generate codeonce after upgrading. Command reference -
Specs and tasks in Insight and the terminal UI
Approve, send back, reopen and derive tasks from Insight or the terminal UI. A task opens in a panel you can drag and pop out, with what it builds, what it waits for and the spec section it came from. Graph draws the tasks as a tree in execution order. A blocked task says why; a failed run keeps a report of every attempt.
tuvl show taskprints the same. Insight -
Webhooks and file uploads
A workflow can send a signed notification when a run completes, fails or waits for a person, and a trigger can accept
multipart/form-dataand pass the run a reference, never the bytes. Webhooks, API -
Production server and keys
tuvl serve appshuts down cleanly behind an ingress and exposes only the route groups you choose (spec.api.expose).TUVL_SIGNING_KEYis the only name for the signing key. Authentication -
Nest: the public catalogue
Applications built with tuvl can be listed at nest.tuvl.io.
tuvl register projectshows the exact payload first and asks; sign-in is GitHub's device flow. Run your own with--nest URLorTUVL_NEST_URL. Project and catalogue -
Tools: Laya Serve and Flightlog
A new Tools section. Laya Serve is the container image of the Laya decision model that
decideagents can use. Flightlog is the collector for developer telemetry, as a small Python service and as a tuvl project. -
Developer telemetry (optional)
Share what developers do on a project through a collector your team runs, and see what the others did in Insight and with
tuvl list team-activity. A token per developer, initials from registration, token rotation, and a private certificate authority. Developer telemetry -
Failures and branches in Insight
A failed task keeps a report of what was tried and why it failed. Tasks are drawn as a graph, and a tree of branches shows parallel work, commits and what should merge first. Long jobs started from Insight survive a reload. Insight
Highlights¶
-
Authoring with your coding agent, acceptance without one
tuvl initfinds the agents you have;tuvl import ideanumbers an idea,generate spechas your agent draft the spec on a branch, a person approves it,generate tasksderives the tasks, andgenerate code --specbuilds each task on its own pull request. Every step is in a local audit ledger, andtuvl devshows the path in a terminal UI. Authoring -
Typed agents, nine engines
code,tool(db / http / storage / mcp),decide,llm,loop,map,parallel,human,pending— one contract (inputs,outputs, signals) for all of them. Named ends replaceResponsesteps. Engines -
Checked before it runs
tuvl lint projectchecks contracts, data flow, types and policy (V001–V036) and prints each workflow's determinism profile and worst-case token cost. Agentic Manual -
Durable runtime
Runs, journal and checkpoints in Postgres; leases so any worker continues any run; waits for people and tool approvals; compensation; pause, resume, abort, steer; replay. Runtime
-
Rules first, models bounded
decideevaluates rules before a decision model and never falls back silently;loophas hard budgets, per-tool approval and a supervisor; judges are calibrated and cached. Decide · Loop and tools · Judges -
Spec-driven
The coding agent builds; tuvl referees.
tuvl lint specchecks the spec,tuvl verify specchecks the build against it, and task status is derived, never self-reported.tuvl generate code,tuvl run testsandtuvl generate lockare deterministic;tuvl serve mcpand 14 skills for coding agents. Spec-driven development -
Fan-out with
map
engine: mapruns a child workflow once for every item of a list, a few at a time. Each item is a run of its own with its own journal, a crashed parent follows the children it already started, andon_error: collectkeeps going and routespartial.tuvl lint projectprices it at the child's worst case timesmax_items. Engines -
Blob storage
Named stores in
storage/*.yamlfor S3 and compatible services, Azure Blob, Google Cloud Storage and local disk, used bytool: { use: storage }andctx.storage(name). Built on tuvl's own HTTP client, so no cloud SDK is installed. Keys, prefixes and read-only stores are checked before a run (V030–V034). Blob Storage -
Insight 2.0
Specs and task board, a canvas over the same YAML, runs with breakpoints and step mode, approvals, change-engine checks against pinned fixtures, judge calibration. Insight
-
REST, SSE, MCP
gRPC is gone. OpenAPI is generated from contracts; workflows can be exported as MCP tools;
@tuvl/client2.0 generates typed clients. API -
Ship and scale
tuvl shipgates on validation and the lock, pins the engine version and installs only the features your project uses; the Helm chart can split API and worker pods. Shipping -
Project identity and the catalogue
tuvl initwrites.tuvl/project.yamlwith a self-checking id, author, type and version. Edit it withtuvl set projector in Insight, and list the project on nest.tuvl.io withtuvl register projector the Register button. Project and Catalogue -
Verb-first commands
Commands read as
tuvl <verb> <noun>:tuvl generate code,tuvl list specs,tuvl verify spec,tuvl set project,tuvl review code,tuvl serve app. The server shuts down cleanly on a stop signal. CLI reference -
Schedules, uploads and webhooks
API and schedule triggers are switchable and a scheduled run carries its input (
trigger.schedule: { cron, enabled, input }, validated as V019). Thefiletype andhttp.uploadtake multipart uploads (V037).spec.webhookssends signed, minimal notifications when a run ends. Webhooks · API -
A lighter install: built-in model client
tuvl calls models with its own HTTP client instead of litellm, exports telemetry over OTLP/HTTP instead of gRPC, and keeps
mcp,redis,pgvectorand the development tools out of the base install. A bare install is about 65 MB, down from 320 MB in 2.0.0b4, and a shipped image adds only the extras the project uses. OpenAI, Anthropic, Gemini, Azure OpenAI, Bedrock, Vertex AI, Cohere, Ollama and any OpenAI-compatible endpoint or gateway are built in. Models and Providers
The examples show every pattern on 2.0.