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.3.0.tar.gz (25.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.3.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aigentsy_langgraph-0.3.0.tar.gz
  • Upload date:
  • Size: 25.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.3.0.tar.gz
Algorithm Hash digest
SHA256 5e72c08217c9200e32035db84fe0640c1c493f767e14b7c437877b2c1bbac249
MD5 d26a1a110f137a9a4b54ff7b261905f2
BLAKE2b-256 2f3a4fd40b39a9121aaa82460da9a47264a398208c380e6d57afc0aad4c40e74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aigentsy_langgraph-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6128e172cff39846ead9bc54aabb9a813e524cf8c4fa7ee18c532ed574a7e5ec
MD5 a6eee98ec8131e1b351f61485877a385
BLAKE2b-256 55e051e7aef2f3f18df8681198e6807e8f601d17e1cba23577d0ae2a21be3987

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