Skip to main content

Concept

AutoGPT and similar autonomous agents loop over tasks and call tools. l402-kit wraps any paid API as a callable tool — the agent pays, retries, and continues without human intervention.

Install

L402Client as an AutoGPT-compatible command

System prompt addition

Add to your AutoGPT agent’s system prompt:

Full autonomous loop example

Budget tracking

See Budget Control for advanced session limits and Wallet Quickstart to get a wallet.