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.29

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.29
File Size Uploaded
dbx_tools_model_proxy-0.9.29.tar.gz 248.6 kB Details

Built distribution (wheel)

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

Total release size: 501.9 kB

Release files / dbx_tools_model_proxy-0.9.29.tar.gz

Download URL dbx_tools_model_proxy-0.9.29.tar.gz
Size 248.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eb71387c0644320d535e60abf29e583ec704df40a2c89ffcf3f3bcdb9b066b8e
BLAKE2b-256 checksum
How to use checksums
8cf2b5b71e3428a7173523f5526bbbdfa00ead809a347a49ce98b04b91332256
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.29-py3-none-any.whl

Download URL dbx_tools_model_proxy-0.9.29-py3-none-any.whl
Size 253.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70c070960218033f8c61322b782a2d581b13775b22b265486f62f926a4207f33
BLAKE2b-256 checksum
How to use checksums
2f2f6d9895576104ce8d974b528f5cbd1fc1877588deb7f2f3f6b077605438e8
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.29 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