LangChain / LangGraph
Setup
from kyvvu import Kyvvu
from kyvvu.schemas import Environment, RiskClassification
from kyvvu.integrations.langchain import KyvvuLangChainHandler
kv = Kyvvu(
api_key="KvKey-...",
api_url="https://platform.kyvvu.com",
agent_key="finance-agent",
environment=Environment.DEVELOPMENT,
risk_classification=RiskClassification.LIMITED,
)
kv.register_agent(
name="Finance Agent",
purpose="Stock ticker lookup and portfolio analysis for internal use",
metadata={"framework": "langchain", "tools": ["search"]},
)
handler = KyvvuLangChainHandler(kv)
result = agent.invoke(query, config={"callbacks": [handler]})Callback event mapping
LangChain callback
Kyvvu step_type
Verb
Notes
Nested chain resolution
Block propagation
Task lifecycle
Custom templates for LangChain
LangGraph-specific notes
Parallel tool calls within a step
Integration status
Framework
Status
Notes
Next steps
Last updated
