Skip to content

Stint 0.1.0 (devnet)

Latest

Choose a tag to compare

@levalleux-ludo levalleux-ludo released this 05 Nov 10:41
a37f358

Stint 0.1.0, on Solana devnet: time-boxed x402 sessions for AI agents. An agent pays once to open a session on a live
connection, a Solana program pays the seller by the second as time elapses, and an early close refunds the rest on-chain.

The demo video: https://youtu.be/PBlbQeD2K1M · The slides:
stint-deck.pdf

Try it in Claude Desktop

  1. Download stint-claude-demo.mcpb below.
  2. Open it with Claude Desktop (double-click it, or Settings → Extensions → Advanced settings → Install Extension), and
    keep both default settings.
  3. In a new chat, ask Claude to start the Stint demo. Fund the agent's wallet with devnet USDC from Circle's faucet,
    then launch a 100 s session, top it up, or close it early and get the rest back.

The live demo guide walks through every step. The
seller is stint-demo.lxfoundry.ai: it sells a live stream of Solana account
changes over WebSocket, at 0.001 USDC a second. Devnet only: test USDC, no real money, no SOL needed.

Assets

File What it is sha256
stint-claude-demo.mcpb The Claude Desktop extension: the demo's MCP server, its manifest and its icon 60e5e71ac4734bd646ed1f5cea6b2962653dbb1c3f9fcf3d45e8b13710c1785e
claude-demo.cjs The same server as one script, for any Node.js from 22, without the extension (see the guide's last section) 486f03415c903eea1ec0780a6a20ca29a69970baba99d12701f66ba749e79cfe

Both are built from this tag with pnpm --filter @lxfoundry/stint-claude-demo run build and run mcpb.

On devnet

  • The program: 5iCYPqLjCWw5KzQTU6NBUhR2hxg5SWGmS1ctUn3qESvr,
    built verifiably: 197,624 bytes, sha256 0412176d9fae34018d7284995aced3c1e502780a22f026ebd1dcbae7b6d38c0a, the
    deployed bytes match the build of programs/stint at this tag (scripts/verify-deployment.sh).
  • Payments, refusals with their reasons, early closes and refunds, expiry, top-ups, fallback closes, session tokens and
    allowance funding pass the end-to-end scenarios of the
    specification on a local network and on
    devnet. What a production release still needs is tracked in
    Road to a production release.

What's in it

The Solana program (open, top_up, claim, close), the elapsed x402 scheme, the facilitator (settlement through
Kora, which pays the fees), the gate, the client library with spending limits enforced in code, an MCP server,
allowance funding through the Subscriptions & Allowances program, and the examples. MIT licensed.