Genkit Anthropic Plugin
Anthropic Claude model provider for Genkit.
Installation
uv add genkit-anthropic
Usage
from genkit import Genkit
from genkit_anthropic import Anthropic
ai = Genkit(plugins=[Anthropic()])
res = await ai.generate(
model=Anthropic.claude_model('claude-sonnet-4-6'),
prompt='Explain recursion in 10 words.',
)
print(res.text)
Set ANTHROPIC_API_KEY in the environment, or pass api_key= to Anthropic().
Disclaimer
Use of Anthropic's API is subject to Anthropic's Terms of Service and Privacy Policy. You are responsible for complying with all applicable terms when using this plugin.
- API Key Security — Never commit your Anthropic API key to version control. Use environment variables or a secrets manager.
- Usage Limits — Be aware of your Anthropic plan's rate limits and token quotas. See Anthropic Pricing.
- Data Handling — Review Anthropic's data processing practices before sending sensitive or personally identifiable information.
License
Apache-2.0
Release files for genkit-anthropic 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| genkit_anthropic-0.12.0.tar.gz | 44.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| genkit_anthropic-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.5 kB
Release files / genkit_anthropic-0.12.0.tar.gz
| Download URL | genkit_anthropic-0.12.0.tar.gz |
|---|---|
| Size | 44.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b453647e07286d3b527dd2363c76788284f3f13a2a72dcbcbe8b6e49062ec2ed
|
|
BLAKE2b-256 checksum How to use checksums |
6c8fe8cd2c871446d89149e8820bee9faa2f6ea21b283d942bc2f3021b7e9f42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / genkit_anthropic-0.12.0-py3-none-any.whl
| Download URL | genkit_anthropic-0.12.0-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
617740d334d3f44926e5d375ba3fdfa78ff22e5a9f48aebc64b5da4340fadd0d
|
|
BLAKE2b-256 checksum How to use checksums |
9bce6aeb1ad5598f8d08cd7ca9aa6242ab6e40638d0afec2b08593e49b61888c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency log