Skip to main content

Agent Observability Python Framework Module: LlamaIndex

agento11y-llamaindex provides callback handlers that map LlamaIndex workflow/agent events into agento11y generation recorder lifecycles.

Installation

pip install agento11y agento11y-llamaindex
pip install llama-index

Quickstart

from agento11y import Client
from agento11y_llamaindex import with_agento11y_llamaindex_callbacks

client = Client()
config = with_agento11y_llamaindex_callbacks(None, client=client, provider_resolver="auto")
# query_engine = index.as_query_engine(callback_manager=config["callback_manager"])

Native callback manager wiring

from agento11y import Client
from agento11y_llamaindex import with_agento11y_llamaindex_callbacks

client = Client()
config = with_agento11y_llamaindex_callbacks(None, client=client, provider_resolver="auto")
# query_engine = index.as_query_engine(callback_manager=config["callback_manager"])

Conversation mapping

Conversation ID precedence:

  1. conversation_id / session_id / group_id
  2. thread_id
  3. fallback agento11y:framework:llamaindex:<run_id>

Metadata and lineage

  • Required: agento11y.framework.run_type
  • Optional lineage: agento11y.framework.run_id, agento11y.framework.thread_id, agento11y.framework.parent_run_id, agento11y.framework.component_name, agento11y.framework.retry_attempt, agento11y.framework.event_id

Provider resolver

Model prefix inference:

  • gpt-/o1/o3/o4 -> openai
  • claude- -> anthropic
  • gemini- -> gemini
  • fallback custom

Troubleshooting

  • Reuse stable workflow/session IDs to keep conversation grouping stable.
  • Keep capture_inputs/capture_outputs enabled while validating mappings.
  • Call client.flush() at checkpoints and client.shutdown() on exit.

Metadata

Release files for agento11y-llamaindex 0.23.0

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

Source distribution (sdist)

Source distribution for agento11y-llamaindex 0.23.0
File Size Uploaded Provenance Actions
agento11y_llamaindex-0.23.0.tar.gz 10.0 kB With provenance Details for agento11y_llamaindex-0.23.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agento11y-llamaindex 0.23.0
File Interpreter ABI Platform Actions
agento11y_llamaindex-0.23.0-py3-none-any.whl Python 3 none any Details for agento11y_llamaindex-0.23.0-py3-none-any.whl

Total release size: 17.7 kB

Release files / agento11y_llamaindex-0.23.0.tar.gz

Download URL agento11y_llamaindex-0.23.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
abd8da4dca51e7653b5b5689738fd48b9ad0b85eb0b7693469e7b2020c0ee048
BLAKE2b-256 checksum
How to use checksums
cdfb41c3f1f5989fa08082b15e3df230c0aa331377617f01f96b0f01eed3833b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Nov 16, 2026.

Transparency log

Release files / agento11y_llamaindex-0.23.0-py3-none-any.whl

Download URL agento11y_llamaindex-0.23.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5da2c13efed04853d68d96c56219358d6a735aee57ca56d9d92f39a66ab66c66
BLAKE2b-256 checksum
How to use checksums
74c3fcf4daaccaf1fa90ea3ee5fbc50f5e973283426a02a93417b0d55f43440d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Nov 16, 2026.

Transparency log

Security for agento11y-llamaindex 0.23.0

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 agento11y_llamaindex-0.23.0.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 Nov 16, 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.

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