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:
conversation_id/session_id/group_idthread_id- 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->openaiclaude-->anthropicgemini-->gemini- fallback
custom
Troubleshooting
- Reuse stable workflow/session IDs to keep conversation grouping stable.
- Keep
capture_inputs/capture_outputsenabled while validating mappings. - Call
client.flush()at checkpoints andclient.shutdown()on exit.
Metadata
Release files for agento11y-llamaindex 0.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agento11y_llamaindex-0.16.0.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agento11y_llamaindex-0.16.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 kB
Release files / agento11y_llamaindex-0.16.0.tar.gz
| Download URL | agento11y_llamaindex-0.16.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fdb73a2b4fcd34d9153348adbe188104b60d48e5fdc8316475ced69aa8ee425
|
|
BLAKE2b-256 checksum How to use checksums |
6000d72bd30a95833a9333eba6049ad63eb98a0b0f47a58ec1f17988d1c6a9e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Aug 18, 2026.
Transparency logRelease files / agento11y_llamaindex-0.16.0-py3-none-any.whl
| Download URL | agento11y_llamaindex-0.16.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
077f9f88c63729b0f4df00b334f35806b51d391e6a5d1ecb5747c8b4d3850f82
|
|
BLAKE2b-256 checksum How to use checksums |
0608a25aecde0dc640fc53a5286e666ede36eca77d4049aeb0badf6cb03a942a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Aug 18, 2026.
Transparency log