MagnivOrg/prompt-layer-library
A Python library for logging, versioning, and monitoring prompts and API requests to OpenAI and Claude models.

Velocity · 7d
+0.6
★ / day
Trend
→steady
star history
PromptLayer is a library for tracking and managing prompts across LLM applications. It provides version control for prompt templates, logging of API requests, and debugging tools to replay old completions. The library integrates with OpenAI and Anthropic Claude, offering optional extras for agent frameworks. It supports both sync and async clients for Python applications.