Skip to main content

invar402-agentkit (Python)

PyPI

Coinbase AgentKit (Python) action provider for Invar402.

This package never holds a wallet, API key, or facilitator secret, and it never pays automatically. The AgentKit wallet is not used to settle Invar402 payments. Paid /verify is settled only if you pass both pay_with_x402=True and a host-provided x402_fetch wrapper.

Website: https://invar402.com Network: Base (eip155:8453) Paid lookup: $0.002 USDC

Install

pip install invar402-agentkit

Until the package is on PyPI:

git clone https://github.com/dumeinao441-ux/invar402-mcp.git
pip install ./invar402-mcp/packages/agentkit-py

Usage

from coinbase_agentkit import AgentKit, AgentKitConfig
from invar402_agentkit import invar402_action_provider

agent_kit = AgentKit(AgentKitConfig(
    action_providers=[invar402_action_provider()],
))

Ask the agent: "Recommend an x402 service for bitcoin mempool fees, then run a coarse check."

Opt-in payment

invar402_action_provider(
    pay_with_x402=True,
    x402_fetch=paid_fetch,  # host-provided x402 wrapper; never a raw private key
)

Actions

Free: invar402_search, invar402_recommend, invar402_preview, invar402_leaderboard, invar402_check, invar402_trial.

Unpaid by default: invar402_verify. The AgentKit wallet is never used to pay or to sign the trial.

License

MIT.

Note on coinbase-agentkit

coinbase-agentkit 0.7.4 imports solana.rpc.api, which was removed in later solana releases. If import coinbase_agentkit fails with that error, install a compatible extra: pip install 'solana>=0.36.6,<0.37'. This is an upstream install issue, not part of the Invar402 client.

Metadata

Release files for invar402-agentkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invar402-agentkit 0.1.0
File Size Uploaded Provenance Actions
invar402_agentkit-0.1.0.tar.gz 8.3 kB With provenance Details for invar402_agentkit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invar402-agentkit 0.1.0
File Interpreter ABI Platform Actions
invar402_agentkit-0.1.0-py3-none-any.whl Python 3 none any Details for invar402_agentkit-0.1.0-py3-none-any.whl

Total release size: 16.7 kB

Release files / invar402_agentkit-0.1.0.tar.gz

Download URL invar402_agentkit-0.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aa28d7b0b2c23e6ccd83b83516d0f8b7f816b876678b8a0450a2a681708d01a4
BLAKE2b-256 checksum
How to use checksums
6b3dc89b08d19c2f655bfbca59d295b0023ee841ea6f3a967760c683b043ca45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / invar402_agentkit-0.1.0-py3-none-any.whl

Download URL invar402_agentkit-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7e5e9d585c8f0fe65ee36a8733b1a4f43b33325db82da1ff762d8fd8042c273
BLAKE2b-256 checksum
How to use checksums
edc0d13ecfcb72f26a9655abcddbee55c70093d2775364eefb7ab3908dc2d6af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for invar402-agentkit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for invar402_agentkit-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page