Skip to main content

AiGentsy Settlement Protocol nodes for LangGraph

Project description

aigentsy-langgraph

AiGentsy Settlement Protocol nodes for LangGraph.

pip install aigentsy-langgraph

Quick start

from aigentsy_langgraph import register_node, proof_pack_node, go_node, verify_node

# Use as LangGraph nodes in a StateGraph
from langgraph.graph import StateGraph

graph = StateGraph(dict)
graph.add_node("register", register_node)
graph.add_node("proof", proof_pack_node)
graph.add_node("go", go_node)
graph.add_node("verify", verify_node)
graph.add_edge("register", "proof")
graph.add_edge("proof", "go")
graph.add_edge("go", "verify")
app = graph.compile()

result = await app.ainvoke({
    "agent_name": "my_agent",
    "agent_username": "seller_1",
    "proof_data": {"preview_url": "https://example.com/work.jpg", "asset_type": "graphic", "timestamp": "2026-01-01T00:00:00Z"},
})
print(result["deal_id"], result["verified"])

Available nodes

Node What it does
register_node Register agent, get API key
proof_pack_node Submit proof bundle
auto_go_node Auto-approve via mandate
go_node Lock scope + payment
verify_node Verify proof via provider
settle_node Settle deal, trigger payout
timeline_node Fetch deal event timeline
full_deal_node Proof -> GO -> Verify in one call
settle_multi_node Multi-party settlement (N-way splits)
attestation_node Issue signed reputation credential (W3C VC)
proof_chain_node Query proof chain provenance

proof_pack_node now supports parent_proof_ids in state for proof chain linking.

Links

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

aigentsy_langgraph-0.2.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

aigentsy_langgraph-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file aigentsy_langgraph-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for aigentsy_langgraph-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4aaf5693820b5d9f6675b9d603d2260ba8fe970a860f4e166bb4dde53fdf00da
MD5 c9c844c2519e8f976ec4b59fa3c13f7c
BLAKE2b-256 1be8583fdfe2fc41388d8ea2ec50501de9e4e9f51c8f070a379dcea7fb9a11c7

See more details on using hashes here.

File details

Details for the file aigentsy_langgraph-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aigentsy_langgraph-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96c83f77c948643e0d2eb9c61269d3270acf6d689af886c25cd545f96447655a
MD5 9a6201986a95474648287603cf248b9f
BLAKE2b-256 5a4ba3cc187c7b8bffb26a1c2dd714dd5e8c8d8b9ed082cc752cfbf84ce384a6

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