Skip to main content

adk-neomundi

🟢 New here? Start with Getting Started — From Integration to Verifiable Evidence. It is the single source of truth for the whole path: exact versions, executable commands, measured outputs, the common errors — and 🔴 which steps are still blocked, and why.

Measure the model calls of a Google ADK agent with NeoMundi, over the OpenTelemetry spans ADK already emits.

🟢 Published on PyPI since 2026-11-28 — adk-neomundi · evidence level E2 since 2026-11-30: four real model calls, 4/4 re-read as persisted. ⚠ Read LIMITATIONS.md §1 before quoting any of it, and in particular that those four observations are not third-party verifiable today.

What it is, and what it is not

🔴 This package is deliberately thin. It is two ADK callbacks and a one-slot mailbox. The span processor, the Outcome, the parentage, the closed set of refusals, the deferred close and the model-to-tool join all live in otel-neomundi and are imported.

⚠ Why that matters: none of those pieces knows anything about Google. A copy of them in a package named adk-neomundi would make the next host pay for it twice.

Install

pip install adk-neomundi

🟢 Published on PyPI since 2026-11-28 — adk-neomundi. The two conditions this page used to list are met: otel-neomundi 0.2.0 is published, and the Private :: Do Not Upload classifier was removed in its activation commit.

⚠ This section said « Install: you cannot, yet » until 2026-11-30, two days after the package reached the index — while the manifest beside it already said published_on: pypi. 🔴 A page that tells a reader to go away is the most expensive kind of stale documentation, and check_conformance.py could not catch it: it refuses a copyable pip install when the manifest says published_on: none, and never the reverse.

🔴 pip install does not ship examples/, notebooks/ or evidence/. Measured on 2026-12-01 against the eight published wheels: each ships its package and its metadata, and none carries those directories. They live in the repository — integrations/adk/ — so every path this page states relative to them is a repository path, not a file your install contains.

Use

⚠ A wiring sketch, not a runnable program. Measured on a bare pip install adk-neomundi: it raises NameError on LlmAgent, which the page does not import, and on validate_address, which is your own tool. The block that runs as published is just below, and the fuller example is examples/measure_an_agent.py — 🔴 in the repository, not in the wheel.

from opentelemetry.sdk.trace import TracerProvider
from otel_neomundi import NeoMundiSpanProcessor, join
from adk_neomundi import callbacks

provider = TracerProvider()
# Start here: submit=False needs no key and opens no socket.
processor = NeoMundiSpanProcessor(submit=False, tracer_provider=provider)
provider.add_span_processor(processor)

before, after, mailbox = callbacks(processor)

agent = LlmAgent(
    name="validator",
    model="gemini-3.5-flash-lite",
    tools=[validate_address],
    before_model_callback=before,
    after_model_callback=after,
)

Runnable as published — no key, no provider, no network

🟢 Needs nothing but pip install adk-neomundi. 🔴 And it produces no observation — deliberately. There is no key-free path that yields an Outcome here: that needs a real model turn behind a real ADK agent, which is a billed call and a decision. What this block establishes is the wiring, and it prints its state.

⚠ turns refused is the number to watch later: non-zero means model turns ran unmeasured, because a previous interaction was still pending.

from opentelemetry.sdk.trace import TracerProvider
from otel_neomundi import NeoMundiSpanProcessor

from adk_neomundi import callbacks

tracer_provider = TracerProvider()
# submit=False needs no key and opens no socket.
processor = NeoMundiSpanProcessor(submit=False, tracer_provider=tracer_provider)
tracer_provider.add_span_processor(processor)

before, after, mailbox = callbacks(processor)

print("callbacks ready  :", callable(before) and callable(after))
print("mailbox empty    :", not mailbox.pending)
print("turns refused    :", mailbox.refused)
print("outcomes so far  :", len(processor.outcomes))
print()
print("Wire them onto your agent, then read processor.outcomes after the run:")
print("    agent = LlmAgent(..., before_model_callback=before,")
print("                          after_model_callback=after)")

It prints exactly this:

callbacks ready  : True
mailbox empty    : True
turns refused    : 0
outcomes so far  : 0

Wire them onto your agent, then read processor.outcomes after the run:
    agent = LlmAgent(..., before_model_callback=before,
                          after_model_callback=after)

Where a real key comes from

Ask for one at https://neomundi.io/contact-us/ — verified reachable, and the only route this page states. ⚠ It is not a claim that no other route exists; it is the one we can point you to today.

🟢 You do not need one to evaluate this package. The offline test suite needs no credential, and the evidence committed in evidence/ can be checked without an account.

The Outcome arrives on processor.outcomes after ADK ends its model span, which is later than the end of any callback -- that is the whole reason close_on_model_span=True exists.

Reading the tool result the model consumed

for outcome in processor.outcomes:
    verdict = join(spans, trace_id=outcome.trace_id, model_span_id=outcome.span_id)
    if verdict.joined:
        print(verdict.tool_name, verdict.result)
    else:
        print("refused:", verdict.refusal)  # never a guess

🔴 This needs OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=SPAN_ONLY. ⚠ And that switch puts tool content on spans: if your tool handles personal data, so does your telemetry. Decide it on purpose.

⚠ The value true does NOT work for this. It resolves to EVENT_ONLY -- content on the log record, not on the span. Reported upstream: google/adk-python#8432.

What it refuses to do

  • submit a token count read from a span -- only the one the provider returned;
  • measure a second model call while one is pending: the mailbox refuses, and mailbox.refused counts it. ⚠ Read that number: non-zero means turns ran unmeasured;
  • defer an interaction in which the application raised;
  • guess which tool result a model call consumed when several are candidates.

Before you draw a conclusion

Read LIMITATIONS.md. Evidence level is E2: twenty-three offline tests, plus 4 real model calls of a real ADK agent, submitted and 4/4 re-read as persisted on 2026-11-30 under measurement_version 3.5.0. Proof: evidence/.

🔴 What E2 does not mean. Four observations are a qualification record, not a sample: they establish that the layer measures what it claims, and nothing about model behaviour. ⚠ Not E3 — nobody outside the team has reproduced it.

Metadata

Release files for adk-neomundi 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adk-neomundi 0.1.1
File Size Uploaded Provenance Actions
adk_neomundi-0.1.1.tar.gz 28.6 kB With provenance Details for adk_neomundi-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adk-neomundi 0.1.1
File Interpreter ABI Platform Actions
adk_neomundi-0.1.1-py3-none-any.whl Python 3 none any Details for adk_neomundi-0.1.1-py3-none-any.whl

Total release size: 36.7 kB

Release files / adk_neomundi-0.1.1.tar.gz

Download URL adk_neomundi-0.1.1.tar.gz
Size 28.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3243f7b29b8b02880f766721318e6a580deda39b7167750d0b358dca6b5bb275
BLAKE2b-256 checksum
How to use checksums
b980f095a73d4be08f0031013cb953cea9c2d3ef7a6d14a390dce9d9dc8ec2ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / adk_neomundi-0.1.1-py3-none-any.whl

Download URL adk_neomundi-0.1.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bd07d04bc4c8c017841b2b8a6885abb2fe7cd25b756d1aa5775809a2fe05fee
BLAKE2b-256 checksum
How to use checksums
57af30b414a9fc039e34d17cbcf7fe2e1618f091ad8b950132cbe16493688d9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for adk-neomundi 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for adk_neomundi-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page