agentmeter-ai and imports as agentmeter.
Initialize
endpoint for self-hosted deployments. Omit it for AgentMeter Cloud.
Auto-instrumentation
Importingagentmeter patches supported provider clients in the host process. Current coverage:
- OpenAI.
- Anthropic.
customer_id, and step_name when a tracking context is active.
Tracking context
track_context uses Python context variables so metadata follows async work without manual argument threading.
Non-LLM usage
Budget hard stops
Webhook verification
sha256= prefixed signatures.