Metadata-Version: 2.4
Name: nexum-py
Version: 0.1.2
Summary: Python SDK for Nexum  EDurable Execution Engine for LLM Agents
Project-URL: Homepage, https://github.com/kuro6061/nexum
Project-URL: Repository, https://github.com/kuro6061/nexum
Project-URL: Bug Tracker, https://github.com/kuro6061/nexum/issues
Project-URL: Documentation, https://github.com/kuro6061/nexum#readme
Author: kuro6061
License: MIT
Keywords: agents,durable-execution,llm,nexum,orchestration,workflow
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: grpcio-tools>=1.60.0
Requires-Dist: grpcio>=1.60.0
Requires-Dist: pydantic-core>=2.0.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Description-Content-Type: text/markdown

# nexum-sdk

Python SDK for [Nexum](https://github.com/kuro6061/nexum) — Durable Execution Engine for LLM Agents.

## Install

```bash
pip install nexum-py
```

## Quick Start

```python
from nexum import workflow, worker

wf = (
    workflow("ResearchAgent")
    .effect("search", search_tool)
    .compute("summarize", lambda ctx: ctx.get("search")["content"][:500])
    .build()
)

w = worker(server_address="localhost:50051")
w.register(wf)
w.start()
```

Requires a running [Nexum server](https://github.com/kuro6061/nexum). Start locally with:

```bash
npx @nexum/cli dev
```

## License

MIT
