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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexum_py-0.1.1.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

Hashes for nexum_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1fe0158f2c431c1a39dbed7968f2b984aaa724ad0dd9ebc2140de5c0065ae5ba
MD5 a60acc63d532261dd9677b211dffd5bb
BLAKE2b-256 eaba3e2166e1b805b43828dde92ab55159feb9b7fc69476c3dd507a96d8a0fcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexum_py-0.1.1-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

Hashes for nexum_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89ebdf1fbeac841287a6df28121c3c65fee3380d73b38ad38ef08facb0e3f042
MD5 dbf6621b989bbb982b3914d502c14ce6
BLAKE2b-256 f4814f9cc30560edd2ad5f89e7e8b478b868d9a76266f2ffba11aa0698d56599

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