﻿# LiteLLM binds Vertex Deep Research requests to a matching agent deployment

Inspect agent/deployment binding, nested selector rejection and final billing identity; a successful generic model call cannot certify a Deep Research execution.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-litellm-deep-research-agent-deployment-binding/
Language: en

LiteLLM v1.111.0-dev.2, released on November 13 as a prerelease, fixes Vertex Deep Research agent binding and cost recording. Requests naming both model deployment and agent must match, including nested-selector checks. The change makes the distinction between a model that answers and an agent that performs research reviewable; HTTP success from an ordinary model is not evidence that the requested research agent ran.

## Use matching and mismatched selector pairs

Configure harmless synthetic research-agent and ordinary-model deployments. Send a matching pair and a deliberately mismatched pair, recording upstream payloads. The mismatch should stop before provider access under the documented contract. Do not accept a fluent answer as a substitute for agent identity. A generic model can produce plausible research-style text without running the workflow, tools or background lifecycle the application requested.

## Nested fields must not override a checked selector

Add conflicting synthetic selectors in the extra request body and inspect rejection. Keep an unrelated extra field as a control for legitimate provider options. The implementation rejects conflicts instead of checking one selector while transmitting another. Record the final serialized payload for allowed duplicates too. This establishes that validation and dispatch agree, a necessary condition before any later cost record can be attributed to the claimed agent.

## Background lifetime extends beyond creation

Run a controlled synthetic job through create, polling and streamed completion where used. Observe one stable agent identity and the configured cost-polling window. The release extends the default polling period, not the provider’s execution deadline or a guarantee that every long job finishes. A job returning after the observation window requires explicit uncertainty handling rather than a permanent zero-cost placeholder that looks like a completed financial result.

## Price the agent actually served

Use known synthetic usage and a frozen agent price row to compare log identity and charge. Assert an ordinary deployment’s price is not reused merely because it supplied the route name. Keep model permissions and resource access tests separate. A useful migration proves matching dispatch, rejected conflicts and coherent final accounting, without treating integration support as a claim about research quality, completeness or the correctness of citations in the agent’s eventual report.

## Sources

- [LiteLLM v1.111.0-dev.2 prerelease notes](https://github.com/BerriAI/litellm/releases/tag/v1.111.0-dev.2)
- [LiteLLM implementation and review #51517](https://github.com/BerriAI/litellm/pull/51517)

## Related reading

- [LiteLLM budgets: periods, shared limits and overrun tests](/journal/litellm-budget-reset/)
- [Subagent permissions: delegation does not add authority](/journal/frontier-space-subagent-permission-inheritance/)
