Skip to main content

iagent-stack

Unified Python SDK for the iJarvis Agent Stack. Four products shipping in 2026; eleven more on a three-year roadmap. One SDK, one pip install, one authentication surface.

Install

pip install iagent-stack

Optional extras:

pip install iagent-stack[x402]   # enable x402 V2 autopay (EVM + Solana)
pip install iagent-stack[mcp]    # native MCP server wrapper helpers
pip install iagent-stack[dev]    # pytest, ruff, mypy for contributors

Product availability

The SDK exposes all 15 product clients today, but only Cluster 1 endpoints serve live traffic in 2026. Calling a roadmap product returns ProductNotAvailableError until its endpoint launches. Code written now against the full SDK continues to work as roadmap products ship.

Attribute Product Capability Status
stack.trust iAgentFi ratings & trust bureau Shipping 2026 (v1 live, v2 in build)
stack.ref iAgentRef agent discovery Shipping 2026 (Q2)
stack.log iAgentLog observability Shipping 2026 (Q2-Q3)
stack.pay iAgentPay x402 treasury Shipping 2026 (Q3, anchor)
stack.compute iJarvis Compute boutique inference Shipping 2026 (Q3)
stack.hub iAgentHub gateway / billing SDK built pre-publish; hosted gateway 2027
stack.safe iAgentSafe runtime guardrails Roadmap 2027
stack.memory iAgentMemory persistent memory Roadmap 2027
stack.edge iAgentEdge on-prem appliance Roadmap 2027 (hardware)
stack.farm iAgentFarm agent hosting Roadmap 2027 (hardware)
stack.sim iAgentSim adversarial simulation Roadmap 2028
stack.id_ iAgentID verifiable credentials Roadmap 2028
stack.market iAgentMarket capability marketplace Roadmap 2028
stack.foundry iAgentFoundry fine-tuning Roadmap 2028 (hardware)
stack.law iAgentLaw legal & liability Parked pending anchor partner

iAgentGrid is private compute infrastructure running behind every stack product. It has no public API surface by design and is not exposed as a client.

Quickstart

from iagent_stack import Stack

stack = Stack()  # reads IAGENT_API_KEY from env

# Cluster 1 products (live 2026):
rating  = await stack.trust.rating("base", "0xabc...")
results = await stack.ref.search("agents that do onchain research")
tx      = await stack.pay.send(to="agent.eth", amount_usd=0.05)
models  = await stack.compute.models()

# Roadmap products exist in the SDK today but raise ProductNotAvailableError
# until their endpoints launch. Code against them now; the call succeeds the
# day the endpoint ships.

Configuration

Most setups work with just an API key. For more control:

from iagent_stack import Stack, Config

config = Config(
    api_key="iah_live_...",
    hub_base_url="https://api.hub.ijarvis.ai/v1",  # or None for direct-to-product
    x402_autopay=True,
    x402_network="base-mainnet",
    x402_wallet_private_key="0x...",
    x402_per_call_cap_usd=0.25,
    a2a_enabled=True,
    a2a_agent_id="did:web:my-agent.example",
)
stack = Stack(config=config)

Environment variables (read by Config.from_env()):

  • IAGENT_API_KEY
  • IAGENT_HUB_BASE_URL
  • IAGENT_X402_AUTOPAY (1/true)
  • IAGENT_X402_NETWORK
  • IAGENT_X402_WALLET_PRIVATE_KEY
  • IAGENT_X402_PER_CALL_CAP_USD
  • IAGENT_A2A_AGENT_ID

x402 V2 autopay

When x402_autopay=True, HTTP 402 responses from any product are automatically signed and retried on the configured network. A per-call USD cap (x402_per_call_cap_usd) prevents runaway agents. Signing requires the [x402] extra.

Standards compliance

  • ERC-8004 v1 — agent identity + reputation + validation registries (mainnet Jan 29, 2026)
  • x402 V2 — HTTP-native payments with reusable sessions and multi-chain settlement
  • A2A 0.3.0 — Agent-to-Agent protocol (Linux Foundation)
  • MCP 2025-06-18 — Model Context Protocol (Anthropic)
  • OASF 0.8 — Open Agent Schema Framework
  • AP2 v1 — Google Agent Payments Protocol
  • ERC-8183 (draft) — agentic commerce standard

Lifecycle

Stack owns an async HTTP pool. Use it as an async context manager or call close() on shutdown:

async with Stack() as stack:
    health = await stack.health()
    print(health)   # {'trust': True, 'ref': True, ...}

Development

git clone https://github.com/iJarvis/iagent-stack
cd iagent-stack/sdk/python
pip install -e ".[dev]"
pytest

License

Apache-2.0. Copyright iJarvis LLC.

Metadata

Release files for iagent-stack 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 iagent-stack 0.1.0
File Size Uploaded Provenance
iagent_stack-0.1.0.tar.gz 25.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for iagent-stack 0.1.0
File Interpreter ABI Platform
iagent_stack-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.7 kB

Release files / iagent_stack-0.1.0.tar.gz

Download URL iagent_stack-0.1.0.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3368a712cac13e061010a30489c8d8bda34e1c25ff3467d76f2303fb3110a0b1
BLAKE2b-256 checksum
How to use checksums
b6ddc26d789b9e6cf1d81d4521f65c0af3f717750e2f457ec011162e91cc521c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

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

Download URL iagent_stack-0.1.0-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eae6ad7d9ca47bee03779bc51aa7f78cce8ca1a943dc8c451ce991d3de57800a
BLAKE2b-256 checksum
How to use checksums
8fdeadf709bffb17d05faa344f5cb9f4e6bf4c847643e824e6bb72a6dd48d230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for iagent-stack 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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 No 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