Skip to main content

Nebius AI Studio transport for Axio

Project description

axio-transport-nebius

PyPI Python License: MIT

Nebius AI Studio transport for axio.

Extends axio-transport-openai with Nebius-specific API endpoint and dynamic model discovery — list available models directly from the Studio API.

Features

  • Nebius AI Studio endpoint pre-configured
  • Dynamic model list — fetch available models at runtime from the Nebius API
  • Full OpenAI compatibility — inherits streaming, retry, and tool-calling from axio-transport-openai
  • Optional TUI settings screen — install with [tui] extra

Installation

pip install axio-transport-nebius

Usage

from axio import Agent
from axio.context import MemoryContextStore
from axio_transport_nebius import NebiusTransport

transport = NebiusTransport(
    api_key="your-nebius-api-key",
    model="meta-llama/Meta-Llama-3.1-70B-Instruct",
)

agent = Agent(system="You are a helpful assistant.", tools=[], transport=transport)

async def main() -> None:
    ctx = MemoryContextStore()
    result = await agent.run("Explain transformers in one paragraph.", ctx)
    print(result)

Discover available models

from axio_transport_nebius import NebiusTransport

async def list_models() -> None:
    transport = NebiusTransport(api_key="your-key", model="")
    models = await transport.list_models()
    for m in models:
        print(m)

Plugin registration

[project.entry-points."axio.transport"]
nebius = "axio_transport_nebius:NebiusTransport"

Part of the axio ecosystem

axio · axio-transport-openai · axio-transport-codex · axio-tui

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axio_transport_nebius-0.2.3.tar.gz (79.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axio_transport_nebius-0.2.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file axio_transport_nebius-0.2.3.tar.gz.

File metadata

  • Download URL: axio_transport_nebius-0.2.3.tar.gz
  • Upload date:
  • Size: 79.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axio_transport_nebius-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f8d0c5420ea938fc2bfbb8eaa61de826581e912a731a982479f48845216738a3
MD5 13ef150b56b338ae48e5ff18876f2773
BLAKE2b-256 38abc66d1a8d734199dce78e6a1908726c99971fb35cc4a8f10b3e2e94f5ea86

See more details on using hashes here.

Provenance

The following attestation bundles were made for axio_transport_nebius-0.2.3.tar.gz:

Publisher: publish.yml on axio-agent/axio-transport-nebius

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axio_transport_nebius-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for axio_transport_nebius-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4a9c6f637143bd75b6741337de44965e6aeb1bee83cbd2f4b7ee6d1d9b00eed5
MD5 bae18bdec16963969ab6e4834c5e60c4
BLAKE2b-256 9f04670512768dd5f2b48ce7ad98be7e957b81c368f1709b92caa560b2b39c1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for axio_transport_nebius-0.2.3-py3-none-any.whl:

Publisher: publish.yml on axio-agent/axio-transport-nebius

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page