Skip to main content

Crate caliban_provider_vertex

Crate caliban_provider_vertex 

Source
Expand description

Google Vertex AI provider for the caliban agent harness.

Thin wrapper around caliban_provider_anthropic::AnthropicProvider<VertexTransport> that adds:

  • A VertexConfig with a from_env constructor.
  • An AuthRefresh background task that periodically refreshes the GCP bearer token via gcp_auth::TokenProvider.
  • A refresh_models (the Provider trait’s live-discovery hook) that calls https://{region}-aiplatform.googleapis.com/v1/publishers/anthropic/models; the sync list_models returns the vendored fallback.
  • name() -> "vertex" so the model router and telemetry attribute it correctly.

See docs/adr/0034-bedrock-and-vertex-providers.md and docs/superpowers/specs/2026-05-24-bedrock-vertex-providers-design.md.

Re-exports§

pub use auth::AuthRefresh;
pub use config::VertexConfig;
pub use error::VertexError;

Modules§

auth
Background GCP credential-refresh task.
config
Configuration for the Vertex provider.
error
Adapter-level error type.
models
Vertex model catalog + control-plane list helper.

Structs§

VertexProvider
Provider that talks to Anthropic Claude on Google Vertex AI.