Skip to main content

rifft-langgraph

LangGraph adapter for Rifft. Zero-config tracing for LangGraph multi-agent pipelines — one import captures every node execution, inter-node handoff, and the full graph run.

Install

pip install rifft-sdk rifft-langgraph

Usage

Import the adapter anywhere before building your graph:

import rifft
import rifft.adapters.langgraph  # instruments StateGraph automatically

rifft.init(project_id="my-project", endpoint="http://localhost:4318")

from langgraph.graph import StateGraph, END
from typing import TypedDict

class State(TypedDict):
    query: str
    research: str
    output: str

def researcher(state: State) -> dict:
    return {"research": "..."}

def writer(state: State) -> dict:
    return {"output": "..."}

graph = StateGraph(State)
graph.add_node("researcher", researcher)
graph.add_node("writer", writer)
graph.add_edge("researcher", "writer")
graph.set_entry_point("researcher")

app = graph.compile()
result = app.invoke({"query": "what is rifft?"})
# Open http://localhost:3000 to see the trace

What gets traced

Event Rifft span
graph.invoke() / graph.ainvoke() langgraph.graph.invoke
Each node execution agent.execute with langgraph.node, input/output state
Node A → Node B handoff rifft.agent_to_agent with source_agent_id, target_agent_id, state payload

Metadata

Release files for rifft-langgraph 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 rifft-langgraph 0.1.0
File Size Uploaded Provenance Actions
rifft_langgraph-0.1.0.tar.gz 6.8 kB Without provenance Details for rifft_langgraph-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rifft-langgraph 0.1.0
File Interpreter ABI Platform Actions
rifft_langgraph-0.1.0-py3-none-any.whl Python 3 none any Details for rifft_langgraph-0.1.0-py3-none-any.whl

Total release size: 10.6 kB

Release files / rifft_langgraph-0.1.0.tar.gz

Download URL rifft_langgraph-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
93555ee7f10500fe375aa7b4afc3b5cd4d6dbb1a833cac14bb2c5bccd03483bc
BLAKE2b-256 checksum
How to use checksums
82432f85ca73585e2e7d6e5ec6d9cd1d379db8e9ccc30d5370e315d4103f8e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

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

Download URL rifft_langgraph-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47b4e857bc2722cbdf89a0eed14c3024188271f8ab207bfaee5814bc1db63ad8
BLAKE2b-256 checksum
How to use checksums
21ede5718b5d742bc939d42ce375805409e3bb3a641d21b0fcd59236b56b9c22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Security for rifft-langgraph 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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