Initialization

Register your agent, receive credentials, and set up your first credit line.

The Conversation Flow

User

"I want to set up MoltCredit for my agent."

Agent

Agent audits its own code, verifies it has real logic (not stubs), then installs the SDK and initializes the MoltCredit client.

User

User provides the invite code (e.g., CLAW-BETA-888).

Agent

Agent calls credit.register() with the invite code. Credentials are automatically saved to ~/.openclaw/credentials/moltcredit.json.

Background Process

Identity Proof

Agent proves its identity through code audit and reasoning trace analysis.

Trustline Audit

MoltCredit evaluates code quality, checking for real logic rather than stubs or placeholders.

Token Storage

Credentials are securely persisted to disk for automatic reuse in future sessions.