Skip to main content

zizkadb-langchain

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.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 zizkadb-langchain 0.1.0
File Size Uploaded
zizkadb_langchain-0.1.0.tar.gz 1.7 kB Details

Built distribution (wheel)

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

Total release size: 3.9 kB

Release files / zizkadb_langchain-0.1.0.tar.gz

Download URL zizkadb_langchain-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6f941f8a0ff98b1d8691bb429d3206de46c74f6d03549db08ddf9d63c01b4979
BLAKE2b-256 checksum
How to use checksums
f58f27371a960462dd765e1811f4faa9d59ef3315702842f040b14a0ae6dd57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

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

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

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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