$npx skillfedfor your agent

nemo-relay

Python bindings for the NeMo Relay agent runtime.

With conditionsPyPI Artificial IntelligenceReleased Aug 2026626.6K downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — nemo_relay-0.7.3-cp311-abi3-macosx_11_0_arm64.whl · nemo_relay-0.7.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl · nemo_relay-0.7.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v0.7.3 · released 2026-08-14 · Python >=3.11

Yes, if you are building Python agents and need structured execution scopes, middleware, or observability without a framework rewrite. The package is actively maintained, supports current Python versions, has no known vulnerabilities, and carries a permissive license. Install friction is medium due to compiled wheels, but pre-built binaries are available for common platforms. Start with the base package and add optional integrations (langchain, langgraph) only if you use those frameworks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; subscriber event delivery is asynchronous, so flush() must be called before reading output or exiting.
  • Medium install friction due to compiled wheels; actively maintained with release on 2026-08-14 and 121 repository stars.
  • Supports current Python versions (3.11, 3.12, 3.13) across multiple platforms (macOS, Linux, Windows, including ARM architectures).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 121 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 626,569 downloads/mo, #5,688 on PyPI

Verify before relying

import nemo_relay

def on_event(event):
    print(f"{event.kind} {event.name}")

nemo_relay.subscribers.register("printer", on_event)
with nemo_relay.scope.scope("demo-agent", nemo_relay.ScopeType.Agent) as handle:
    nemo_relay.scope.event("initialized", handle=handle, data={"binding": "python"})
nemo_relay.subscribers.flush()
  • Whether optional integrations (langchain, langgraph, deepagents) are pre-installed or require separate installation steps beyond the extras syntax.
  • Performance characteristics and latency overhead of the Rust runtime wrapper for high-throughput agent workloads.
  • Compatibility guarantees with specific versions of LangChain, LangGraph, or other framework dependencies listed in extras.
Same gist for agents: .md · .json

What it is and what it does

nemo-relay is a Python binding for a portable agent runtime written in Rust, designed to give Python applications structured execution contexts for agent, tool, and LLM work. It provides scope trees, middleware for guardrails and request rewriting, lifecycle event streams, and observability hooks—all aligned with the same runtime semantics used by the Rust and Node.js versions of the library.

The package is built for teams that need to add agent instrumentation and policy enforcement to existing Python frameworks without a full framework migration. It exposes public modules for scope management, tool and LLM helpers, middleware APIs, subscribers and exporters (including OpenTelemetry), and optional integrations with LangChain, LangGraph, and Deep Agents. Event delivery is asynchronous, and the runtime supports serialization to JSON and ATIF (Agent Trajectory Interchange Format) for downstream observability systems.

Use it for

  • Wrap LangChain or LangGraph agent callbacks with guardrails and observability without rewriting the orchestration layer.
  • Emit structured lifecycle events (scope creation, tool calls, LLM requests) to OpenTelemetry or custom subscribers for monitoring and compliance.
  • Intercept and rewrite tool or LLM requests at runtime to enforce policies, sanitize payloads, or inject context.
  • Group agent and tool execution into a scope tree from Python code to track causality and ownership across concurrent work.
  • Integrate agent observability into existing Python applications while maintaining the same runtime semantics across Rust, Node.js, and Python codebases.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building Python agents and need structured execution scopes, middleware, or observability without a framework rewrite.

The package is actively maintained, supports current Python versions, has no known vulnerabilities, and carries a permissive license. Install friction is medium due to compiled wheels, but pre-built binaries are available for common platforms. Start with the base package and add optional integrations (langchain, langgraph) only if you use those frameworks.

Install

nemo-relay on PyPI

Before you install

Medium install friction due to compiled wheels; actively maintained with release on 2026-08-14 and 121 repository stars. Supports current Python versions (3.11, 3.12, 3.13) across multiple platforms (macOS, Linux, Windows, including ARM architectures).

Requires Python 3.11 or later; subscriber event delivery is asynchronous, so flush() must be called before reading output or exiting.

License in practice

Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required.

Quickstart

import nemo_relay

def on_event(event):
    print(f"{event.kind} {event.name}")

nemo_relay.subscribers.register("printer", on_event)
with nemo_relay.scope.scope("demo-agent", nemo_relay.ScopeType.Agent) as handle:
    nemo_relay.scope.event("initialized", handle=handle, data={"binding": "python"})
nemo_relay.subscribers.flush()

Verify before relying

  • Whether optional integrations (langchain, langgraph, deepagents) are pre-installed or require separate installation steps beyond the extras syntax.
  • Performance characteristics and latency overhead of the Rust runtime wrapper for high-throughput agent workloads.
  • Compatibility guarantees with specific versions of LangChain, LangGraph, or other framework dependencies listed in extras.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads626,569 / month, #5,688 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Rust

Evidence: nemo_relay-0.7.3-cp311-abi3-macosx_11_0_arm64.whl; nemo_relay-0.7.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; nemo_relay-0.7.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; nemo_relay-0.7.3-cp311-abi3-musllinux_1_2_aarch64.whl; nemo_relay-0.7.3-cp311-abi3-musllinux_1_2_x86_64.whl; nemo_relay-0.7.3-cp311-abi3-win_amd64.whl; nemo_relay-0.7.3-cp311-abi3-win_arm64.whl

Tags

Capabilities
agent runtime pythonllm execution scope managementmiddleware for tool callsobservability agent frameworkagent lifecycle eventspython agent instrumentationllm call guardrails
Topics
agent-runtimeobservabilitymiddleware
PyPI keywords
agentsaillmmiddlewarenemo-relayobservabilityruntimetools

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “agent runtime python”

  • nemo-relaynemo-relay wraps a shared Rust runtime to give Python applications an…
  • baml-pybaml-py is the Python runtime for executing BAML programs, a language…
  • agnoAgno is a framework and runtime for building, deploying, and managing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also nvidia-nat-langchain · nvidia-nat-opentelemetry · nvidia-nat-eval · nvidia-nat-atif · nvidia-nat-core · fabricatio · nemoguardrails · nvidia-nat-mcp · conductor-python · nemo-gym