Python Library Reference

View as Markdown

Generated from the local python/nemo_relay package source.

Modules

  • nemo_relay: Python bindings for the NeMo Relay runtime.
  • adaptive: Adaptive plugin configuration helpers.
  • codecs: Protocol definitions for request and response codecs used by nemo_relay.llm.
  • guardrails: Global guardrail registration for tools and LLMs.
  • integrations: Optional integrations for NeMo Relay.
    • deepagents: NeMo Relay integrations for Deep Agents.
      • callbacks: Deep Agents callback handler for NeMo Relay observability.
      • middleware: Deep Agents middleware for NeMo Relay observability.
    • langchain: NeMo Relay integrations for LangChain.
      • callbacks: LangChain callback handler that maps run hierarchy to NeMo Relay scopes.
      • middleware: LangChain AgentMiddleware implementation for NeMo Relay.
    • langgraph: NeMo Relay integrations for LangGraph.
      • callbacks: LangGraph callback handler that reuses the LangChain NeMo Relay integration.
  • intercepts: Global middleware intercept registration for tools and LLMs.
  • llm: LLM lifecycle helpers for non-streaming and streaming calls.
  • observability: Observability plugin configuration helpers.
  • plugin: Generic plugin configuration and registration helpers.
  • scope: Scope stack operations.
  • scope_local: Scope-local middleware and subscriber registration.
  • subscribers: Global event subscriber registration.
  • tools: Tool lifecycle helpers.
  • typed: Typed wrappers around the JSON-based NeMo Relay execution APIs.
  • utils