unitycatalog-openai
Support for Unity Catalog functions as OpenAI tools
Decision gist · record as of 2026-08-14
Yes, if you are building OpenAI agents that need to invoke Unity Catalog functions. The package is actively maintained, has low install friction, and cleanly abstracts the function-calling protocol. Install it only if you have access to a Unity Catalog instance (self-hosted or Databricks) and are already using OpenAI's API.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.10 and an active Unity Catalog server or Databricks workspace with appropriate authentication.
- Low install friction with three straightforward runtime dependencies.
- Actively maintained as of the latest release.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.
last release 2026-04-24 (112 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,479,713 downloads/mo, #3,852 on PyPI
Alternatives
Verify before relying
pip install unitycatalog-openai
from unitycatalog.ai.openai.toolkit import UCFunctionToolkit
toolkit = UCFunctionToolkit(function_names=["catalog.schema.function_name"])
tools = toolkit.tools
# Pass tools to OpenAI API
import openai
response = openai.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "query"}],
tools=tools
)- Whether the package supports async function execution or only synchronous calls
- Performance characteristics when working with large numbers of UC functions
- Compatibility with OpenAI models beyond gpt-4o-mini
What it is and what it does
This package bridges Unity Catalog functions and OpenAI's function-calling API, allowing you to register UC functions as tools that OpenAI models can invoke during agent conversations. It wraps the unitycatalog-ai client and pydantic for schema validation, handling the translation between UC function definitions and OpenAI's tool format.
You define or reference UC functions (either in a self-hosted Unity Catalog server or Databricks-managed UC), wrap them in a UCFunctionToolkit, and pass the resulting tool definitions to OpenAI's chat completion API. When the model decides to call a tool, you execute it against your UC client and feed the result back into the conversation loop. The package includes utilities for handling tool responses and managing different client configurations.
Use it for
- Build AI agents that query or transform data stored in Databricks Unity Catalog by having OpenAI models invoke UC functions.
- Enable customer support chatbots to execute business logic functions (e.g., data lookups, calculations) stored in UC without hardcoding integrations.
- Create agentic workflows where OpenAI decides which UC functions to call based on user input, then chains results across multiple function calls.
- Integrate Databricks-managed UC functions into OpenAI-powered applications without writing custom API layers.
- Prototype multi-step data pipelines where an LLM orchestrates UC function calls to process and analyze data.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building OpenAI agents that need to invoke Unity Catalog functions.
The package is actively maintained, has low install friction, and cleanly abstracts the function-calling protocol. Install it only if you have access to a Unity Catalog instance (self-hosted or Databricks) and are already using OpenAI's API.
Install
unitycatalog-openai on PyPI
Before you install
Low install friction with three straightforward runtime dependencies. Actively maintained as of the latest release.
Requires Python >=3.10 and an active Unity Catalog server or Databricks workspace with appropriate authentication.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install unitycatalog-openai
from unitycatalog.ai.openai.toolkit import UCFunctionToolkit
toolkit = UCFunctionToolkit(function_names=["catalog.schema.function_name"])
tools = toolkit.tools
# Pass tools to OpenAI API
import openai
response = openai.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "query"}],
tools=tools
)
Verify before relying
- Whether the package supports async function execution or only synchronous calls
- Performance characteristics when working with large numbers of UC functions
- Compatibility with OpenAI models beyond gpt-4o-mini
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesopenaipydanticunitycatalog-ai |
| Maintenance | Actively maintained 112 days since the last release |
| First released | |
| Downloads | 1,479,713 / month, #3,852 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: unitycatalog_openai-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “unity catalog openai integration”
- unitycatalog-openaiExposes Unity Catalog functions as tools for OpenAI models, enabling…
- unitycatalog-aiProvides Python APIs to create, retrieve, and execute Unity Catalog…
- unitycatalog-langchainExposes Unity Catalog functions as LangChain tools, allowing agents…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also unitycatalog-ai · unitycatalog-langchain · unitycatalog-client · databricks-openai · UnityPy · databricks-ai-bridge · databricks-feature-engineering · dbt-databricks · composio-openai-agents · agent-framework-openai