Skip to main content

Hipp0 integration for LangGraph — checkpoint saver and context injection.

Project description

hipp0-langgraph

Hipp0 integration for LangGraph - persistent decision memory and checkpointing for LangGraph agents.

Installation

pip install hipp0-langgraph

Usage

Checkpointer

from hipp0_sdk import Hipp0Client
from hipp0_langgraph import Hipp0Checkpointer
from langgraph.graph import StateGraph

client = Hipp0Client(base_url="http://localhost:3100")
checkpointer = Hipp0Checkpointer(
    client=client,
    project_id="your-project-id",
    agent_name="orchestrator",
)

graph = StateGraph(MyState)
# ... add nodes / edges ...
app = graph.compile(checkpointer=checkpointer)

Context Injection

from hipp0_langgraph import inject_hipp0_context

def my_node(state):
    context = inject_hipp0_context(
        client=client,
        project_id="your-project-id",
        agent_name="builder",
        task_description=state["task"],
    )
    # Use context in your agent's system message
    return {"context": context, **state}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hipp0_langgraph-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hipp0_langgraph-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file hipp0_langgraph-0.1.0.tar.gz.

File metadata

  • Download URL: hipp0_langgraph-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for hipp0_langgraph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d19dc07ac9ffb33f508a62f944567de1bd1a97fa16409211eec575b5fb53d0c5
MD5 ef8c211145249c91c75dfeee8dd7e113
BLAKE2b-256 acea6ad5398cb1845b375ace9190e909edf273f3547cbf4d9fef190c626b5f62

See more details on using hashes here.

File details

Details for the file hipp0_langgraph-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hipp0_langgraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97a75dcefd0c8021419912b05f37bd353ce83a6f859eab74024b44e91d889c9b
MD5 c62294f96518ad6421a587d31f809ff4
BLAKE2b-256 ce7da21ed54d0ddb3a4a92ae9e2b51855621dab0b7a7e3b654f9303336a6b548

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page