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 of work
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

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.1.0.tar.gz (4.7 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.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aigentsy_langgraph-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 569ba6c9864b3f2b1a3118fbbc007fde20c2c4b790157d60bfd1c50266c246f8
MD5 b09ad47aeebb9e81f6c3a51f139baa4d
BLAKE2b-256 15ab33de80cfe2c75bfc6a831d9ac2ba3b6804f691017be5eda1eee8e79c8b3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aigentsy_langgraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e394cedd0e339a1757aaed7487f9c31f0ec64f010108e8e104b055e650a8b1
MD5 18c7da0708eea00177c53c1574d7a22d
BLAKE2b-256 4448557dd235838807df0125af7b6cb93d7ae0c68f85a790c8315d6377442a34

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