Skip to main content

Documentation Index

Fetch the complete documentation index at: https://0xcaptain.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The agentbank-py package provides a Python client for interacting with the AgentBank V3 protocol on Mantle. It wraps vault, signal, intent, and attestation contracts using web3.py.

Install

pip install agentbank-py

Create a client

import os
from agentbank import AgentBankClient, Addresses

client = AgentBankClient(
    rpc_url="https://rpc.mantle.xyz",
    private_key=os.environ["PRIVATE_KEY"],   # omit for read-only
    addresses=Addresses(
        vault="0xC44C061D257Af305dEAea2eD093E878a615d856d",
        signal_board="0x2A46cF6493b377D45908254B0528e38990AA323f",
        intent_router="0x9582d2dF303ec2B1fab104A77E249C05571fccC9",
        tee_verifier="0x51E52dCBD0FBfaDaDB43ad1EB1Ea0d3A79f128c3",
    ),
    chain_id=5000,
)
Omit private_key for read-only mode. Write operations raise RuntimeError if no key is configured.

Available methods

GroupMethods
Vaultdeposit, withdraw, get_shares, get_tvl, get_apy
Analystregister_analyst, deregister_analyst, post_signal, get_reputation
Intentpost_intent, submit_bid, settle_auction, get_open_intents
Attestationverify_run, get_attested_run, is_verified, compute_run_id
See the Python client reference for full documentation.