AssetFare Session Capability Token
A non-custodial smolagents agent tool — local-only session capability token generator (no network).
smolagentstoolnon-custodialcross-chain
This Space hosts an agent tool (tool.py), meant to be loaded
by an agent — not run as a web app. Local-only: generate ONE caller-owned high-entropy AssetFare session capability token (>=256-bit CSPRNG, url-safe, 43-128 chars). Makes NO network call, touches no wallet, and returns nothing about AssetFare's remote state. Store the returned token as a SENSITIVE bearer capability (never a private key; it cannot move funds); pass it into assetfare_session_create and every session read/observe/refr
AssetFare never signs or submits; this tool never receives a private key and fails
closed on any response that claims the server will sign or submit.
tool.py first):
from smolagents import load_tool
tool = load_tool(
"odaiin/assetfare-new-session-capability",
trust_remote_code=True, # runs the reviewed tool code in your process
revision="96b2e49b9ae7ed8366ca07ebd1c06a96f1b5a7d3", # reviewed immutable Space revision
)
Tool name: assetfare_new_session_capability. Does not execute, bridge, swap,
sign, or move funds — any transfer is a separate caller wallet action taken after
explicit approval. Review the
source and tests and the
AssetFare agent integration guide.