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 deploy can now stop for approval. Run by a coding agent, or by a script with no terminal and neither CI=true nor GITHUB_ACTIONS=true, it exits 3 until a person runs tuvl 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.0 is 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.0 and opentelemetry-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-agent and tuvl-install, and a plugin for Claude Code, Codex, GitHub Copilot CLI, Cursor, Gemini CLI and Antigravity at tuvl-io/tuvl-agents. tuvl init also writes GEMINI.md. Coding agents
  • Approvals only a person can give. tuvl approve spec refuses inside a recognised agent's shell, and a deploy an agent starts waits for tuvl 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 at tuvl deploy when CI=true is 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 task tuvl generate code --spec runs.

Command line

  • tuvl upgrade self moves 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. --check changes nothing; only --to moves to an older version. CLI reference

Packaging

  • The website is tuvl.org. README links work on PyPI, and tuvl-insight has project links there.
  • @tuvl/client 2.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 iam manages 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, and reset-admin is the break-glass. Production IAM
  • Roles and the first administrator are seeded once. A kind: RoleSeed document and TUVL_BOOTSTRAP_ADMIN_EMAIL / _PASSWORD create 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, or tuvl 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 roles API group (scope roles:manage, off in production until you expose it) lists roles, adds and removes members, and disables or enables a role.
  • Approvals by scope. A human agent or a loop tool's approval rule can say required_scope instead 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_PREVIOUS keeps verifying the tokens already issued. Rotating the key

Project and deployment

  • kind: EnvConfig declares the environment a project needs. Variables get a description, secret, required and a default; tuvl lint project checks them, tuvl ship writes the Secret list, the chart values and .env.example from them, a production server refuses to start without a required one, and Insight has a Settings → Environment page. Environment variables
  • tuvl deploy deploys to a tuvl cloud. It packages the project, uploads it with a client token and follows the build and the deployment. --check-dns tells whether a name is free and points at the cloud, --set-hostname renames the deployed app, --admin-email creates 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 as api.<name>). Deploy to a tuvl cloud
  • tuvl is the engine; the developer tooling is in tuvl-insight. The production wheel has 160 modules instead of 264. tuvl[standard] installs both, and it is still one tuvl command: on a bare install the development commands answer with how to install them. Core and Insight

Operations

  • GET /ready is the readiness probe (the Helm chart uses it); /health also fails when the worker's poll loop is gone.
  • tuvl prune runs --older-than 30d removes finished runs with their journal, checkpoints and drafts (TUVL_RUN_RETENTION_DAYS does 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: required holds every model turn of a loop to a tool call; TUVL_LLM_MAX_CONNECTIONS caps 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 (429 with Retry-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: true are left out of CRUD responses unless the token has <model>:read_secure, and are masked in prompts and tool results.
  • The http tool 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 answers 401 before 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, PATCH can set a field to null, and a refused write is 409 or 422, not 500.

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-api and pydantic-settings move to releases that fix their published advisories. tuvl signs and verifies its tokens with local EdDSA keys only, so most PyJWT advisories (key sets, PEM handling) did not reach it; the form-parsing ones reach the upload endpoints, and the mcp ones reach /mcp when 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 (extra mcp) and pypdf>=6.21.4 (extra pdf), so an install that resolves to the lowest allowed version is no longer vulnerable. Upgrade with uv tool upgrade tuvl, or pip install -U "tuvl[standard]".
  • The Insight UI's dependencies are updated (vite, react-router-dom, js-yaml, minimatch and 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.

  • tuvl starts on Windows. Every command failed at import with No 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_signature with 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 storage and tool http steps can route the signals they emit (not_found, http_404), an optional trigger input written `x`? (str) is kept, and an Input: field that does not parse is reported instead of dropped.
  • llm.memory.retention no longer breaks tuvl run tests. The retention sweep did nothing useful on the offline SQLite test database and crashed; it now skips it.
  • The agent-code skill lists the effects the schema accepts: read, write and destructive (default write).

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/client has handle.onToken(...). Existing clients are unchanged: drafts come only with ?drafts=true. API, Engines

  • Steps that run side by side


    The new parallel engine runs two to sixteen read-only branches (database reads, HTTP GETs, storage reads, llm, read-only code) 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. A loop also runs the read-only tool calls of one model turn together. Engines

  • Agents that remember, under your rules


    llm.memory and loop.memory put 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), and retention and tuvl.memory_compact keep 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 skills adds them to a project.

New in 2.0.0b9

  • Collections in workflows


    A loop agent can search a collection as a tool (- collection: kb_docs): the model supplies the query, and top_k and 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 llm or loop agent 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


    tuvl and tuvl-insight are 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: generate writes files, lint runs static rules, verify checks that two things are in step, check asks whether something works now, list and show only read. The earlier names are gone; run tuvl generate code once 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 task prints 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-data and pass the run a reference, never the bytes. Webhooks, API

  • Production server and keys


    tuvl serve app shuts down cleanly behind an ingress and exposes only the route groups you choose (spec.api.expose). TUVL_SIGNING_KEY is 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 project shows the exact payload first and asks; sign-in is GitHub's device flow. Run your own with --nest URL or TUVL_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 decide agents 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 init finds the agents you have; tuvl import idea numbers an idea, generate spec has your agent draft the spec on a branch, a person approves it, generate tasks derives the tasks, and generate code --spec builds each task on its own pull request. Every step is in a local audit ledger, and tuvl dev shows 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 replace Response steps. Engines

  • Checked before it runs


    tuvl lint project checks 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


    decide evaluates rules before a decision model and never falls back silently; loop has 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 spec checks the spec, tuvl verify spec checks the build against it, and task status is derived, never self-reported. tuvl generate code, tuvl run tests and tuvl generate lock are deterministic; tuvl serve mcp and 14 skills for coding agents. Spec-driven development

  • Fan-out with map


    engine: map runs 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, and on_error: collect keeps going and routes partial. tuvl lint project prices it at the child's worst case times max_items. Engines

  • Blob storage


    Named stores in storage/*.yaml for S3 and compatible services, Azure Blob, Google Cloud Storage and local disk, used by tool: { use: storage } and ctx.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/client 2.0 generates typed clients. API

  • Ship and scale


    tuvl ship gates 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 init writes .tuvl/project.yaml with a self-checking id, author, type and version. Edit it with tuvl set project or in Insight, and list the project on nest.tuvl.io with tuvl register project or 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). The file type and http.upload take multipart uploads (V037). spec.webhooks sends 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, pgvector and 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.