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

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.1.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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aigentsy_langgraph-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 214ed2ea91fb18ad0fd0a1226de8d9f622df2ed61427fc7ebb57699fe31f2219
MD5 d7383426d0bf350919a744be9f4d1270
BLAKE2b-256 e686781616af76a2012fb44585b6c04e573a60a35920a2eb1e2d999f4b0b3043

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aigentsy_langgraph-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 284710f047d6153f17d5b39f2e1797dabac6396a7a3af066767158b98fc7dc55
MD5 8bb65166bdbebc2544a4baebc7d831b1
BLAKE2b-256 34b135779eca305d05e755d34c7fede38a0ffdb4ba38d15317cfc0b2577d6275

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