Catalog PyPI
PACKAGE EXPLORERView in registry

agentads-nat

PyPI

AgentAds monetization plugin for NVIDIA NeMo Agent Toolkit

adsagent-toolkitagentadsai-agentsmonetizationnemonvidia
Versions collected1
Direct dependencies6From release 0.1.0
Last observed20 Oct, 21:27 UTC

README

Version 0.1.0 documentation

agentads-nat

Monetize AI agents built on NVIDIA NeMo Agent Toolkit with contextual ads. One line to integrate. Never blocks your agent (50ms timeout).

Install

pip install agentads-nat

With NeMo Agent Toolkit support:

pip install agentads-nat[nat]

Quick Start

With NeMo Agent Toolkit

Add to your workflow config:

functions:
  monetize:
    _type: agentads_monetize
    publisher_api_key: ${AGENTADS_API_KEY}
    format: suffix        # suffix | citation | followup
    timeout_ms: 50        # never blocks your agent

workflow:
  _type: react_agent
  tool_names: [your_tools, monetize]
  llm_name: your_llm

Run:

export AGENTADS_API_KEY=pub_xxx
nat run --config_file config.yaml --input "What CRM should I use?"

Standalone (any Python agent)

from agentads_nat import AgentAdsConfig, monetize_output

config = AgentAdsConfig(publisher_api_key="pub_xxx")

# Your agent produces a response
response = await my_agent(query)

# One line to monetize
result = await monetize_output(config, response, query=query)

Middleware wrapper

from agentads_nat import AgentAdsConfig, AgentAdsMiddleware

config = AgentAdsConfig(publisher_api_key="pub_xxx")
middleware = AgentAdsMiddleware(config)

# Wrap any async function
monetized_agent = middleware.wrap(my_agent)
result = await monetized_agent("What CRM should I use?")

Ad Formats

FormatRendering
suffix (default)--- separator + italic ad below response
citationBlockquote with Sponsored label
followupItalic sponsored suggestion

OpenShell Policy

If running inside NVIDIA OpenShell, apply the included network policy:

openshell policy set agentads --policy policies/agentads.yaml --wait

This allows only POST /v1/bid to api.tryagentads.com.

How It Works

  1. Your agent generates a response normally
  2. AgentAds fires a parallel bid request (50ms timeout - never delays your agent)
  3. If an ad fills, it's appended to the response in your chosen format
  4. If no fill or timeout, the response passes through unchanged

No latency impact. No data leaves beyond the query/response excerpt (500/300 chars max).

Configuration

OptionDefaultDescription
publisher_api_keyrequiredYour key from tryagentads.com
formatsuffixAd rendering format
api_urlhttps://api.tryagentads.comAPI endpoint
timeout_ms50Bid timeout (ms)
disabledfalseKill switch for ads
session_idnullSession ID for frequency capping

Get Your API Key

Sign up at tryagentads.com to get a publisher API key.

Downloads & popularity

