Integrate with Anthropic
========================
.. note::
**Problem-solving guide for Anthropic integration**
This guide helps you solve specific problems when integrating HoneyHive with Anthropic, with support for multiple instrumentor options.
This guide covers Anthropic integration with HoneyHive's BYOI architecture, supporting both OpenInference and Traceloop instrumentors.
Compatibility
-------------
**Problem**: I need to know if my Python version and Anthropic SDK version are compatible with HoneyHive.
**Solution**: Check the compatibility information below before installation.
Python Version Support
^^^^^^^^^^^^^^^^^^^^^^
.. list-table::
:header-rows: 1
:widths: 30 70
* - Support Level
- Python Versions
* - Fully Supported
- 3.11, 3.12, 3.13
* - Not Supported
- 3.10 and below
Provider SDK Requirements
^^^^^^^^^^^^^^^^^^^^^^^^^
- **Minimum**: anthropic >= 0.17.0
- **Recommended**: anthropic >= 0.21.0
- **Tested Versions**: 0.21.0, 0.22.0, 0.23.0
Instrumentor Compatibility
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. list-table::
:header-rows: 1
:widths: 30 20 50
* - Instrumentor
- Status
- Notes
* - OpenInference
- Fully Supported
- Full Claude 3 family support with streaming and vision
* - Traceloop
- Fully Supported
- Enhanced metrics with Claude-specific cost tracking
Known Limitations
^^^^^^^^^^^^^^^^^
- **Streaming**: Partial support - requires manual context management for proper traces
- **Vision API**: Supported for Claude 3 models, traced automatically
- **Tool Use**: Fully supported with both instrumentors
- **Message Batching**: Not yet supported by instrumentors, use manual tracing
.. note::
For the complete compatibility matrix across all providers, see :doc:`/how-to/integrations/multi-provider`.
Choose Your Instrumentor
------------------------
**Problem**: I need to choose between OpenInference and Traceloop for Anthropic integration.
**Solution**: Choose the instrumentor that best fits your needs:
- **OpenInference**: Open-source, lightweight, great for getting started
- **Traceloop**: Enhanced LLM metrics, cost tracking, production optimizations
.. raw:: html