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.2.tar.gz (79.7 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.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axio_transport_nebius-0.2.2.tar.gz
  • Upload date:
  • Size: 79.7 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.2.tar.gz
Algorithm Hash digest
SHA256 2790b71dfbedb8a333e00a88310495994923c096a0f007c05f33500be1cb4d6b
MD5 9636e5136b9f1d066c454576c8e0945f
BLAKE2b-256 2d9e859c4f7799729045672e4777665cc0735756af3412bc186c605708c751c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for axio_transport_nebius-0.2.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for axio_transport_nebius-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1fa941713b54783700656761f9307d40b28c3d92c1abd9fff88617fa4540cc39
MD5 1dd25a2a89ec27e01526bda477b7805d
BLAKE2b-256 1e136ec3f5ad8e5acf33ac1487a5942dbe04271efdc34e318d42a84fa96a37d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for axio_transport_nebius-0.2.2-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