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.1.tar.gz (72.2 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.1-py3-none-any.whl (62.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dspatch_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 72.2 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.1.tar.gz
Algorithm Hash digest
SHA256 ea5b153efdd8b0862fed8e3a292348b86654c6e9505ff301278384a824452481
MD5 afd7fc294f4ed27841ee8fd9d4c3a6ec
BLAKE2b-256 61d45f28b892b994b58e9240a14168d425ac2bcb7faad208bc7902369fea43d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspatch_sdk-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: dspatch_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 62.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9057f431822cbdf36e838eb753f5eaafe96bdb8f4819c341c0694c4d5ab2c110
MD5 628323d54ada253e9170046063b50dfb
BLAKE2b-256 ca2dee5ac844d33f5480553bbd15ccfaa16217a5349dcce1b6f6570f5cca5f26

See more details on using hashes here.

Provenance

The following attestation bundles were made for dspatch_sdk-0.1.1-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