Skip to content

Sign your app's users in with Proofable, let them talk to your agent, and let your app pay - #16

Merged
chrisjleal merged 1 commit into
mainfrom
feat/sign-in-and-public-agents
Nov 4, 2026
Merged

chrisjleal merged 1 commit into
mainfrom
feat/sign-in-and-public-agents

Conversation

@chrisjleal

Copy link
Copy Markdown
Contributor

ProofableSignIn wraps the sign-in every MCP host uses, for a web app: register the callback once, send the person to Proofable, exchange the code, refresh. client.me() says who signed in. agentChat with agentWallet runs someone else's public agent in the caller's own profile. client.sponsorApp() and proofable sponsor turn app sponsorship on once; a client built with appId and billingWallet then takes the app's sponsor grant (scope agent-chat) for every turn, so the app's owner pays within the daily cap and the person is never charged in its place.

Version 0.1.12. Tests: 232 pass. Lint clean.

… and let your app pay

ProofableSignIn wraps the sign-in every MCP host uses for a web app: register the callback once, send the person to Proofable, exchange the code, refresh. It asks for the person's profile, nothing more. client.me() says who signed in. agentChat with agentWallet runs someone else's public agent in the caller's own profile. client.sponsorApp() and the proofable sponsor command turn app sponsorship on once; a client with appId and billingWallet then takes the app's sponsor grant (scope agent-chat) for every turn, so the app's owner pays within the daily cap and the person is never charged in its place. Grant requests name the app's origin in X-Client-Origin as well as Origin. 0.1.12.
@chrisjleal
chrisjleal force-pushed the feat/sign-in-and-public-agents branch from e577a1a to ab85e09 Compare November 4, 2026 04:08
@chrisjleal
chrisjleal merged commit e2b8aec into main Nov 4, 2026
1 check passed
@chrisjleal
chrisjleal deleted the feat/sign-in-and-public-agents branch November 4, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant