callm: a Python library adding retries, caching, budgets and guardrails around native LLM SDKs

MassiveFinish3510 · reddit · 2026-09-16

A Reddit user released callm (v0.1.0), an open-source Python library that wraps existing OpenAI/Anthropic/Google SDK calls with a decorator instead of replacing them, providing in-process production safeguards without deploying a gateway.

Features include:

The author acknowledges overlap with LiteLLM, Instructor, Guardrails AI and Tenacity+caching, but positions callm as keeping native SDK calls intact. The suite has 274 tests across Python 3.10–3.13 on Linux/macOS/Windows using real SDKs with mocked HTTP.

Original post →

More from coding & agent

coding & agent channel →