Skip to main content Switch to mobile version Pre-release This release is a pre-release and may not be stable for production use.
Public connector authoring and discovery SDK for Umbod
pip install umbod-sdk Copy PIP instructions
Public Python connector authoring API and plugin discovery contract for Umbod.
Canonical umbod-v tag pushes publish the SDK first, followed by the app, all three images, and the Helm chart at the same release version. Only stable three-component versions and -beta.N prereleases without leading zeros are accepted; PyPI uses PEP 440 beta spelling. The tag commit must be on main with successful exact-commit main-push CI. Published versions cannot be overwritten. Desktop releases remain independent.
The SDK is published to PyPI as umbod-sdk (pip install umbod-sdk) and exposes the umbod_sdk.connectors Python package. The SDK contains the public contracts used to implement connector plugins, including umbod_sdk.connectors.plugin_api, configuration models, registration contracts, uploaded files, and plugin discovery. The separate umbod package runs the app.
If you previously used umbod as the SDK, change that dependency to umbod-sdk and rebuild your environment. If you reuse the environment, uninstall the old umbod SDK before installing umbod-sdk; uninstalling it afterward can remove files shared by both distributions. Your umbod_sdk imports stay the same.
The SDK wheel includes the connector-authoring skill at umbod_sdk/skills/draft-agent-connector/ (SKILL.md and its portable and trusted authoring references). The umbod-sdk skills CLI lists bundled skills and installs a named skill or all bundled skills into a selected harness. Claude uses .claude/skills/; Codex and the shared agents convention use .agents/skills/. Installations default to the current project, with options for a different project or the user's home directory. Existing skill directories require explicit replacement. The CLI does not install skills automatically.
The SDK's umbod-sdk connectors check command reads a connector project's pyproject.toml (the current directory by default, or the directory selected with --project) and checks that its umbod.connectors entry-point group is nonempty and has well-formed names and module/export targets. Without a version option, it stays offline and checks metadata syntax only.
Add --target RELEASE to check the declared umbod-sdk dependency against a synchronized image release. The CLI reads the SDK-version labels in the public core and connector-builder registry metadata, verifies that supported Linux platform images agree, and checks the version range. It downloads metadata, not image layers, and never invokes Docker. Older releases without these labels cannot be inferred from their tags: obtain their SDK version from the actual runtime and use --sdk-version VERSION for an offline declaration check. These options are mutually exclusive. Missing or inconsistent release metadata fails without a compatibility verdict.
Version checks require exactly one unconditional, version-constrained umbod-sdk requirement in static [project].dependencies. Dynamic dependencies, conditional SDK requirements, direct SDK URLs, duplicate SDK declarations, and optional-only SDK dependencies cannot be checked. Explicitly selected prerelease versions are evaluated against the declared range; successful checking does not change uv's dependency-resolution policy. No check imports connector code, changes files, checks connector ID consistency, or proves runtime loading or external-service compatibility. The core application's connectors validate remains the separate loading check for an installed plugin bundle.
umbod-sdk connectors init --name my-connector --module my_package.hello_world [--project PATH] [--apply] previews a complete Hello World connector module and the exact entry-point addition to pyproject.toml. Only --apply writes. It supports an existing Hatchling project with a [project] table, a src/my_package/__init__.py, and explicit Hatch wheel inclusion of src/my_package. The --module package and module names must each be ASCII Python identifiers (not keywords or __init__). It refuses existing connector entry-point groups, dynamic entry points, target collisions, and symlinked project paths; it does not edit build configuration, install dependencies, or load the generated connector. An interrupted --apply can leave a module and/or partial metadata addition; inspect both reported paths manually. It does not provide a two-file atomic transaction or automatically remove a created module after a metadata failure. Manage dependencies with uv yourself and run umbod-sdk connectors check afterward for metadata syntax checking; neither command establishes runtime compatibility.
Concrete connector implementations belong in separate Python distributions. Umbod discovers installed connector distributions through Python package entry points and enables a deployment-specific subset through its connector deployment configuration.
Connector authors build Python distributions against this SDK. The distribution publishes each plugin through the umbod.connectors entry-point group and declares its runtime dependencies as normal Python package dependencies.
Connector implementations are distributed separately from the SDK. Docker packages each connector distribution and its dependencies for use by Umbod.
Discovery and availability are separate controls. Entry points identify installed implementations; the Helm deployment availability configuration selects which connector IDs an environment enables.
flowchart TB Author[Connector author] subgraph Authoring[Authoring and packaging] SDK[Umbod Connector SDK] Package[Connector plugin package
Dinero · Rejseplanen · Slack · test] EntryPoints[Python entry points
Plugin discovery metadata] Dependencies[Plugin dependencies] Package -->|uses| SDK Package --> EntryPoints Package --> Dependencies end Author -->|builds with| SDK subgraph Deployment[Docker deployment] PluginBundle[Packaged plugins and dependencies] Availability[Deployment configuration
Enabled connector IDs] EntryPoints --> PluginBundle Dependencies --> PluginBundle end subgraph Core[Umbod] API[Core API
Administration and configuration] MCP[MCP server
Agent-facing capabilities] Store[(Umbod data)] PluginBundle --> API PluginBundle --> MCP Availability --> API Availability --> MCP API Store MCP Store end Frontend[Administration frontend] --> API Agent[MCP client or agent] --> MCP MCP -->|Dinero plugin| Dinero[Dinero API] MCP -->|Rejseplanen plugin| Rejseplanen[Rejseplanen API] MCP -->|Slack plugin| Slack[Slack API] MCP -->|test plugin| Test[Test connector] The frontend obtains connector definitions and administration state through the core API. The MCP server discovers the enabled plugins and exposes their eligible capabilities to agents.
Python runtime loading details
The core application and plugins are packaged separately, but they execute in the same Python interpreter. The core image provides the application virtual environment and the authoritative Connector SDK. The plugin image resolves each plugin package's declared dependencies into a separate bundle, which Docker makes available to both core processes.
flowchart LR subgraph CoreBuild[Core image build] CoreProject[Umbod core project] SDKWheel[Connector SDK] CoreVenv[Core virtual environment
Umbod · SDK · core dependencies] CoreProject -->|installed into| CoreVenv SDKWheel -->|installed into| CoreVenv end subgraph PluginBuild[Plugin image build] PluginProject[Connector plugin package] PluginMetadata[Entry-point metadata
umbod.connectors] PluginRequirements[Declared plugin dependencies
such as httpx] PluginBundle[Plugin bundle
Plugin code · metadata · dependencies] PluginProject --> PluginMetadata PluginProject --> PluginRequirements PluginProject -->|installed into| PluginBundle PluginMetadata --> PluginBundle PluginRequirements -->|resolved and installed| PluginBundle end SDKBuildCopy[SDK build-time copy] -->|validates plugin installation| PluginBundle PluginBundle -->|SDK copy removed after build| BundledWithoutSDK[Deployable plugin bundle] subgraph Runtime[API or MCP Python process] Interpreter[Python interpreter
from the core virtual environment] ImportPaths[Combined import locations
core environment and plugin bundle] Discovery[importlib.metadata
loads connector entry points] LoadedPlugin[Loaded connector plugin] LoadedDependencies[Imported plugin dependencies] CoreSDK[Connector SDK from core environment] Interpreter --> ImportPaths ImportPaths --> Discovery Discovery --> LoadedPlugin ImportPaths --> LoadedDependencies LoadedPlugin --> CoreSDK LoadedPlugin --> LoadedDependencies end CoreVenv --> Interpreter CoreVenv --> ImportPaths BundledWithoutSDK --> ImportPaths There is no virtual environment per connector. The API process loads plugins into the API interpreter, and the MCP process loads plugins into the MCP interpreter. Within either process, all enabled plugins share one module namespace and dependency resolution context. Declaring a dependency in a plugin package ensures it is carried in the plugin bundle, but it does not isolate that dependency from core dependencies or dependencies declared by other plugins. Plugins that require mutually incompatible versions need a process or container boundary rather than additional in-process virtual environments.
Creating a connector distribution
A connector distribution must:
Depend on a compatible umbod-sdk version.
Implement a connector using the public umbod_sdk.connectors.plugin_api interface.
Export the connector plugin object from an importable module.
Declare that exported object in the umbod.connectors entry-point group.
Be installed in the Python environment or plugin bundle used by Umbod.
Be enabled by connector ID in the deployment configuration.
A typical distribution layout is:
my-umbod-connectors/ ├── pyproject.toml └── src/ └── my_umbod_connectors/ └── my_service/ ├── __init__.py ├── admin_configuration.py ├── api_client.py └── configuration_check.py The public connector authoring guide describes the supported image build and deployment workflow.
The tool decorator requires description and accepts optional name, parameters, input_schema, and output_schema settings. Without input_schema, the SDK derives it from public function parameters and annotations, as before. Parameters without defaults and required Pydantic Field(...) declarations are required. Shared model definitions live in the input schema's root $defs, with references resolved from that root. Injected arguments such as configuration are excluded from the agent-facing schema. An explicit input_schema replaces inference and cannot declare configuration as a public argument. References that describe the argument object itself must use a local JSON Pointer; the SDK does not fetch remote schemas. UploadedFile tools continue to use inference.
Declaration validation deliberately rejects duplicate tool operation names within a connector and unknown prompt/resource decorator options. Prompt and resource decorators accept only name, description, and parameters.
An explicit output_schema must be a JSON Schema dictionary. Omitting it means no declared output schema, which is distinct from supplying an empty dictionary; None is invalid. Registration metadata represents this distinction with output_schema_status set to absent or present, and includes output_schema when present.
These SDK contracts are separate from Umbod's built-in filesystem tools. For personal/shared namespace discovery and administrator-managed group access, see the Files guide.
Portable connector manifests
The same Connector constructor accepts a JSON Schema dictionary as configuration for portable declarations. Use manifest() to export the versioned JSON contract, including configuration and tool schemas and local handler IDs. Portable tools must declare name and input_schema explicitly and put parameter metadata in the schema. A configuration check is still required. Portable manifests do not include prompts, resources, icons, or extensions.
Import ConfigurationCheckResult from umbod_sdk.connectors for portable checks. Return ConfigurationCheckResult.valid() on success, or ConfigurationCheckResult.invalid(message=..., field_messages=...) on failure. Both details are optional; field_messages maps configuration field names to author-supplied feedback. Raw booleans and dictionaries are not check results. Do not include credentials or other sensitive values in feedback.
Installed plugins still use a Pydantic Model with registration(). The native Pydantic ConfigurationCheckResult is unchanged. Monty uses a lightweight result with the same factories and fields, not Pydantic methods. A JSON Schema configuration is for manifest() only. Manifest export checks schema declarations, not configuration values or tool calls. Umbod supports managed portable connectors, but draft validation and configuration checks remain offline.
Portable connectors can declare named http_targets with descriptions and receive an HttpContext as the injected context keyword in tools and configuration checks. A declaration with targets exports manifest version 2; connectors without targets still export version 1. Target declarations contain no destination URLs, credentials, or grants. Published tools can use live HTTPS GET and POST after an administrator sets the target's public HTTPS origin and authentication in the connector's Configuration. These fields are supplied by Umbod, not the author. Relative paths resolve under that origin, with no separate method or path permissions.
Await context.request for a relative GET with path segments, ordered query pairs, and a required response_schema. For checks that only need the HTTP status, use context.request_status, which never returns a body. JSON bodies are decoded and validated before the handler sees them. A schema mismatch returns response_contract_mismatch without the upstream payload. Non-redirect HTTP errors return their status without the upstream body. The REST response schema is separate from the tool's output_schema. It uses JSON Schema Draft 2020-12 with in-document references only, a 16 KiB schema limit, and no pattern or patternProperties.
Use context.post for JSON-in/JSON-out requests or context.post_status when only the response status matters. Both require json_body and request_schema. The boundary validates the body against the same restricted JSON Schema dialect, then passes at most 1 MiB of UTF-8 JSON bytes to the transport as HttpPostRequest.body.
The boundary never retries POST. A transport failure or timeout returns outcome_unknown, and cancellation propagates. Transports should raise HttpPolicyDenied only when they rejected the request before sending it. An upstream write may already have happened, even if the response schema failed or the invocation was cancelled. Check upstream state before repeating a write.
For offline tests, pass the authored target declarations and a fake HttpTransport to HttpRequestBoundary, then use HttpContext with that boundary's dispatcher. The SDK rejects undeclared targets; Umbod enforces HTTP configuration and tool eligibility separately. The fake records requests and supplies raw replies; the boundary still validates them. Base fixtures on an authoritative API contract or redacted real responses, and test a missing or incorrectly typed field as well as a valid reply. HttpInvocation owns the dispatcher for invocations that can be cancelled, including an async Monty host callback.
The SDK does not open sockets, import httpx2, enforce outbound grants, or provide a production connector runner.
Declaring plugin discovery metadata
Use the standardized Python package entry-point metadata in the connector distribution's pyproject.toml:
[project] name = "my-umbod-connectors" version = "0.1.0" requires-python = ">=3.14" dependencies = [ "umbod-sdk>=0.1.0,<0.2.0", ] [project.entry-points."umbod.connectors"] my-service = "my_umbod_connectors.my_service:MyServiceConnectorPlugin" Each entry has three parts:
my-service is the entry-point name recorded in package metadata.
my_umbod_connectors.my_service is the importable Python module.
MyServiceConnectorPlugin is the plugin object exported by that module.
Umbod loads entries from the umbod.connectors group with importlib.metadata. An entry may resolve directly to a connector plugin object or to a callable that returns one.
The entry-point name identifies the package metadata entry, but deployment selection uses the ID declared by the loaded connector:
connector = Connector( id="my-service", name="My Service", description="Connects agents to My Service.", capability_description="Read records from My Service.", configuration=MyServiceAdminConfiguration, ) MyServiceConnectorPlugin = connector Keep the entry-point name, Connector.id, and deployment configuration ID identical. Although discovery ultimately indexes the loaded plugin by Connector.id, using one stable identifier prevents ambiguity across packaging and deployment configuration. Connector IDs must be unique across all installed plugins.
Enabling an installed connector
Installing a connector distribution makes its plugin discoverable; it does not automatically make the connector available in a deployment. The deployment configuration must also include its Connector.id:
{ "connectors": [ { "id": "my-service" } ] } The Helm chart renders this availability configuration from plugins.availableConnectorIds.
The distinction is intentional:
Entry-point metadata declares which connector implementations are installed and discoverable.
Deployment configuration declares which discovered connectors are enabled in that environment.
A discovered connector omitted from deployment configuration remains disabled.
An enabled connector whose plugin is not discoverable causes startup validation to fail.
Building and verifying the distribution
Use the versioned ghcr.io/computerlovetech/umbod-connector-builder image to lock dependencies and build the connector distribution. The image contains Python, uv, and the matching SDK. Package connector code, distribution metadata, and third-party runtime dependencies into the plugin bundle without copying the SDK. The matching Umbod core image validates the completed bundle before deployment.
Directory-based development plugins
Umbod can also discover Python files from the directory selected by UMBOD_CONNECTOR_PLUGIN_DIR. Each non-private .py file may expose plugin, a plugins list, or plugin-shaped module values. This mechanism is intended for development and externally mounted plugin files. Installable connector distributions should use package entry points because entry points preserve package ownership, dependencies, versioning, and standard Python installation behavior.
This SDK distribution contains connector authoring and discovery contracts and the connector-authoring skill. Concrete connector implementations are distributed separately, such as the repository's umbod-connectors package.
Both files in this release have provenance metadata.
Release files for umbod-sdk 0.1.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 152.5 kB
Release files / umbod_sdk-0.1.0b2.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Release files / umbod_sdk-0.1.0b2-py3-none-any.whl
Security for umbod-sdk 0.1.0b2
Both files in this release have been uploaded with provenance metadata.
With provenance umbod_sdk-0.1.0b2.tar.gz Dec 2, 2026
With provenance umbod_sdk-0.1.0b2-py3-none-any.whl Dec 2, 2026
Attestation for umbod_sdk-0.1.0b2.tar.gz
Attestation for umbod_sdk-0.1.0b2-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 2, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




