Skip to main content

dbx-tools-model-proxy

OpenAI-compatible LiteLLM proxy backed by Node-owned Databricks authentication, model discovery, ranking, routing, and metadata.

LiteLLM owns request conversion, streaming, transport, and retry behavior. The Python package embeds the generated @dbx-tools/model/python client under its private _generated submodule, so authentication and model policy remain implemented once in Node.

Run

uv run dbx-model-proxy --port 4000

The proxy listens on 127.0.0.1 unless a different host is forwarded to LiteLLM. Select a Databricks profile explicitly when needed:

uv run dbx-model-proxy --profile my-workspace --port 4000

The host exposes LiteLLM's OpenAI-compatible APIs, a dynamic GET /v1/models catalogue, and GET /lookup for Node-ranked fuzzy model search. Model requests are resolved lazily and receive current Databricks authentication headers from the generated client.

The standard model response keeps the OpenAI data array. Requests whose originator header starts with codex also receive a Codex models array with Node-ranked priorities, Databricks AI Gateway model names, reasoning levels, and build-cached capability metadata. Embedding, retired, and unsupported Codex families remain available through the OpenAI catalogue but are omitted from the Codex extension.

Service

Install and start the proxy as a per-user background service:

dbx-model-proxy service install -- --profile my-workspace --port 4000

The lifecycle includes start, stop, restart, status, and uninstall, with remove as an uninstall alias. Configuration and logs default to ~/.dbx-tools/model-proxy. Uninstall retains them unless --purge is supplied.

Service installation uses the current package's exact Python environment and registers a launchd agent on macOS, a systemd user unit on Linux, or current-user scheduled tasks on Windows. --systray auto installs the tray when its native backend is available. Use always to require it or never for a headless service. The tray uses the dbx-tools icon, opens the local models and API pages, switches among configured Databricks profiles, and can stop the service.

The proxy writes service output to service.log and tray output to tray.log. Lifecycle operations fail inside Databricks Apps because host service management is unavailable there.

For an isolated test installation, add --concurrent:

dbx-model-proxy service install --concurrent -- --profile my-workspace

Concurrent mode defaults the proxy to port 4001 and uses the independent model-proxy-python configuration directory, service registration, logs, and tray identity. An explicit --port after -- overrides the concurrent default.

Ownership

  • The embedded @dbx-tools/model/python client owns authentication, profile selection, endpoint discovery, caching, fuzzy matching, protocol selection, URLs, and published metadata.
  • LiteLLM owns Chat, Responses, embeddings, streaming, parameter conversion, provider transport, and retries.
  • This package owns the generated Python boundary, FastAPI route installation, LiteLLM callback wiring, and command-line startup.

Add proxy-specific controls only where LiteLLM does not already provide equivalent behavior.

Metadata

Release files for dbx-tools-model-proxy 0.9.31

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

Source distribution (sdist)

Source distribution for dbx-tools-model-proxy 0.9.31
File Size Uploaded
dbx_tools_model_proxy-0.9.31.tar.gz 248.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dbx-tools-model-proxy 0.9.31
File Interpreter ABI Platform
dbx_tools_model_proxy-0.9.31-py3-none-any.whl Python 3 none any Details

Total release size: 501.9 kB

Release files / dbx_tools_model_proxy-0.9.31.tar.gz

Download URL dbx_tools_model_proxy-0.9.31.tar.gz
Size 248.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c40e2ed4b1590fb513ca76f3b0b604eb8820d955b4823122193dcc36db2b33d4
BLAKE2b-256 checksum
How to use checksums
7b5cfc1b0227e0fd5ea2b5efc254e36d67e5afb67c0226116c62dbe6f2dc21c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / dbx_tools_model_proxy-0.9.31-py3-none-any.whl

Download URL dbx_tools_model_proxy-0.9.31-py3-none-any.whl
Size 253.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cfc6123b02d3fadb3abc935f070cc07370340ad100ce471c81c3b063a23e313
BLAKE2b-256 checksum
How to use checksums
5f666f286e976b7f7dabba0b52828c061db900323a5d0bb4a8b505ab3bfb922c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.9.31 This release

2 release files

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