call4agents
Call4Agents is a safety guard library for Python AI agents, designed to prevent agents from re-executing already-approved actions (such as payments, sending emails, bookings, etc.) after a crash, retry, or recovery. By recording intents and results, binding approvals to exact parameters, and providing mechanisms such as undo and idempotency keys, it ensures that each approved action is executed at most once. The library has no dependencies, can be integrated with frameworks such as LangGraph, Pydantic AI, OpenAI Agents SDK, and MCP, and provides command-line tools for testing an agent's crash safety.