Skip to main content

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)

Uploaded Source

Built Distribution

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

nexum_py-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

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

Hashes for nexum_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 624bf1f8e13c1d92cbed768a5ec47d3c8ee8ef7d06a19e64e24a8b485df184bd
MD5 d4cf385645bc438cd3d14a9734a4c0c2
BLAKE2b-256 a5db7927edf68cda7b4c9be6eca21524922fd38539cd8f649ef34f56351de946

See more details on using hashes here.

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

Hashes for nexum_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 516ee04779e3c167ca23806cb4452cc52381edef7fe2dcbc9c276c75fe7f1f8e
MD5 3ee6b2185340e2f87fdba7a8098b7882
BLAKE2b-256 db812beae5dee9185ee69d06514a0c756c9228a48599baca85051dce4e5c9691

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