Does your provider break your tool calls?

No broken tool calls. Even on small models.

Small models get tool calls wrong far more often than cloud models. .lambda stops those mistakes as the model writes, on the device and offline. Works with any runtime, including your own.

A mobile phone with no signal, a tick on its screen all the same.

Only calls your app can run.

Ask a small model to set the kitchen light and it may call a tool you never defined, or set the brightness to 500. With .lambda it can’t write either.

Request + tools
request: "Set the kitchen light"

tools: [set_light]

room: kitchen | bedroom
brightness: 0..100
Returned by .lambda
set_light(
  room="kitchen",
  brightness=50
)

✓ known tool
✓ supported values
✓ expected structure
The model picks the tool and the values. .lambda keeps them within what you defined. Your app still decides whether to run the call.

Every call valid, and more tasks solved.

We ran three Qwen3 models on BFCL, with and without .lambda. With it, every completed call parsed and fit the schema. The models also solved more tasks, and the smallest gained the most.

  • 161 → 0

    Tasks where Qwen3-0.6B wrote a malformed or off-schema call, without and with .lambda.

    Two retries each fixed none of them.

  • 31% at best

    Broken calls that two retries repaired, on Qwen3-4B, the largest model tested.

    14% on Qwen3-1.7B. None on Qwen3-0.6B.

BFCL live_multiple, .txt blog. Without .lambda, each task with a broken call was retried up to twice. With .lambda, no call was broken and nothing was retried.

ModelWithoutWith .lambdaGain
Qwen3-0.6B46.9%55.1%+8.2 pts
Qwen3-1.7B65.7%70.1%+4.4 pts
Qwen3-4B-Instruct-250777.2%79.2%+2.0 pts

BFCL live_multiple, .txt blog, 30 April 2026. Share of tasks solved. Without .lambda, a broken call could be retried up to twice.

Liquid AI · LFM2-350M

Liquid AI’s 350M model makes valid function calls with .txt.

We worked with Liquid AI on function calling for LFM2-350M, a model built for edge devices. With .txt’s grammar-constrained generation, every call it writes is valid.

  • 350M parameters
  • Valid function calls

Faster tool calls on small chips.

A phone generates one token at a time, and the person waits for each. Much of a tool call is fixed: the tool’s name, the argument names, the brackets. With coalescence, .lambda writes those parts without running the model, so the model only generates what carries information.

We also have optimizations for inference on CPU. Ask us about them.

  • ~65%

    Fewer tokens generated per tool call, with coalescence.

    Across every model we tested.

  • 10-20%

    Fewer tokens without it: no retries, no wasted calls.

    Constraining the call alone saves tokens.

BFCL live_multiple, .txt blog. Tokens generated with .lambda, against the unconstrained baseline, across the models tested.

Nothing leaves the device.

.lambda runs next to the model, inside your app. Completely offline.

Four steps in pixel art, left to right: a window listing your tools, labelled define; a CD writer with a disc on its open tray, labelled compile; a .lambda case labelled YOUR APP, labelled bundle; a phone with no signal showing a ticked tool call, labelled enforce.
Define, compile, bundle, enforce. Precompile known tools and bundle the artifact with your app. When definitions change after release, the device compiles the new ones itself.

Fits the runtime you already use.

  • Runtime

    A binary library with C bindings, for ONNX Runtime GenAI and other native runtimes, including one you wrote.

  • Platforms

    Written in Rust, so it builds for any target Rust compiles to: phones, laptops, embedded boards.

  • Schema coverage

    Most of JSON Schema today. We confirm coverage for your schemas during the evaluation.

  • Changing tools

    Compile new constraints on the device, or distribute precompiled artifacts. Tool definitions do not have to be fixed at release.

  • Failure mode

    Strict by default. Or let the model fall back to unconstrained output and lose the guarantee for that call.

  • Application boundary

    Your app decides whether to run a call, and runs it. The model still chooses the action and arguments.

A .lambda CD labelled NEW MODEL, beside a server, a desktop, a laptop and a phone, each with a tick.

We prove it on your device.

Pick one model, one device and the requests that fail today. We run them with and without .lambda, and measure both the same way.

What the pilot includes

  • You bring

    Your model, device and tools

    The runtime you use, your tool definitions, and the requests that fail today.

  • We run

    The same requests, with and without .lambda

    On your device, measuring valid calls, tasks solved, time to a completed call, and memory and size.

  • You receive

    The results, side by side

    How each did on your requests, what we don’t support yet, and what shipping it would take, including updates after release.

Evaluate on your device. 

Tell us your model, runtime and target hardware. We'll scope an evaluation with your team.