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/pythonclient 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.30
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dbx_tools_model_proxy-0.9.30.tar.gz | 248.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbx_tools_model_proxy-0.9.30-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 501.9 kB
Release files / dbx_tools_model_proxy-0.9.30.tar.gz
| Download URL | dbx_tools_model_proxy-0.9.30.tar.gz |
|---|---|
| Size | 248.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0faa3101be5cd2413d137cc791e7a89b8c0aaf2cdc5c38964e22039b21fd1e9c
|
|
BLAKE2b-256 checksum How to use checksums |
60064ade62e1faddc105ab8cfcdfa61461ff2365898a880b1e8706560fdaebf6
|
| 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 logRelease files / dbx_tools_model_proxy-0.9.30-py3-none-any.whl
| Download URL | dbx_tools_model_proxy-0.9.30-py3-none-any.whl |
|---|---|
| Size | 253.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f22255fe6bd1183fbc4820a359bcce078c640886024cab177b3edbec5ad33b1
|
|
BLAKE2b-256 checksum How to use checksums |
2a0be2ce21a7a7840c7da4f8be09e648d081b2e75d371437c6eeca83cd68f14b
|
| 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