Skip to main content

Python SDK for Nexum  EDurable 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.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

nexum_py-0.1.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexum_py-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nexum_py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9ecc1b3749306cf1681d6dfab1472e24c5eec61051b6ed65dade6c4b467437fd
MD5 aaed80f1bb8a868cb2768732acfcb5b6
BLAKE2b-256 18f3f64f138a48a42dd815faa2577a2be8b3b03c6ec9b95c2dab4c3d6f9ba3f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexum_py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nexum_py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f88467067bf6c443052199f1b1d85b4a6abaf72aef6240ccc8523cc67a298cb
MD5 35c5f092370f7a2d3e41dae6a918af6f
BLAKE2b-256 1fdb72597bfa06d07f74f38e81d67dd5f4be217379914b1314bbb29d15a4f6e9

See more details on using hashes here.

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