Skip to main content

Nexura Vertex

Google Vertex AI models for Nexura agents, using Google Application Default Credentials.

Install

pip install nexura-vertex

Alpha (0.4): pip install nexura-vertex. See package installation.

Minimal example

This example uses mock HTTP and a fixed fake token, without credentials or calls to Google. For live calls, use Agent(model="vertex:gemini-2.5-flash") after configuring ADC (gcloud auth application-default login, a service account or VM metadata). Project selection also accepts GOOGLE_CLOUD_PROJECT or project=; custom tokens use token_provider=. Live calls are billed to your project.

import httpx
from nexura_agents import Agent, Runner

from nexura_vertex import VertexAIProvider


def fake_vertex(request: httpx.Request) -> httpx.Response:
    assert request.headers["Authorization"] == "Bearer test-token"
    assert "/projects/demo/locations/global/" in request.url.path
    return httpx.Response(
        200,
        json={
            "candidates": [
                {"content": {"role": "model", "parts": [{"text": "Hello"}]}, "finishReason": "STOP"}
            ],
            "usageMetadata": {"promptTokenCount": 3, "candidatesTokenCount": 1},
        },
    )


model = VertexAIProvider(
    "gemini-2.5-flash",
    project="demo",
    token_provider=lambda: "test-token",
    transport=httpx.MockTransport(fake_vertex),
)
result = Runner().run(Agent(name="Hi", instructions="Greet.", model=model), "hi")
print(result.final_output)

Status and limits

Status: alpha (0.4). Gemini 2.5 Flash on Vertex AI passed one live check run by the repository owner on 2026-10-08 (a plain reply, a tool call and streaming). Everything else is tested offline with mock HTTP. Depends only on nexura-agents and google-auth, not nexura-runtime; Python 3.11–3.13. The adapter reuses Gemini tools/streaming/structured output/multimodal parts, with OAuth endpoints and :predict embeddings.

Documentation and licence

Main documentation · Full guide. MIT, Copyright (c) 2026 Liceron. See LICENSE.

Metadata

Release files for nexura-vertex 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nexura-vertex 0.4.0
File Size Uploaded Provenance
nexura_vertex-0.4.0.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nexura-vertex 0.4.0
File Interpreter ABI Platform
nexura_vertex-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / nexura_vertex-0.4.0.tar.gz

Download URL nexura_vertex-0.4.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
78d02ff78caaa29840af8736addc35e922875817257cae03748089527bcea1ae
BLAKE2b-256 checksum
How to use checksums
c9c1440adad13df223e468bff9c4879dda22a8fa1e2cc0bb00c2eeb3d75f6e7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / nexura_vertex-0.4.0-py3-none-any.whl

Download URL nexura_vertex-0.4.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70d764a426b268045a4ebcbef06574398cd20d558498fd5716cc58fe4f2eaef1
BLAKE2b-256 checksum
How to use checksums
fe8036f6711f1ccfec2a461cb3c81516cd1511fe35cdd974c1e9516f8f525269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for nexura-vertex 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page