Python SDK for Nexum — Durable Execution Engine for LLM Agents
Project description
nexum-sdk
Python SDK for Nexum — Durable Execution Engine for LLM Agents.
Install
pip install nexum-py
Quick Start
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. Start locally with:
npx @nexum/cli dev
License
MIT
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
nexum_py-0.1.0.tar.gz
(9.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nexum_py-0.1.0-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file nexum_py-0.1.0.tar.gz.
File metadata
- Download URL: nexum_py-0.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
624bf1f8e13c1d92cbed768a5ec47d3c8ee8ef7d06a19e64e24a8b485df184bd
|
|
| MD5 |
d4cf385645bc438cd3d14a9734a4c0c2
|
|
| BLAKE2b-256 |
a5db7927edf68cda7b4c9be6eca21524922fd38539cd8f649ef34f56351de946
|
File details
Details for the file nexum_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nexum_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516ee04779e3c167ca23806cb4452cc52381edef7fe2dcbc9c276c75fe7f1f8e
|
|
| MD5 |
3ee6b2185340e2f87fdba7a8098b7882
|
|
| BLAKE2b-256 |
db812beae5dee9185ee69d06514a0c756c9228a48599baca85051dce4e5c9691
|