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.2.0.tar.gz (11.7 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.2.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexum_py-0.2.0.tar.gz
  • Upload date:
  • Size: 11.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 8f12c532338443ab8f9af772c7390d346989a9db24440ca65021eba2545d6ac3
MD5 87621ad44e458f2573af99c03a82d1f2
BLAKE2b-256 9513f86acffd29567975e53005c9ff139e70aadef0cc356d5f1a20be432b4c8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexum_py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac6c7ea7e863f6dfabbb8ad22ed51165bd453e9a6be54851d268c0bc1f13e2a
MD5 c11bd9769a25f6676f8b4281ae304b63
BLAKE2b-256 478b1e607fdeca7c6516e769d0f27016d6afb0ae7a8297a986f2170c42528a9b

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