Python API#
These pages are generated from the python/nemo_flow package source.
Binding At A Glance#
This summary lists the package identity and support status for the binding.
Package name:
nemo-flowLocal development path: repository root
pyproject.tomlwithuv syncGenerated package root:
nemo_flow
The Python binding exposes the runtime through a public package layer in
python/nemo_flow and a compiled native extension exposed as nemo_flow._native.
Most users should work from the public package modules rather than the native
layer directly.
Main Binding Surfaces#
These entry points are the primary APIs to use from this binding.
nemo_flow.scope: create scopes, emit mark events, and manage scope handlesnemo_flow.toolsandnemo_flow.llm: run tool and LLM lifecycles from Pythonnemo_flow.guardrailsandnemo_flow.intercepts: register global middlewarenemo_flow.scope_local: register middleware against a specific scope hierarchynemo_flow.subscribers: observe emitted runtime lifecycle eventsnemo_flow.pluginandnemo_flow.adaptive: configure plugin-backed and adaptive behaviornemo_flow.typedandnemo_flow.codecs: use typed wrappers and request/response codecs
How To Read The Generated Pages#
The generated nemo_flow package page is the package root. Under that page you
will find submodule pages for the public binding surface, including:
llmtoolsscopescope_localguardrailsinterceptssubscriberspluginadaptivetypedcodecs
Use the generated Python package index when you want the docstring-level details for a specific symbol or module.