Skip to main content

Python SDK for d:spatch agent-to-host communication

Project description

dspatch-sdk

Python SDK for the d:spatch agent orchestration platform.

Installation

pip install dspatch-sdk

Quick Start

from dspatch import DspatchEngine, Context

async def my_agent(ctx: Context):
    await ctx.log("Agent started")
    # Your agent logic here

engine = DspatchEngine(agent_fn=my_agent)
engine.run()

Releasing

Releases are published to PyPI automatically when a version tag is pushed.

pip install bump-my-version

# bump version (patch/minor/major), auto-commits and tags
bump-my-version bump patch   # 0.1.0 → 0.1.1
bump-my-version bump minor   # 0.1.0 → 0.2.0
bump-my-version bump major   # 0.1.0 → 1.0.0

# push commit + tag to trigger publish
git push origin main --tags

Documentation

See the full documentation at dspatch.dev/docs.

License

AGPL-3.0 — see LICENSE for details.

Copyright (c) 2026 Osman Alperen Çinar-Koraş (oakisnotree).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dspatch_sdk-0.1.2.tar.gz (43.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dspatch_sdk-0.1.2-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file dspatch_sdk-0.1.2.tar.gz.

File metadata

  • Download URL: dspatch_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dspatch_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f56430c6da3ab3a2b94c4bd8eb8f3b026ba137d45436bf70ac764eddfd731fac
MD5 6214c27b55274761747649fcf5b8a7d8
BLAKE2b-256 87ccbec55a05dcac52d8c58733743f7e8591a56d1227b737f04f9bd0e944c123

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspatch_sdk-0.1.2.tar.gz:

Publisher: publish.yml on dspatch/sdk.python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dspatch_sdk-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dspatch_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dspatch_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f880d31fce849be6b63d2560a0bc43f02bc34098a9203c08fe2991901192cae
MD5 30d6657081c0e5bfa10d2cdfa9baae46
BLAKE2b-256 ef4d2b4415c1d8b51928dafa4cc50ca39f88358dde6b5c11bb6ce820ae4c96d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspatch_sdk-0.1.2-py3-none-any.whl:

Publisher: publish.yml on dspatch/sdk.python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page