Catalog PyPI
Back to packageRELEASE DETAILS

0.2.0

PyPI

actiongate-sdk

Python SDK scaffold for the ActionGate API and payment proxy.

Published28 Mar 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.2.0 documentation

actiongate-sdk

Python SDK for the ActionGate API.

Install

pip install actiongate-sdk

Custom Proxy Usage

Use proxy_call(tool_name, payload=None, method="POST", headers=None) to call a configured /proxy/:toolName route.

  • GET and DELETE encode payload as query parameters.
  • POST, PUT, and PATCH send payload as a JSON body.
  • headers lets you pass custom upstream headers for the proxy call.
from actiongate_sdk import ActionGateClient

client = ActionGateClient(base_url="https://api.actiongate.xyz")
result = client.proxy_call(
    "search_status",
    {"q": "hello world"},
    method="GET",
    headers={"Authorization": "Bearer upstream-secret"},
)

Methods

  • proxy_call(tool_name, payload=None, method="POST", headers=None)
  • risk_score(payload)
  • simulate(payload)
  • policy_gate(payload)

Example

from actiongate_sdk import ActionGateClient

client = ActionGateClient(base_url="https://api.actiongate.xyz")
result = client.risk_score({
    "actor": {"actor_id": "treasury-bot"},
    "action": {"action_type": "transfer", "network": "base", "asset_symbol": "USDC", "amount": "2500"},
})

x402 V2 Support

  • Sends PAYMENT-SIGNATURE when payment_signature is configured.
  • Parses PAYMENT-REQUIRED and PAYMENT-RESPONSE.
  • Exposes parsed metadata via ActionGateError and client.last_payment_response.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
actiongate_sdk-0.2.0-py3-none-any.whl

bdist_wheel · 5.64 KB · Python py3

Source file
actiongate_sdk-0.2.0.tar.gz

sdist · 6.52 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f0eedc0a72de7a25e40c1d0ff537dc05f6fd183540df52f3ff5de246d35bc59d

Other collected versions

View all collected versions →