2downloads
1-day window · source-reported counts20 Oct 2026
73.50
2026-07-23: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-07-23–2026-07-232026-07-24: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-07-24–2026-07-242026-07-27: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-07-27–2026-07-272026-07-30: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-07-30–2026-07-302026-08-02: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-02–2026-08-022026-08-04: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-04–2026-08-042026-08-09: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-09–2026-08-092026-08-12: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-12–2026-08-122026-08-14: 6 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-14–2026-08-142026-08-17: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-17–2026-08-172026-08-23: 3 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-23–2026-08-232026-08-24: 7 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-24–2026-08-242026-08-28: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-28–2026-08-282026-08-31: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-08-31–2026-08-312026-09-01: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-01–2026-09-012026-09-07: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-07–2026-09-072026-09-10: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-10–2026-09-102026-09-12: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-12–2026-09-122026-09-14: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-14–2026-09-142026-09-15: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-15–2026-09-152026-09-16: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-16–2026-09-162026-09-20: 4 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-20–2026-09-202026-09-22: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-22–2026-09-222026-09-23: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-23–2026-09-232026-09-26: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-26–2026-09-262026-09-27: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-27–2026-09-272026-09-30: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-09-30–2026-09-302026-10-02: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-02–2026-10-022026-10-06: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-06–2026-10-062026-10-09: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-09–2026-10-092026-10-12: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-12–2026-10-122026-10-13: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-13–2026-10-132026-10-14: 3 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-14–2026-10-142026-10-15: 3 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-15–2026-10-152026-10-16: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-16–2026-10-162026-10-17: 7 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-17–2026-10-172026-10-18: 3 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-18–2026-10-182026-10-19: 1 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-19–2026-10-192026-10-20: 2 · observed 2026-10-21T13:41:51.4835807Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 39 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-2022026-10-21T13:41:51.4835807Z
2026-10-19 – 2026-10-1912026-10-21T13:41:51.4835807Z
2026-10-18 – 2026-10-1832026-10-21T13:41:51.4835807Z
2026-10-17 – 2026-10-1772026-10-21T13:41:51.4835807Z
2026-10-16 – 2026-10-1622026-10-21T13:41:51.4835807Z
2026-10-15 – 2026-10-1532026-10-21T13:41:51.4835807Z
2026-10-14 – 2026-10-1432026-10-21T13:41:51.4835807Z
2026-10-13 – 2026-10-1312026-10-21T13:41:51.4835807Z
2026-10-12 – 2026-10-1222026-10-21T13:41:51.4835807Z
2026-10-09 – 2026-10-0922026-10-21T13:41:51.4835807Z
2026-10-06 – 2026-10-0622026-10-21T13:41:51.4835807Z
2026-10-02 – 2026-10-0212026-10-21T13:41:51.4835807Z
2026-09-30 – 2026-09-3012026-10-21T13:41:51.4835807Z
2026-09-27 – 2026-09-2722026-10-21T13:41:51.4835807Z
2026-09-26 – 2026-09-2612026-10-21T13:41:51.4835807Z
2026-09-23 – 2026-09-2312026-10-21T13:41:51.4835807Z
2026-09-22 – 2026-09-2212026-10-21T13:41:51.4835807Z
2026-09-20 – 2026-09-2042026-10-21T13:41:51.4835807Z
2026-09-16 – 2026-09-1612026-10-21T13:41:51.4835807Z
2026-09-15 – 2026-09-1512026-10-21T13:41:51.4835807Z
2026-09-14 – 2026-09-1422026-10-21T13:41:51.4835807Z
2026-09-12 – 2026-09-1212026-10-21T13:41:51.4835807Z
2026-09-10 – 2026-09-1012026-10-21T13:41:51.4835807Z
2026-09-07 – 2026-09-0712026-10-21T13:41:51.4835807Z
2026-09-01 – 2026-09-0112026-10-21T13:41:51.4835807Z
2026-08-31 – 2026-08-3122026-10-21T13:41:51.4835807Z
2026-08-28 – 2026-08-2812026-10-21T13:41:51.4835807Z
2026-08-24 – 2026-08-2472026-10-21T13:41:51.4835807Z
2026-08-23 – 2026-08-2332026-10-21T13:41:51.4835807Z
2026-08-17 – 2026-08-1722026-10-21T13:41:51.4835807Z
2026-08-14 – 2026-08-1462026-10-21T13:41:51.4835807Z
2026-08-12 – 2026-08-1212026-10-21T13:41:51.4835807Z
2026-08-09 – 2026-08-0912026-10-21T13:41:51.4835807Z
2026-08-04 – 2026-08-0422026-10-21T13:41:51.4835807Z
2026-08-02 – 2026-08-0212026-10-21T13:41:51.4835807Z
2026-07-30 – 2026-07-3012026-10-21T13:41:51.4835807Z
2026-07-27 – 2026-07-2722026-10-21T13:41:51.4835807Z
2026-07-24 – 2026-07-2412026-10-21T13:41:51.4835807Z
2026-07-23 – 2026-07-2322026-10-21T13:41:51.4835807Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.022 Mar 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xshortx/agentads-nat

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:27 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:29fe398e7dcd931ce843f04aedd76595ece7cd635178f6bc62c84238699f84dd