Metadata-Version: 2.4
Name: dspatch-sdk
Version: 0.1.1
Summary: Python SDK for d:spatch agent-to-host communication
Author-email: Osman Alperen Çinar-Koraş <oakisnotree@users.noreply.github.com>
License-Expression: AGPL-3.0-only
Project-URL: Homepage, https://dspatch.dev
Project-URL: Documentation, https://dspatch.dev/docs
Project-URL: Repository, https://github.com/dspatch/dspatch-sdk
Project-URL: Issues, https://github.com/dspatch/dspatch-sdk/issues
Keywords: agents,orchestration,ai,docker,sdk
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.27.0
Requires-Dist: websockets>=13.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
Requires-Dist: respx>=0.21; extra == "dev"
Dynamic: license-file

# dspatch-sdk

Python SDK for the [d:spatch](https://dspatch.dev) agent orchestration platform.

## Installation

```bash
pip install dspatch-sdk
```

## Quick Start

```python
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.

```bash
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](https://dspatch.dev/docs).

## License

AGPL-3.0 — see [LICENSE](LICENSE) for details.

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