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

Built distribution (wheel)

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

Total release size: 4.0 kB

Release files / zizkadb_langchain-0.1.1.tar.gz

Download URL zizkadb_langchain-0.1.1.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5cdd08d0b53df13dc91a40127fd54432d308e629b58ed371619c3374c596df
BLAKE2b-256 checksum
How to use checksums
c83d138aa152294d684451cb6494b723c933e96e058342ee8059017a81ecf7d6
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.1-py3-none-any.whl

Download URL zizkadb_langchain-0.1.1-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a4deb8763dc07ed112379bab1970a2c6bd7a48e0eeceb456559dfdc82786ae5
BLAKE2b-256 checksum
How to use checksums
665df5ac9aa0affc976296cf2f76a27e0766d9810e8fd3dcab9f5e5cd34c08d8
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

0.1.2

2 release files

This release

0.1.1 This release

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