Skip to main content

zizkadb-langchain

PyPI: zizkadb-langchain 0.1.1

LangChain AsyncCallbackHandler that logs LLM and tool steps to ZizkaDB with parent_id lineage.

pip install zizkadb-sdk zizkadb-langchain langchain-openai
from langchain_openai import ChatOpenAI
from langchain_core.messages import HumanMessage
from zizkadb import ZizkaDB
from zizkadb_langchain import ZizkaDBCallbackHandler

async with ZizkaDB("zizkadb_live_...") as db:
    handler = ZizkaDBCallbackHandler(db, agent="my-bot")
    llm = ChatOpenAI(model="gpt-4o-mini")
    await llm.ainvoke([HumanMessage(content="Hello")], config={"callbacks": [handler]})
    (await db.why(handler.last_event_id)).print()

Monorepo dev install:

pip install -e sdk/python -e integrations/langchain

Metadata

Release files for zizkadb-langchain 0.1.2

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

Source distribution (sdist)

Source distribution for zizkadb-langchain 0.1.2
File Size Uploaded
zizkadb_langchain-0.1.2.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zizkadb-langchain 0.1.2
File Interpreter ABI Platform
zizkadb_langchain-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 kB

Release files / zizkadb_langchain-0.1.2.tar.gz

Download URL zizkadb_langchain-0.1.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
58569ba0cf6ae0d83b18b43eab59d73a54a668e46df1537e7e45af7abd652a06
BLAKE2b-256 checksum
How to use checksums
ca9c46262cf9b2a125b6dc57e1e01e561d27d184bcce3d17bfa1f3a7b49de791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / zizkadb_langchain-0.1.2-py3-none-any.whl

Download URL zizkadb_langchain-0.1.2-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
969705c2a1e59637e6aac3c87cf80f676298d492d801f959d990642406917dd5
BLAKE2b-256 checksum
How to use checksums
0786ccccdf5119cda4b2a18ae2ba6582b751dcdc85ff10c736a4de2fea16edeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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