laudec: A Claude Code TUI Wrapper

Anthropic has updated its billing policy, further stifling the ability for people to use their Claude Max subscriptions in angetic workflows.

Starting June 15, 2026, the usage of the Claude Agent SDK and claude -p will no longer count toward one's Claude Pro or Max usage limits. Rather, accounts will receive a fixed credit in API queries, after which, usage will be metered and charged extra.

What is laudec?

laudec is a Python wrapper around the interactive Claude Code TUI. You hand it a prompt, it runs claude in the background, and prints back the answer. Under the hood, it runs a standard Claude Code session in a pseudo-terminal, and has the TUI answer back through a named pipe. This doesn't use scraping of stdout, but rather tells claude to run a command with the prompt output.

Options

laudec supports a few useful options

  • -m, --model <name>: sonnet (default), opushaiku
  • --effort <level>: lowmedium (default), highxhighmax

Full list of options is available on the GitHub repo.

Note that this is a temporary workaround, and not a permanent solution. Anthropic is likely to continue to clamp down on non-human usage of Claude subscriptions. Whoever need to implement this in their workflows this is likely on borrowed time.