Skip to main content Switch to mobile version autonomo 0.1.3 One call for AI agents: find the right paid API on Autonomo, pay in USDG or $AUTONOMO on Robinhood Chain or USDC on Base (privately through Gloam, or on Borro credit), within spending caps, and get a receipt.
pip install autonomo==0.1.3 Copy PIP instructions
One call for AI agents. Say what you need, and the SDK:
Finds the right API on Autonomo, from your words and the kind of input you give (a token or wallet address, a transaction hash, a link).
Pays for it with x402, in USDG or $AUTONOMO on Robinhood Chain, or USDC on Base, whichever the wallet can afford.
Pays privately through Gloam when you ask, so the payment doesn't link to your wallet.
Borrows from a Borro credit line when the wallet is short of USDG.
Keeps to your caps: a most-per-call and a daily budget, checked before anything is signed.
Returns the answer and a receipt: which API, how it was paid, the amount and the transaction link.
pip install autonomo-sdk The same package is also on PyPI as autonomo. Either way, you import it as autonomo.
Full examples for each way to pay: autonomo.fun/docs/sdk.
import os from autonomo import Autonomo autonomo = Autonomo(private_key=os.environ["AUTONOMO_WALLET_KEY"]) result = autonomo.call("is this token safe", input="0x86b57bcb9d249cf096cf8e21426c9dc9cafdec49") print(result.data) print(result.receipt.route, result.receipt.amount, result.receipt.token, result.receipt.explorer) Use a new wallet just for the agent, holding only what it may spend. A little USDG covers many calls (most APIs cost 0.01 USDG). Paying in $AUTONOMO needs a little ETH once, for a Permit2 approval.
Finding APIs without paying
autonomo = Autonomo() # no key needed to look autonomo.find("wallet holdings") # best matches first autonomo.quote("explain this transaction", input="0x…") # the API, the URL and every price To skip the search, name the API: autonomo.call(slug="token-risk", path="/risk/0x…").
To see what the wallet can pay with, autonomo.balances() returns what it holds on both chains: USDG, $AUTONOMO and ETH on Robinhood Chain, and USDC on Base. It only reads.
Autonomo( private_key=..., pay_with="auto", # or "usdg" / "autonomo" / "usdc" (USDC on Base) per_call={"usdg": "0.5", "autonomo": "5000"}, # the defaults daily={"usdg": "5", "autonomo": "10000"}, # per UTC day; Gloam and Borro count as USDG ) A call over a limit is refused before anything is signed, with the reason. Spending is kept in ~/.autonomo/spend.json (shared with the TypeScript SDK); pass spend_store=MemoryStore() or your own store to change that.
Private payments with Gloam
private=True pays from a private Gloam balance through Gloam's own MCP server, @gloamtrade/mcp, running on your machine with its key and limits in ~/.gloam/agent.env. The SDK calls its gloam_fetch_paid tool; Gloam cashes out exactly the price through its relay and calls the API with it. The SDK holds no Gloam keys, and no wallet key is needed. See the SDK guide for the setup and a full example (it uses pip install mcp).
def fetch_paid(args): # runs gloam_fetch_paid on an MCP session with @gloamtrade/mcp call = gloam.call_tool("gloam_fetch_paid", args, read_timeout_seconds=timedelta(minutes=5)) # can take minutes out = asyncio.run_coroutine_threadsafe(call, loop).result() return json.loads(out.content[0].text) autonomo = Autonomo(gloam_fetch_paid=fetch_paid) autonomo.call("newest launches", private=True) A private call only ever pays through Gloam. If the API doesn't offer it, or Gloam isn't set up, it's refused, never sent as a public payment. The price includes Gloam's cash-out fee (about 0.0105 USDG for a 0.01 call).
Borrowing with Borro
autonomo = Autonomo(private_key=..., borro_account="0xYourCreditLine") When the wallet can't afford a call, the SDK asks Borro's MCP server to prepare a borrow of just what it's short, sends it from the wallet (this needs a little ETH for gas), waits for the USDG and pays. The line needs x402 bills turned on; see Pay with a Borro credit line. Borro's own daily limit still applies.
Borro's answer is checked before anything is signed. The SDK sends only one transaction: a borrow on your own credit line, into this wallet, with no ETH attached, of no more than the call's price. Anything else in the answer, such as a transfer, an approval or a second transaction, is refused with borro_unsafe and nothing is sent. The call's price is still checked against your caps first.
Errors are AutonomoError with a code such as cannot_pay, over_limit, no_private_option or payment_refused. If an API fails after a payment is signed, the payment doesn't settle, so you aren't charged.
Released: Nov 28, 2026
MIT View SPDX License List
ai-agents autonomo borro gloam payments robinhood-chain usdg x402
Release files for autonomo 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 35.7 kB
Release files / autonomo-0.1.3.tar.gz
Release files / autonomo-0.1.3-py3-none-any.whl
Security for autonomo 0.1.3
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.
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
Nov 28, 2026 2 release files No provenance
Nov 24, 2026 2 release files No provenance
Nov 14, 2026 2 release files No provenance
Nov 8, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











